Searched refs:nladdr (Results 1 – 7 of 7) sorted by relevance
/tools/testing/selftests/net/af_unix/ |
D | diag_uid.c | 99 struct sockaddr_nl nladdr = { in send_request() local 107 .msg_name = &nladdr, in send_request() 108 .msg_namelen = sizeof(nladdr), in send_request() 138 struct sockaddr_nl nladdr = { in receive_response() local 146 .msg_name = &nladdr, in receive_response() 147 .msg_namelen = sizeof(nladdr), in receive_response()
|
/tools/accounting/ |
D | procacct.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()
|
D | getdelays.c | 123 struct sockaddr_nl nladdr; in send_cmd() local 144 memset(&nladdr, 0, sizeof(nladdr)); in send_cmd() 145 nladdr.nl_family = AF_NETLINK; in send_cmd() 146 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd() 147 sizeof(nladdr))) < buflen) { in send_cmd()
|
/tools/testing/vsock/ |
D | vsock_diag_test.c | 166 struct sockaddr_nl nladdr = { in send_req() local 188 .msg_name = &nladdr, in send_req() 189 .msg_namelen = sizeof(nladdr), in send_req() 209 struct sockaddr_nl nladdr = { in recv_resp() local 217 .msg_name = &nladdr, in recv_resp() 218 .msg_namelen = sizeof(nladdr), in recv_resp()
|
/tools/testing/selftests/nci/ |
D | nci_dev.c | 115 struct sockaddr_nl nladdr; in send_cmd_mt_nla() local 145 memset(&nladdr, 0, sizeof(nladdr)); in send_cmd_mt_nla() 146 nladdr.nl_family = AF_NETLINK; in send_cmd_mt_nla() 148 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *)&nladdr, in send_cmd_mt_nla() 149 sizeof(nladdr))) < buflen) { in send_cmd_mt_nla()
|
/tools/testing/selftests/net/ |
D | udpgso.c | 360 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in set_route_mtu() local 422 ret = sendto(fd, data, off, 0, (void *)&nladdr, sizeof(nladdr)); in set_route_mtu()
|
/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 210 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in do_nl_req() local 223 ret = sendto(fd, data, len, 0, (void *)&nladdr, sizeof(nladdr)); in do_nl_req() 227 addr_len = sizeof(nladdr); in do_nl_req() 228 rem = ret = recvfrom(fd, data, max, 0, (void *)&nladdr, &addr_len); in do_nl_req()
|