netlink: add AF_NETLINK / PF_NETLINK definitions

Reviewed by:	glebius
Differential Revision: https://reviews.freebsd.org/D36174
MFC after:	1 weeks
This commit is contained in:
Alexander V. Chernikov 2022-08-12 13:45:49 +00:00
parent 9b967bd65d
commit a4b8c6d9d5

View File

@ -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