The branch main has been updated by melifaro:

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

commit a4b8c6d9d50ec03f490587854ec82c9790193f46
Author:     Alexander V. Chernikov <melif...@freebsd.org>
AuthorDate: 2022-08-12 13:45:49 +0000
Commit:     Alexander V. Chernikov <melif...@freebsd.org>
CommitDate: 2022-08-14 09:22:33 +0000

    netlink: add AF_NETLINK / PF_NETLINK definitions
    
    Reviewed by:    glebius
    Differential Revision: https://reviews.freebsd.org/D36174
    MFC after:      1 weeks
---
 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
 

Reply via email to