/linux-5.19.10/samples/bpf/ |
D | xdp_router_ipv4_user.c | 267 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in get_route_table() 273 sa.nl_family = AF_NETLINK; in get_route_table() 403 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in get_arp_table() 409 sa.nl_family = AF_NETLINK; in get_arp_table() 458 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in monitor_routes_thread() 466 lr.nl_family = AF_NETLINK; in monitor_routes_thread() 477 sock_arp = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in monitor_routes_thread() 486 la.nl_family = AF_NETLINK; in monitor_routes_thread()
|
/linux-5.19.10/tools/accounting/ |
D | procacct.c | 100 fd = socket(AF_NETLINK, SOCK_RAW, protocol); in create_nl_socket() 113 local.nl_family = AF_NETLINK; in create_nl_socket() 152 nladdr.nl_family = AF_NETLINK; in send_cmd()
|
D | getdelays.c | 94 fd = socket(AF_NETLINK, SOCK_RAW, protocol); in create_nl_socket() 107 local.nl_family = AF_NETLINK; in create_nl_socket() 146 nladdr.nl_family = AF_NETLINK; in send_cmd()
|
/linux-5.19.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 197 #define AF_NETLINK 16 macro 198 #define AF_ROUTE AF_NETLINK /* Alias to emulate 4.4BSD */ 254 #define PF_NETLINK AF_NETLINK
|
/linux-5.19.10/tools/testing/vsock/ |
D | vsock_diag_test.c | 167 .nl_family = AF_NETLINK, in send_req() 210 .nl_family = AF_NETLINK, in recv_resp() 259 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in read_vsock_stat()
|
/linux-5.19.10/include/linux/ |
D | socket.h | 197 #define AF_NETLINK 16 macro 198 #define AF_ROUTE AF_NETLINK /* Alias to emulate 4.4BSD */ 254 #define PF_NETLINK AF_NETLINK
|
/linux-5.19.10/net/netlink/ |
D | diag.c | 58 rep->ndiag_family = AF_NETLINK; in sk_diag_fill() 243 .family = AF_NETLINK,
|
D | af_netlink.c | 1002 if (nladdr->nl_family != AF_NETLINK) in netlink_bind() 1093 if (addr->sa_family != AF_NETLINK) in netlink_connect() 1126 nladdr->nl_family = AF_NETLINK; in netlink_getname() 1177 if (sock->sk_family != AF_NETLINK) in netlink_getsockbyfilp() 1868 if (addr->nl_family != AF_NETLINK) in netlink_sendmsg() 1981 addr->nl_family = AF_NETLINK; in netlink_recvmsg()
|
/linux-5.19.10/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 92 sk_fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, in uevent_listener() 106 sk_addr.nl_family = AF_NETLINK; in uevent_listener()
|
/linux-5.19.10/samples/connector/ |
D | ucon.c | 145 l_local.nl_family = AF_NETLINK; in main()
|
/linux-5.19.10/tools/testing/selftests/net/ |
D | tun.c | 77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in tun_delete()
|
D | udpgso.c | 360 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in set_route_mtu() 373 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in set_route_mtu()
|
D | ipsec.c | 160 *sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, proto); in netlink_sock() 1345 snl.nl_family = AF_NETLINK; in netlink_sock_bind() 1367 if (snl.nl_family != AF_NETLINK) { in netlink_sock_bind()
|
/linux-5.19.10/tools/testing/selftests/nci/ |
D | nci_dev.c | 95 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); in create_nl_socket() 100 local.nl_family = AF_NETLINK; in create_nl_socket() 146 nladdr.nl_family = AF_NETLINK; in send_cmd_mt_nla()
|
/linux-5.19.10/tools/bpf/bpftool/ |
D | net.c | 104 sa.nl_family = AF_NETLINK; in netlink_open() 106 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_open()
|
/linux-5.19.10/tools/lib/bpf/ |
D | netlink.c | 44 sa.nl_family = AF_NETLINK; in libbpf_netlink_open() 46 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in libbpf_netlink_open()
|
/linux-5.19.10/Documentation/driver-api/ |
D | connector.rst | 119 l_local.nl_family = AF_NETLINK;
|
/linux-5.19.10/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 204 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in do_nl_req() 1469 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); in main()
|