Date: Tue, 27 Jul 2021 15:03:22 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b9d984e2c5dc - main - LinuxKPI: add nexthdr definitions for IPv6 Message-ID: <202107271503.16RF3MC6035972@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=b9d984e2c5dcef277c49a576ccefada6519d9b53 commit b9d984e2c5dcef277c49a576ccefada6519d9b53 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2021-07-27 13:39:15 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2021-07-27 15:00:21 +0000 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 --- sys/compat/linuxkpi/common/include/net/ipv6.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/net/ipv6.h b/sys/compat/linuxkpi/common/include/net/ipv6.h index 37c30ed6e793..dfe77ef1c6ed 100644 --- a/sys/compat/linuxkpi/common/include/net/ipv6.h +++ b/sys/compat/linuxkpi/common/include/net/ipv6.h @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107271503.16RF3MC6035972>