git: 7ecc03c76fa6 - stable/13 - netlink: add AF_NETLINK / PF_NETLINK definitions

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Fri, 13 Jan 2023 21:25:43 UTC
The branch stable/13 has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=7ecc03c76fa6bed47f0ce32dcd1edb37f8422df4

commit 7ecc03c76fa6bed47f0ce32dcd1edb37f8422df4
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2022-08-12 13:45:49 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-01-13 21:24:11 +0000

    netlink: add AF_NETLINK / PF_NETLINK definitions
    
    Reviewed by:    glebius
    Differential Revision: https://reviews.freebsd.org/D36174
    MFC after:      1 weeks
    
    (cherry picked from commit a4b8c6d9d50ec03f490587854ec82c9790193f46)
---
 sys/sys/socket.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index de7a874b3079..3ec0d3b1d06d 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -264,6 +264,7 @@ struct accept_filter_arg {
 #define	AF_ARP		35
 #define	AF_BLUETOOTH	36		/* Bluetooth sockets */
 #define	AF_IEEE80211	37		/* IEEE 802.11 protocol */
+#define	AF_NETLINK	38		/* Netlink protocol */
 #define	AF_INET_SDP	40		/* OFED Socket Direct Protocol ipv4 */
 #define	AF_INET6_SDP	42		/* OFED Socket Direct Protocol ipv6 */
 #define	AF_HYPERV	43		/* HyperV sockets */
@@ -389,6 +390,7 @@ struct sockproto {
 #define	PF_ARP		AF_ARP
 #define	PF_BLUETOOTH	AF_BLUETOOTH
 #define	PF_IEEE80211	AF_IEEE80211
+#define	PF_NETLINK	AF_NETLINK
 #define	PF_INET_SDP	AF_INET_SDP
 #define	PF_INET6_SDP	AF_INET6_SDP