Home
last modified time | relevance | path

Searched refs:SOL_NETLINK (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/tools/lib/bpf/
Dnetlink.c17 #ifndef SOL_NETLINK
18 #define SOL_NETLINK 270 macro
44 if (setsockopt(sock, SOL_NETLINK, NETLINK_EXT_ACK, in libbpf_netlink_open()
/Linux-v5.4/samples/connector/
Ducon.c160 setsockopt(s, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, &on, sizeof(on)); in main()
/Linux-v5.4/include/linux/
Dsocket.h335 #define SOL_NETLINK 270 macro
/Linux-v5.4/Documentation/driver-api/
Dconnector.rst133 Where 270 above is SOL_NETLINK, and 1 is a NETLINK_ADD_MEMBERSHIP socket
/Linux-v5.4/net/netlink/
Daf_netlink.c1629 if (level != SOL_NETLINK) in netlink_setsockopt()
1729 if (level != SOL_NETLINK) in netlink_getsockopt()
1829 put_cmsg(msg, SOL_NETLINK, NETLINK_PKTINFO, sizeof(info), &info); in netlink_cmsg_recv_pktinfo()
1838 put_cmsg(msg, SOL_NETLINK, NETLINK_LISTEN_ALL_NSID, sizeof(int), in netlink_cmsg_listen_all_nsid()