/external/libnfnetlink/src/ |
D | rtnl.c | 117 struct sockaddr_nl nladdr; in rtnl_dump_type() local 119 memset(&nladdr, 0, sizeof(nladdr)); in rtnl_dump_type() 121 nladdr.nl_family = AF_NETLINK; in rtnl_dump_type() 131 (struct sockaddr*)&nladdr, sizeof(nladdr)); in rtnl_dump_type() 139 struct sockaddr_nl nladdr; in rtnl_receive() local 144 .msg_name = &nladdr, in rtnl_receive() 145 .msg_namelen = sizeof(nladdr), in rtnl_receive() 161 if (msg.msg_namelen != sizeof(nladdr)) { in rtnl_receive()
|
D | libnfnetlink.c | 648 struct sockaddr_nl nladdr; in nfnl_listen() local 657 .msg_name = &nladdr, in nfnl_listen() 658 .msg_namelen = sizeof(nladdr), in nfnl_listen() 663 memset(&nladdr, 0, sizeof(nladdr)); in nfnl_listen() 664 nladdr.nl_family = AF_NETLINK; in nfnl_listen() 685 if (msg.msg_namelen != sizeof(nladdr)) { in nfnl_listen() 716 err = handler(&nladdr, h, jarg); in nfnl_listen() 759 struct sockaddr_nl nladdr; in nfnl_talk() local 767 .msg_name = &nladdr, in nfnl_talk() 768 .msg_namelen = sizeof(nladdr), in nfnl_talk() [all …]
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 116 struct sockaddr_nl nladdr; in nl_sendreq() local 132 memset(&nladdr, 0, sizeof(nladdr)); in nl_sendreq() 133 nladdr.nl_family = AF_NETLINK; in nl_sendreq() 134 …(sendto(sd, (void *) req_hdr, req_hdr->nlmsg_len, 0, (struct sockaddr *) &nladdr, sizeof(nladdr))); in nl_sendreq() 141 struct sockaddr_nl nladdr; in nl_recvmsg() local 145 msg.msg_name = (void *) &nladdr; in nl_recvmsg() 146 msg.msg_namelen = sizeof(nladdr); in nl_recvmsg() 297 struct sockaddr_nl nladdr; in nl_open() local 303 memset(&nladdr, 0, sizeof(nladdr)); in nl_open() 304 nladdr.nl_family = AF_NETLINK; in nl_open() [all …]
|
/external/strace/tests-m32/ |
D | netlink_netlink_diag.c | 44 struct sockaddr_nl nladdr = { in send_query() local 67 .msg_name = (void *) &nladdr, in send_query() 68 .msg_namelen = sizeof(nladdr), in send_query() 85 struct sockaddr_nl nladdr = { in check_responses() local 93 .msg_name = (void *) &nladdr, in check_responses() 94 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_inet_diag.c | 43 struct sockaddr_nl nladdr = { in send_query() local 66 .msg_name = (void *) &nladdr, in send_query() 67 .msg_namelen = sizeof(nladdr), in send_query() 84 struct sockaddr_nl nladdr = { in check_responses() local 92 .msg_name = (void *) &nladdr, in check_responses() 93 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_unix_diag.c | 47 struct sockaddr_nl nladdr = { in send_query() local 70 .msg_name = (void *) &nladdr, in send_query() 71 .msg_namelen = sizeof(nladdr), in send_query() 88 struct sockaddr_nl nladdr = { in check_responses() local 96 .msg_name = (void *) &nladdr, in check_responses() 97 .msg_namelen = sizeof(nladdr), in check_responses()
|
/external/strace/tests-mx32/ |
D | netlink_netlink_diag.c | 44 struct sockaddr_nl nladdr = { in send_query() local 67 .msg_name = (void *) &nladdr, in send_query() 68 .msg_namelen = sizeof(nladdr), in send_query() 85 struct sockaddr_nl nladdr = { in check_responses() local 93 .msg_name = (void *) &nladdr, in check_responses() 94 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_unix_diag.c | 47 struct sockaddr_nl nladdr = { in send_query() local 70 .msg_name = (void *) &nladdr, in send_query() 71 .msg_namelen = sizeof(nladdr), in send_query() 88 struct sockaddr_nl nladdr = { in check_responses() local 96 .msg_name = (void *) &nladdr, in check_responses() 97 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_inet_diag.c | 43 struct sockaddr_nl nladdr = { in send_query() local 66 .msg_name = (void *) &nladdr, in send_query() 67 .msg_namelen = sizeof(nladdr), in send_query() 84 struct sockaddr_nl nladdr = { in check_responses() local 92 .msg_name = (void *) &nladdr, in check_responses() 93 .msg_namelen = sizeof(nladdr), in check_responses()
|
/external/strace/tests/ |
D | netlink_netlink_diag.c | 44 struct sockaddr_nl nladdr = { in send_query() local 67 .msg_name = (void *) &nladdr, in send_query() 68 .msg_namelen = sizeof(nladdr), in send_query() 85 struct sockaddr_nl nladdr = { in check_responses() local 93 .msg_name = (void *) &nladdr, in check_responses() 94 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_unix_diag.c | 47 struct sockaddr_nl nladdr = { in send_query() local 70 .msg_name = (void *) &nladdr, in send_query() 71 .msg_namelen = sizeof(nladdr), in send_query() 88 struct sockaddr_nl nladdr = { in check_responses() local 96 .msg_name = (void *) &nladdr, in check_responses() 97 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_inet_diag.c | 43 struct sockaddr_nl nladdr = { in send_query() local 66 .msg_name = (void *) &nladdr, in send_query() 67 .msg_namelen = sizeof(nladdr), in send_query() 84 struct sockaddr_nl nladdr = { in check_responses() local 92 .msg_name = (void *) &nladdr, in check_responses() 93 .msg_namelen = sizeof(nladdr), in check_responses()
|
/external/iproute2/lib/ |
D | libnetlink.c | 323 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request() local 329 .msg_name = &nladdr, in rtnl_dump_request() 330 .msg_namelen = sizeof(nladdr), in rtnl_dump_request() 340 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request_n() local 346 .msg_name = &nladdr, in rtnl_dump_request_n() 347 .msg_namelen = sizeof(nladdr), in rtnl_dump_request_n() 410 struct sockaddr_nl nladdr; in rtnl_dump_filter_l() local 413 .msg_name = &nladdr, in rtnl_dump_filter_l() 414 .msg_namelen = sizeof(nladdr), in rtnl_dump_filter_l() 457 if (nladdr.nl_pid != 0 || in rtnl_dump_filter_l() [all …]
|
/external/selinux/libselinux/src/ |
D | avc_internal.c | 103 struct sockaddr_nl nladdr; in avc_netlink_receive() local 104 socklen_t nladdrlen = sizeof nladdr; in avc_netlink_receive() 121 rc = recvfrom(fd, buf, buflen, 0, (struct sockaddr *)&nladdr, in avc_netlink_receive() 126 if (nladdrlen != sizeof nladdr) { in avc_netlink_receive() 133 if (nladdr.nl_pid) { in avc_netlink_receive() 136 avc_prefix, nladdr.nl_pid); in avc_netlink_receive()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 130 struct sockaddr_nl nladdr; in recvaddrs() local 141 (void*)&nladdr, sizeof(nladdr), in recvaddrs() 155 if (nladdr.nl_pid) /* Message not from kernel */ in recvaddrs() 224 struct sockaddr_nl nladdr; in getifaddrs() local 233 memset(&nladdr, 0, sizeof(nladdr)); in getifaddrs() 234 nladdr.nl_family = AF_NETLINK; in getifaddrs() 243 if (sendto(fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr)) < 0) { in getifaddrs()
|
/external/ltp/testcases/kernel/controllers/cgroup/ |
D | getdelays.c | 130 struct sockaddr_nl nladdr; in send_cmd() local 151 memset(&nladdr, 0, sizeof(nladdr)); in send_cmd() 152 nladdr.nl_family = AF_NETLINK; in send_cmd() 153 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *)&nladdr, in send_cmd() 154 sizeof(nladdr))) < buflen) { in send_cmd()
|
/external/dnsmasq/src/ |
D | netlink.c | 78 struct sockaddr_nl nladdr; in netlink_recv() local 85 msg.msg_name = &nladdr; in netlink_recv() 86 msg.msg_namelen = sizeof(nladdr); in netlink_recv() 111 if (rc == -1 || nladdr.nl_pid == 0) in netlink_recv()
|
/external/strace/ |
D | socketutils.c | 92 struct sockaddr_nl nladdr = { in send_query() local 100 .msg_name = &nladdr, in send_query() 101 .msg_namelen = sizeof(nladdr), in send_query() 205 struct sockaddr_nl nladdr = { in receive_responses() local 216 .msg_name = &nladdr, in receive_responses() 217 .msg_namelen = sizeof(nladdr), in receive_responses()
|
/external/iproute2/misc/ |
D | arpd.c | 438 struct sockaddr_nl nladdr = {}; in get_kern_msg() local 442 (void *)&nladdr, sizeof(nladdr), in get_kern_msg() 456 if (msg.msg_namelen != sizeof(nladdr)) in get_kern_msg() 459 if (nladdr.nl_pid) in get_kern_msg()
|
D | ss.c | 2467 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in tcpdiag_send() local 2520 .msg_name = (void *)&nladdr, in tcpdiag_send() 2521 .msg_namelen = sizeof(nladdr), in tcpdiag_send() 2536 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in sockdiag_send() local 2580 .msg_name = (void *)&nladdr, in sockdiag_send() 2581 .msg_namelen = sizeof(nladdr), in sockdiag_send()
|
/external/dhcpcd-6.8.2/ |
D | if-linux.c | 328 struct sockaddr_nl nladdr; in get_netlink() local 354 nladdr_len = sizeof(nladdr); in get_netlink() 356 (struct sockaddr *)&nladdr, &nladdr_len); in get_netlink() 361 if (nladdr_len != sizeof(nladdr)) { in get_netlink() 366 if (nladdr.nl_pid != 0) { in get_netlink()
|
/external/iproute2/ip/ |
D | iproute.c | 1322 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_rtcache_request() local 1324 return sendto(rth->fd, (void *)&req, sizeof(req), 0, (struct sockaddr *)&nladdr, sizeof(nladdr)); in rtnl_rtcache_request()
|