Home
last modified time | relevance | path

Searched refs:AF_NETLINK (Results 1 – 25 of 85) sorted by relevance

1234

/external/strace/tests-m32/
Dnetlink_netlink_diag.c45 .nl_family = AF_NETLINK in send_query()
57 .sdiag_family = AF_NETLINK, in send_query()
86 .nl_family = AF_NETLINK in check_responses()
128 addr.nl_family = AF_NETLINK; in main()
133 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
138 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dnetlink_inet_diag.c44 .nl_family = AF_NETLINK in send_query()
85 .nl_family = AF_NETLINK in check_responses()
139 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG) != 1) in main()
Dnetlink_unix_diag.c48 .nl_family = AF_NETLINK in send_query()
89 .nl_family = AF_NETLINK in check_responses()
147 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dcreate_nl_socket.c35 const int fd = socket(AF_NETLINK, SOCK_RAW, proto); in create_nl_socket_ext()
39 const struct sockaddr_nl addr = { .nl_family = AF_NETLINK }; in create_nl_socket_ext()
Dnet-yy-netlink.c49 .nl_family = AF_NETLINK, in main()
56 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in main()
Dnetlink_sock_diag.c271 .sdiag_family = AF_NETLINK, in test_netlink_diag_req()
277 TEST_SOCK_DIAG(fd, nlh0, AF_NETLINK, in test_netlink_diag_req()
288 TEST_SOCK_DIAG(fd, nlh0, AF_NETLINK, in test_netlink_diag_req()
303 .ndiag_family = AF_NETLINK, in test_netlink_diag_msg()
313 TEST_SOCK_DIAG(fd, nlh0, AF_NETLINK, in test_netlink_diag_msg()
/external/strace/tests-mx32/
Dnetlink_netlink_diag.c45 .nl_family = AF_NETLINK in send_query()
57 .sdiag_family = AF_NETLINK, in send_query()
86 .nl_family = AF_NETLINK in check_responses()
128 addr.nl_family = AF_NETLINK; in main()
133 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
138 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dnetlink_unix_diag.c48 .nl_family = AF_NETLINK in send_query()
89 .nl_family = AF_NETLINK in check_responses()
147 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dnetlink_inet_diag.c44 .nl_family = AF_NETLINK in send_query()
85 .nl_family = AF_NETLINK in check_responses()
139 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG) != 1) in main()
Dcreate_nl_socket.c35 const int fd = socket(AF_NETLINK, SOCK_RAW, proto); in create_nl_socket_ext()
39 const struct sockaddr_nl addr = { .nl_family = AF_NETLINK }; in create_nl_socket_ext()
Dnet-yy-netlink.c49 .nl_family = AF_NETLINK, in main()
56 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in main()
Dnetlink_sock_diag.c271 .sdiag_family = AF_NETLINK, in test_netlink_diag_req()
277 TEST_SOCK_DIAG(fd, nlh0, AF_NETLINK, in test_netlink_diag_req()
288 TEST_SOCK_DIAG(fd, nlh0, AF_NETLINK, in test_netlink_diag_req()
303 .ndiag_family = AF_NETLINK, in test_netlink_diag_msg()
313 TEST_SOCK_DIAG(fd, nlh0, AF_NETLINK, in test_netlink_diag_msg()
/external/strace/tests/
Dnetlink_netlink_diag.c45 .nl_family = AF_NETLINK in send_query()
57 .sdiag_family = AF_NETLINK, in send_query()
86 .nl_family = AF_NETLINK in check_responses()
128 addr.nl_family = AF_NETLINK; in main()
133 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
138 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dnetlink_unix_diag.c48 .nl_family = AF_NETLINK in send_query()
89 .nl_family = AF_NETLINK in check_responses()
147 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG) != 1) in main()
Dnetlink_inet_diag.c44 .nl_family = AF_NETLINK in send_query()
85 .nl_family = AF_NETLINK in check_responses()
139 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_INET_DIAG) != 1) in main()
Dcreate_nl_socket.c35 const int fd = socket(AF_NETLINK, SOCK_RAW, proto); in create_nl_socket_ext()
39 const struct sockaddr_nl addr = { .nl_family = AF_NETLINK }; in create_nl_socket_ext()
Dnet-yy-netlink.c49 .nl_family = AF_NETLINK, in main()
56 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in main()
/external/libnfnetlink/src/
Drtnl.c121 nladdr.nl_family = AF_NETLINK; in rtnl_dump_type()
218 h->rtnl_fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in rtnl_open()
225 h->rtnl_local.nl_family = AF_NETLINK; in rtnl_open()
244 if (h->rtnl_local.nl_family != AF_NETLINK) { in rtnl_open()
/external/strace/xlat/
Daddrfams.h50 #if !(defined(AF_NETLINK) || (defined(HAVE_DECL_AF_NETLINK) && HAVE_DECL_AF_NETLINK))
51 # define AF_NETLINK 16 macro
154 XLAT(AF_NETLINK),
/external/strace/
Dsocketutils.c93 .nl_family = AF_NETLINK in send_query()
206 .nl_family = AF_NETLINK in receive_responses()
359 .sdiag_family = AF_NETLINK, in netlink_send_query()
381 if (diag_msg->ndiag_family != AF_NETLINK) in netlink_parse_response()
485 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in get_sockaddr_by_inode_uncached()
632 int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); in genl_families_xlat()
/external/python/cpython2/Modules/
Dsocketmodule.h47 # undef AF_NETLINK
102 #ifdef AF_NETLINK
/external/python/cpython3/Modules/
Dsocketmodule.h54 # undef AF_NETLINK
140 #ifdef AF_NETLINK
/external/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c77 sa.nl_family = AF_NETLINK; in child_func()
80 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in child_func()
/external/dnsmasq/src/
Dnetlink.c44 addr.nl_family = AF_NETLINK; in netlink_init()
54 if ((daemon->netlinkfd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1) in netlink_init()
138 addr.nl_family = AF_NETLINK; in iface_enumerate()
/external/iproute2/lib/
Dlibnetlink.c147 rth->fd = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, protocol); in rtnl_open_byproto()
170 rth->local.nl_family = AF_NETLINK; in rtnl_open_byproto()
188 if (rth->local.nl_family != AF_NETLINK) { in rtnl_open_byproto()
323 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request()
340 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request_n()
537 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in __rtnl_talk()
689 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_listen()
785 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_from_file()

1234