Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Remove #ifdef INET6 throughout.
details: https://anonhg.NetBSD.org/src/rev/481027f81c68
branches: trunk
changeset: 764779:481027f81c68
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue May 03 23:57:41 2011 +0000
description:
Remove #ifdef INET6 throughout.
diffstat:
sys/netinet/tcp_vtw.h | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diffs (35 lines):
diff -r 5c26cd0b4cbc -r 481027f81c68 sys/netinet/tcp_vtw.h
--- a/sys/netinet/tcp_vtw.h Tue May 03 23:36:26 2011 +0000
+++ b/sys/netinet/tcp_vtw.h Tue May 03 23:57:41 2011 +0000
@@ -360,21 +360,17 @@
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 @@
uint16_t sin_port;
union {
struct in_addr v4;
-#ifdef INET6
struct in6_addr v6;
-#endif
} sin_addr;
} sin_either_t;
Home |
Main Index |
Thread Index |
Old Index