Remove unused 'struct route' fields.

This commit is contained in:
Alexander V. Chernikov 2014-11-09 16:15:28 +00:00
parent 89cbe4e288
commit a458ad86ee
2 changed files with 0 additions and 4 deletions

View File

@ -66,14 +66,12 @@ enum {
*/ */
struct _ip6dn_args { struct _ip6dn_args {
struct ip6_pktopts *opt_or; struct ip6_pktopts *opt_or;
struct route_in6 ro_or;
int flags_or; int flags_or;
struct ip6_moptions *im6o_or; struct ip6_moptions *im6o_or;
struct ifnet *origifp_or; struct ifnet *origifp_or;
struct ifnet *ifp_or; struct ifnet *ifp_or;
struct sockaddr_in6 dst_or; struct sockaddr_in6 dst_or;
u_long mtu_or; u_long mtu_or;
struct route_in6 ro_pmtu_or;
}; };

View File

@ -140,14 +140,12 @@ struct pf_send_entry {
PFSE_ICMP6, PFSE_ICMP6,
} pfse_type; } pfse_type;
union { union {
struct route ro;
struct { struct {
int type; int type;
int code; int code;
int mtu; int mtu;
} icmpopts; } icmpopts;
} u; } u;
#define pfse_ro u.ro
#define pfse_icmp_type u.icmpopts.type #define pfse_icmp_type u.icmpopts.type
#define pfse_icmp_code u.icmpopts.code #define pfse_icmp_code u.icmpopts.code
#define pfse_icmp_mtu u.icmpopts.mtu #define pfse_icmp_mtu u.icmpopts.mtu