diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 1999-12-12 12:10:44 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 1999-12-12 12:10:44 +0000 |
commit | dd99647fa035ed7d34bb776beb49df43a0e56079 (patch) | |
tree | 28b189485b02f04de2daf707316454b19538bd92 /sys/netinet/in_pcb.h | |
parent | b359fedfb05c5a7bd03431a64fe7dc1aa6859f1b (diff) |
make it easier to synchronize INP_xx flags and IN6P_xx flags.
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r-- | sys/netinet/in_pcb.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 819fc5a594f..36a9ffbfcb7 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.h,v 1.18 1999/12/08 06:50:19 itojun Exp $ */ +/* $OpenBSD: in_pcb.h,v 1.19 1999/12/12 12:10:43 itojun Exp $ */ /* $NetBSD: in_pcb.h,v 1.14 1996/02/13 23:42:00 christos Exp $ */ /* @@ -185,19 +185,19 @@ struct inpcbtable { #if 1 /*KAME*/ /* flags in in6p_flags */ -#define IN6P_RECVOPTS 0x01 /* receive incoming IP6 options */ -#define IN6P_RECVRETOPTS 0x02 /* receive IP6 options for reply */ -#define IN6P_RECVDSTADDR 0x04 /* receive IP6 dst address */ -#define IN6P_HIGHPORT 0x10 /* user wants "high" port binding */ -#define IN6P_LOWPORT 0x20 /* user wants "low" port binding */ -#define IN6P_ANONPORT 0x40 /* port chosen for user */ -#define IN6P_FAITH 0x80 /* accept FAITH'ed connections */ -#define IN6P_PKTINFO 0x010000 -#define IN6P_HOPLIMIT 0x020000 -#define IN6P_NEXTHOP 0x040000 -#define IN6P_HOPOPTS 0x080000 -#define IN6P_DSTOPTS 0x100000 -#define IN6P_RTHDR 0x200000 +#define IN6P_RECVOPTS INP_RECVOPTS /* receive incoming IP6 options */ +#define IN6P_RECVRETOPTS INP_RECVRETOPTS /* receive IP6 options for reply */ +#define IN6P_RECVDSTADDR INP_RECVDSTADDR /* receive IP6 dst address */ +#define IN6P_HIGHPORT INP_HIGHPORT /* user wants "high" port binding */ +#define IN6P_LOWPORT INP_LOWPORT /* user wants "low" port binding */ +#define IN6P_ANONPORT 0x40 /* port chosen for user */ +#define IN6P_FAITH 0x80 /* accept FAITH'ed connections */ +#define IN6P_PKTINFO 0x010000 +#define IN6P_HOPLIMIT 0x020000 +#define IN6P_NEXTHOP 0x040000 +#define IN6P_HOPOPTS 0x080000 +#define IN6P_DSTOPTS 0x100000 +#define IN6P_RTHDR 0x200000 #define IN6P_CONTROLOPTS (0x3f0000 | IN6P_RECVOPTS | IN6P_RECVRETOPTS | IN6P_RECVDSTADDR) #endif |