/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/platform/ |
D | netlink_test.cc | 136 reinterpret_cast<struct ifinfomsg*>(NLMSG_DATA(netlink_message)); in CreateIfinfomsg() 190 auto* msg = reinterpret_cast<struct ifaddrmsg*>(NLMSG_DATA(nlm)); in CreateIfaddrmsg() 209 auto* msg = reinterpret_cast<struct rtmsg*>(NLMSG_DATA(nlm)); in CreateRtmsg() 356 reinterpret_cast<struct nlmsgerr*>(NLMSG_DATA(netlink_message)); in TEST_F() 365 NLMSG_DATA(netlink_message)); in TEST_F() 433 reinterpret_cast<struct nlmsgerr*>(NLMSG_DATA(netlink_message)); in TEST_F() 442 NLMSG_DATA(netlink_message)); in TEST_F() 526 reinterpret_cast<struct nlmsgerr*>(NLMSG_DATA(netlink_message)); in TEST_F() 536 reinterpret_cast<const struct rtmsg*>(NLMSG_DATA(netlink_message)); in TEST_F() 626 reinterpret_cast<struct nlmsgerr*>(NLMSG_DATA(netlink_message)); in TEST_F() [all …]
|
D | rtnetlink_message_test.cc | 72 reinterpret_cast<struct ifinfomsg*>(NLMSG_DATA(netlink_message)); in TEST() 149 reinterpret_cast<struct ifaddrmsg*>(NLMSG_DATA(netlink_message)); in TEST() 206 reinterpret_cast<struct rtmsg*>(NLMSG_DATA(netlink_message)); in TEST()
|
/external/strace/tests-mx32/ |
D | netlink_protocol.c | 228 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsgerr() 243 err = NLMSG_DATA(nlh); in test_nlmsgerr() 275 err = NLMSG_DATA(nlh); in test_nlmsgerr() 299 err = NLMSG_DATA(nlh); in test_nlmsgerr() 306 memcpy(NLMSG_DATA(&err->msg), "abcd", 4); in test_nlmsgerr() 346 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsg_done() 360 memcpy(NLMSG_DATA(nlh), &num, sizeof(num)); in test_nlmsg_done()
|
D | netlink_netlink_diag.c | 106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 116 const struct netlink_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
D | test_netlink.h | 25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \ 73 NLMSG_DATA(TEST_NETLINK_nlh))); \
|
D | netlink_inet_diag.c | 106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 116 const struct inet_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
D | netlink_unix_diag.c | 110 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 120 const struct unix_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
/external/strace/tests-m32/ |
D | netlink_protocol.c | 228 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsgerr() 243 err = NLMSG_DATA(nlh); in test_nlmsgerr() 275 err = NLMSG_DATA(nlh); in test_nlmsgerr() 299 err = NLMSG_DATA(nlh); in test_nlmsgerr() 306 memcpy(NLMSG_DATA(&err->msg), "abcd", 4); in test_nlmsgerr() 346 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsg_done() 360 memcpy(NLMSG_DATA(nlh), &num, sizeof(num)); in test_nlmsg_done()
|
D | netlink_netlink_diag.c | 106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 116 const struct netlink_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
D | test_netlink.h | 25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \ 73 NLMSG_DATA(TEST_NETLINK_nlh))); \
|
D | netlink_inet_diag.c | 106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 116 const struct inet_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
D | netlink_unix_diag.c | 110 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 120 const struct unix_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
/external/strace/tests/ |
D | netlink_protocol.c | 228 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsgerr() 243 err = NLMSG_DATA(nlh); in test_nlmsgerr() 275 err = NLMSG_DATA(nlh); in test_nlmsgerr() 299 err = NLMSG_DATA(nlh); in test_nlmsgerr() 306 memcpy(NLMSG_DATA(&err->msg), "abcd", 4); in test_nlmsgerr() 346 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsg_done() 360 memcpy(NLMSG_DATA(nlh), &num, sizeof(num)); in test_nlmsg_done()
|
D | netlink_netlink_diag.c | 106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 116 const struct netlink_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
D | netlink_unix_diag.c | 110 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 120 const struct unix_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
D | test_netlink.h | 25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \ 73 NLMSG_DATA(TEST_NETLINK_nlh))); \
|
D | netlink_inet_diag.c | 106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses() 116 const struct inet_diag_msg *diag = NLMSG_DATA(h); in check_responses()
|
/external/iproute2/ip/ |
D | xfrm_monitor.c | 50 struct xfrm_user_acquire *xacq = NLMSG_DATA(n); in xfrm_acquire_print() 112 struct xfrm_usersa_flush *xsf = NLMSG_DATA(n); in xfrm_state_flush_print() 153 parse_rtattr(tb, XFRMA_MAX, NLMSG_DATA(n), len); in xfrm_policy_flush_print() 180 struct xfrm_user_report *xrep = NLMSG_DATA(n); in xfrm_report_print() 243 struct xfrm_aevent_id *id = NLMSG_DATA(n); in xfrm_ae_print() 268 struct xfrm_user_mapping *map = NLMSG_DATA(n); in xfrm_mapping_print()
|
D | rtmon.c | 42 ((__u32 *)NLMSG_DATA(n1))[0] = tv.tv_sec; in write_stamp() 43 ((__u32 *)NLMSG_DATA(n1))[1] = tv.tv_usec; in write_stamp()
|
/external/selinux/libselinux/src/ |
D | avc_internal.c | 208 struct nlmsgerr *err = NLMSG_DATA(nlh); in avc_netlink_process() 221 struct selnl_msg_setenforce *msg = NLMSG_DATA(nlh); in avc_netlink_process() 229 struct selnl_msg_policyload *msg = NLMSG_DATA(nlh); in avc_netlink_process()
|
/external/openscreen/platform/impl/ |
D | network_interface_linux.cc | 217 NLMSG_DATA(netlink_header)) in GetLinkInfo() 231 static_cast<struct ifinfomsg*>(NLMSG_DATA(netlink_header)); in GetLinkInfo() 318 NLMSG_DATA(netlink_header)) in PopulateSubnetsOrClearList() 331 static_cast<struct ifaddrmsg*>(NLMSG_DATA(netlink_header)); in PopulateSubnetsOrClearList()
|
/external/dnsmasq/src/ |
D | netlink.c | 173 struct ifaddrmsg* ifa = NLMSG_DATA(h); in iface_enumerate() 238 struct nlmsgerr* err = NLMSG_DATA(h); in nl_err() 251 struct rtmsg* rtm = NLMSG_DATA(h); in nl_routechange()
|
/external/musl/src/network/ |
D | if_nameindex.c | 34 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex() 39 struct ifaddrmsg *ifa = NLMSG_DATA(h); in netlink_msg_to_nameindex()
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 125 req_msg = (struct rtgenmsg *) NLMSG_DATA(req_hdr); in nl_sendreq() 196 struct nlmsgerr *nlerr = (struct nlmsgerr *) NLMSG_DATA(nh); in nl_getmsg() 407 ifam = (struct ifaddrmsg *) NLMSG_DATA(nlh); in ni_ifaddrs() 433 for (rta = (struct rtattr *) (((char *) NLMSG_DATA(nlh)) + in ni_ifaddrs()
|
/external/bpftool/src/ |
D | net.c | 174 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv() 202 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_class_nlmsg() 241 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_qdisc_nlmsg() 280 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_filter_nlmsg() 319 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
|