Home
last modified time | relevance | path

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

12345

/external/strace/tests-mx32/
Dnetlink_netlink_diag.c45 .nl_family = AF_NETLINK in send_query()
57 .sdiag_family = AF_NETLINK, in send_query()
85 .nl_family = AF_NETLINK in check_responses()
127 addr.nl_family = AF_NETLINK; in main()
132 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
137 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/strace/tests/
Dnetlink_netlink_diag.c45 .nl_family = AF_NETLINK in send_query()
57 .sdiag_family = AF_NETLINK, in send_query()
85 .nl_family = AF_NETLINK in check_responses()
127 addr.nl_family = AF_NETLINK; in main()
132 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
137 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()
/external/strace/tests-m32/
Dnetlink_netlink_diag.c45 .nl_family = AF_NETLINK in send_query()
57 .sdiag_family = AF_NETLINK, in send_query()
85 .nl_family = AF_NETLINK in check_responses()
127 addr.nl_family = AF_NETLINK; in main()
132 if (socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG)) in main()
137 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()
/external/strace/xlat/
Daddrfams.h118 #if defined(AF_NETLINK) || (defined(HAVE_DECL_AF_NETLINK) && HAVE_DECL_AF_NETLINK)
120 static_assert((AF_NETLINK) == (16), "AF_NETLINK != 16");
123 # define AF_NETLINK 16
343 [AF_NETLINK] = XLAT(AF_NETLINK),
/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/
Dsocketutils.c97 .nl_family = AF_NETLINK in send_query()
216 .nl_family = AF_NETLINK in receive_responses()
377 .sdiag_family = AF_NETLINK, in netlink_send_query()
398 if (diag_msg->ndiag_family != AF_NETLINK) in netlink_parse_response()
495 [SOCK_PROTO_NETLINK] = { "NETLINK", netlink_get, AF_NETLINK },
527 const int fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_SOCK_DIAG); in get_sockaddr_by_inode_uncached()
680 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/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/ltp/testcases/kernel/uevents/
Duevent.h109 .nl_family = AF_NETLINK, in open_uevent_netlink()
113 fd = SAFE_SOCKET(AF_NETLINK, SOCK_RAW, NETLINK_KOBJECT_UEVENT); in open_uevent_netlink()
/external/openscreen/platform/impl/
Dnetwork_interface_linux.cc148 ScopedFd fd(socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)); in GetLinkInfo()
158 peer.nl_family = AF_NETLINK; in GetLinkInfo()
248 ScopedFd fd(socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)); in PopulateSubnetsOrClearList()
259 peer.nl_family = AF_NETLINK; in PopulateSubnetsOrClearList()
/external/python/cpython3/Modules/
Dsocketmodule.h95 # undef AF_NETLINK
235 #ifdef AF_NETLINK
/external/dnsmasq/src/
Dnetlink.c42 addr.nl_family = AF_NETLINK; in netlink_init()
52 if ((daemon->netlinkfd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1) { in netlink_init()
129 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()

12345