Home
last modified time | relevance | path

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

1234567

/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_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_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_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/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/syzkaller/sys/linux/
Dsocket_netlink_generic.txt4 # AF_NETLINK/NETLINK_GENERIC support.
14 socket$nl_generic(domain const[AF_NETLINK], type const[SOCK_RAW], proto const[NETLINK_GENERIC]) soc…
Dsocket_netlink_crypto.txt4 # AF_NETLINK/NETLINK_CRYPTO support.
13 socket$nl_crypto(domain const[AF_NETLINK], type const[SOCK_RAW], proto const[NETLINK_CRYPTO]) sock_…
Dsocket_netlink_netfilter.txt4 # AF_NETLINK/NETLINK_NETFILTER support.
13 socket$nl_netfilter(domain const[AF_NETLINK], type const[SOCK_RAW], proto const[NETLINK_NETFILTER])…
Dsocket_netlink.txt4 # AF_NETLINK support.
14 socket$netlink(domain const[AF_NETLINK], type const[SOCK_RAW], proto flags[netlink_proto]) sock_net…
53 type sockaddr_nl_proc sockaddr_nl_t[AF_NETLINK, netlink_port_id, flags[netlink_group_bitmap, int32]]
54 type sockaddr_nl_kern sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]
/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/python/cpython3/Modules/
Dsocketmodule.h54 # undef AF_NETLINK
181 #ifdef AF_NETLINK

1234567