Searched refs:AF_NETLINK (Results 1 – 12 of 12) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
D | sockopt_sk.c | 39 if (sk && sk->family == AF_NETLINK) in _getsockopt() 143 if (sk && sk->family == AF_NETLINK) in _setsockopt()
|
/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()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 193 #define AF_NETLINK 16 macro 194 #define AF_ROUTE AF_NETLINK /* Alias to emulate 4.4BSD */ 250 #define PF_NETLINK AF_NETLINK
|
/tools/accounting/ |
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()
|
/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()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_sk.c | 190 fd = socket(AF_NETLINK, SOCK_RAW, 0); in getsetsockopt()
|
/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()
|
/tools/testing/selftests/net/ |
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 | 161 *sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, proto); in netlink_sock() 1346 snl.nl_family = AF_NETLINK; in netlink_sock_bind() 1368 if (snl.nl_family != AF_NETLINK) { in netlink_sock_bind()
|
/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()
|
/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 89 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in do_nl_req() 739 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); in main()
|
/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()
|