diff options
author | jca <jca@openbsd.org> | 2016-06-27 16:33:48 +0000 |
---|---|---|
committer | jca <jca@openbsd.org> | 2016-06-27 16:33:48 +0000 |
commit | e5ff19c718a7f8106479296f9aa531519e06c0f7 (patch) | |
tree | a8406b130934aefbbbf578535e9a3edc45b4d969 /sys/netinet6/in6.h | |
parent | Copy inp_hops from the listening socket to the accepted one and use (diff) | |
download | wireguard-openbsd-e5ff19c718a7f8106479296f9aa531519e06c0f7.tar.xz wireguard-openbsd-e5ff19c718a7f8106479296f9aa531519e06c0f7.zip |
Implement IPV6_MINHOPCOUNT support.
Useful to implement GTSM support in daemons such as bgpd(8). Diff from
2013 revived by renato@. Input from bluhm@, ok bluhm@ deraadt@
Diffstat (limited to 'sys/netinet6/in6.h')
-rw-r--r-- | sys/netinet6/in6.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h index dc72a346da8..8ba57fecae5 100644 --- a/sys/netinet6/in6.h +++ b/sys/netinet6/in6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in6.h,v 1.89 2016/06/01 11:11:44 jca Exp $ */ +/* $OpenBSD: in6.h,v 1.90 2016/06/27 16:33:48 jca Exp $ */ /* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */ /* @@ -346,6 +346,7 @@ struct route_in6 { #define IPV6_PIPEX 63 /* bool; using PIPEX */ #define IPV6_RECVDSTPORT 64 /* bool; receive IP dst port w/dgram */ +#define IPV6_MINHOPCOUNT 65 /* int; minimum recv hop limit */ #define IPV6_RTABLE 0x1021 /* int; routing table, see SO_RTABLE */ |