From 68664643996fc90639c7795689159ad46e07ccaf Mon Sep 17 00:00:00 2001 From: dyoung Date: Tue, 3 May 2011 23:57:41 +0000 Subject: [PATCH] Remove #ifdef INET6 throughout. --- sys/netinet/tcp_vtw.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/netinet/tcp_vtw.h b/sys/netinet/tcp_vtw.h index b6c5fb111744..4cc5d21f4840 100644 --- a/sys/netinet/tcp_vtw.h +++ b/sys/netinet/tcp_vtw.h @@ -360,21 +360,17 @@ void vtw_del(vtw_ctl_t *, vtw_t *); int vtw_lookup_v4(const struct ip *ip, const struct tcphdr *th, uint32_t faddr, uint16_t fport, uint32_t laddr, uint16_t lport); -#ifdef INET6 struct ip6_hdr; struct in6_addr; int vtw_lookup_v6(const struct ip6_hdr *ip, const struct tcphdr *th, const struct in6_addr *faddr, uint16_t fport, const struct in6_addr *laddr, uint16_t lport); -#endif typedef struct vestigial_inpcb { union { struct in_addr v4; -#ifdef INET6 struct in6_addr v6; -#endif } faddr, laddr; uint16_t fport, lport; uint32_t valid : 1; @@ -401,9 +397,7 @@ typedef struct sin_either { uint16_t sin_port; union { struct in_addr v4; -#ifdef INET6 struct in6_addr v6; -#endif } sin_addr; } sin_either_t;