/external/iproute2/lib/ |
D | libnetlink.c | 173 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request() local 179 .msg_name = &nladdr, in rtnl_dump_request() 180 .msg_namelen = sizeof(nladdr), in rtnl_dump_request() 196 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in rtnl_dump_request_n() local 202 .msg_name = &nladdr, in rtnl_dump_request_n() 203 .msg_namelen = sizeof(nladdr), in rtnl_dump_request_n() 218 struct sockaddr_nl nladdr; in rtnl_dump_filter_l() local 221 .msg_name = &nladdr, in rtnl_dump_filter_l() 222 .msg_namelen = sizeof(nladdr), in rtnl_dump_filter_l() 264 if (nladdr.nl_pid != 0 || in rtnl_dump_filter_l() [all …]
|
/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 | 566 struct sockaddr_nl nladdr; in nfnl_listen() local 575 .msg_name = &nladdr, in nfnl_listen() 576 .msg_namelen = sizeof(nladdr), in nfnl_listen() 581 memset(&nladdr, 0, sizeof(nladdr)); in nfnl_listen() 582 nladdr.nl_family = AF_NETLINK; in nfnl_listen() 603 if (msg.msg_namelen != sizeof(nladdr)) { in nfnl_listen() 634 err = handler(&nladdr, h, jarg); in nfnl_listen() 677 struct sockaddr_nl nladdr; in nfnl_talk() local 685 .msg_name = &nladdr, in nfnl_talk() 686 .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-mx32/ |
D | netlink_unix_diag.c | 50 struct sockaddr_nl nladdr = { in send_query() local 73 .msg_name = (void *) &nladdr, in send_query() 74 .msg_namelen = sizeof(nladdr), in send_query() 91 struct sockaddr_nl nladdr = { in check_responses() local 99 .msg_name = (void *) &nladdr, in check_responses() 100 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_inet_diag.c | 42 struct sockaddr_nl nladdr = { in send_query() local 65 .msg_name = (void *) &nladdr, in send_query() 66 .msg_namelen = sizeof(nladdr), in send_query() 83 struct sockaddr_nl nladdr = { in check_responses() local 91 .msg_name = (void *) &nladdr, in check_responses() 92 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_netlink_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/ |
D | netlink_inet_diag.c | 42 struct sockaddr_nl nladdr = { in send_query() local 65 .msg_name = (void *) &nladdr, in send_query() 66 .msg_namelen = sizeof(nladdr), in send_query() 83 struct sockaddr_nl nladdr = { in check_responses() local 91 .msg_name = (void *) &nladdr, in check_responses() 92 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_netlink_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_unix_diag.c | 50 struct sockaddr_nl nladdr = { in send_query() local 73 .msg_name = (void *) &nladdr, in send_query() 74 .msg_namelen = sizeof(nladdr), in send_query() 91 struct sockaddr_nl nladdr = { in check_responses() local 99 .msg_name = (void *) &nladdr, in check_responses() 100 .msg_namelen = sizeof(nladdr), in check_responses()
|
/external/strace/tests-m32/ |
D | netlink_inet_diag.c | 42 struct sockaddr_nl nladdr = { in send_query() local 65 .msg_name = (void *) &nladdr, in send_query() 66 .msg_namelen = sizeof(nladdr), in send_query() 83 struct sockaddr_nl nladdr = { in check_responses() local 91 .msg_name = (void *) &nladdr, in check_responses() 92 .msg_namelen = sizeof(nladdr), in check_responses()
|
D | netlink_netlink_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_unix_diag.c | 50 struct sockaddr_nl nladdr = { in send_query() local 73 .msg_name = (void *) &nladdr, in send_query() 74 .msg_namelen = sizeof(nladdr), in send_query() 91 struct sockaddr_nl nladdr = { in check_responses() local 99 .msg_name = (void *) &nladdr, in check_responses() 100 .msg_namelen = sizeof(nladdr), in check_responses()
|
/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/strace/ |
D | socketutils.c | 81 struct sockaddr_nl nladdr = { in send_query() local 89 .msg_name = &nladdr, in send_query() 90 .msg_namelen = sizeof(nladdr), in send_query() 191 struct sockaddr_nl nladdr = { in receive_responses() local 202 .msg_name = &nladdr, in receive_responses() 203 .msg_namelen = sizeof(nladdr), in receive_responses()
|
/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/iproute2/misc/ |
D | arpd.c | 443 struct sockaddr_nl nladdr; in get_kern_msg() local 447 (void*)&nladdr, sizeof(nladdr), in get_kern_msg() 453 memset(&nladdr, 0, sizeof(nladdr)); in get_kern_msg() 463 if (msg.msg_namelen != sizeof(nladdr)) in get_kern_msg() 466 if (nladdr.nl_pid) in get_kern_msg()
|
D | ss.c | 2120 struct sockaddr_nl nladdr; in tcpdiag_send() local 2134 memset(&nladdr, 0, sizeof(nladdr)); in tcpdiag_send() 2135 nladdr.nl_family = AF_NETLINK; in tcpdiag_send() 2173 .msg_name = (void*)&nladdr, in tcpdiag_send() 2174 .msg_namelen = sizeof(nladdr), in tcpdiag_send() 2189 struct sockaddr_nl nladdr; in sockdiag_send() local 2200 memset(&nladdr, 0, sizeof(nladdr)); in sockdiag_send() 2201 nladdr.nl_family = AF_NETLINK; in sockdiag_send() 2232 .msg_name = (void*)&nladdr, in sockdiag_send() 2233 .msg_namelen = sizeof(nladdr), in sockdiag_send()
|
/external/iproute2/tc/ |
D | m_action.c | 401 struct sockaddr_nl nladdr; in tc_action_gd() local 416 memset(&nladdr, 0, sizeof(nladdr)); in tc_action_gd() 417 nladdr.nl_family = AF_NETLINK; in tc_action_gd()
|
/external/iproute2/ip/ |
D | iproute.c | 1235 struct sockaddr_nl nladdr; in rtnl_rtcache_request() local 1237 memset(&nladdr, 0, sizeof(nladdr)); in rtnl_rtcache_request() 1239 nladdr.nl_family = AF_NETLINK; in rtnl_rtcache_request() 1249 return sendto(rth->fd, (void*)&req, sizeof(req), 0, (struct sockaddr*)&nladdr, sizeof(nladdr)); in rtnl_rtcache_request()
|
/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()
|