mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
LinuxKPI: add nexthdr definitions for IPv6
Add the nexthdr definitions for IPv6 which are used by wireless drivers and were previously placed in an 80211 header file by accident. Obtained from: bz_iwlwifi Sponsored by: The FreeBSD Foundation Reviewed by: hselasky MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D31321
This commit is contained in:
parent
366d68f283
commit
b9d984e2c5
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@
|
|||
|
||||
#define IPV6_DEFAULT_HOPLIMIT 64
|
||||
|
||||
#define NEXTHDR_HOP IPPROTO_HOPOPTS
|
||||
#define NEXTHDR_ROUTING IPPROTO_ROUTING
|
||||
#define NEXTHDR_NONE IPPROTO_NONE
|
||||
#define NEXTHDR_DEST IPPROTO_DSTOPTS
|
||||
|
||||
#define ipv6_addr_loopback(addr) IN6_IS_ADDR_LOOPBACK(addr)
|
||||
#define ipv6_addr_any(addr) IN6_IS_ADDR_UNSPECIFIED(addr)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue