diff options
author | 1999-12-12 12:10:43 +0000 | |
---|---|---|
committer | 1999-12-12 12:10:43 +0000 | |
commit | 04b025ad2c83e5bf5a5d551da6826474be0dfce6 (patch) | |
tree | 28c002edb68d0810b7811af565baadc9737dc4a7 | |
parent | route6d now works fine (because of udp socket advanced API fix) (diff) | |
download | wireguard-openbsd-04b025ad2c83e5bf5a5d551da6826474be0dfce6.tar.xz wireguard-openbsd-04b025ad2c83e5bf5a5d551da6826474be0dfce6.zip |
make it easier to synchronize INP_xx flags and IN6P_xx flags.
-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 |