Home
last modified time | relevance | path

Searched refs:NLMSG_DATA (Results 1 – 25 of 213) sorted by relevance

123456789

/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/platform/
Dnetlink_test.cc136 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 …]
Drtnetlink_message_test.cc72 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/
Dnetlink_protocol.c228 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()
Dnetlink_netlink_diag.c106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
116 const struct netlink_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dtest_netlink.h25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
73 NLMSG_DATA(TEST_NETLINK_nlh))); \
Dnetlink_inet_diag.c106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
116 const struct inet_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dnetlink_unix_diag.c110 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/
Dnetlink_protocol.c228 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()
Dnetlink_netlink_diag.c106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
116 const struct netlink_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dtest_netlink.h25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
73 NLMSG_DATA(TEST_NETLINK_nlh))); \
Dnetlink_inet_diag.c106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
116 const struct inet_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dnetlink_unix_diag.c110 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/
Dnetlink_protocol.c228 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()
Dnetlink_netlink_diag.c106 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
116 const struct netlink_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dnetlink_unix_diag.c110 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
120 const struct unix_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dtest_netlink.h25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
73 NLMSG_DATA(TEST_NETLINK_nlh))); \
Dnetlink_inet_diag.c106 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/
Dxfrm_monitor.c50 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()
Drtmon.c42 ((__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/
Davc_internal.c208 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/
Dnetwork_interface_linux.cc217 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/
Dnetlink.c173 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/
Dif_nameindex.c34 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/
Dni_ifaddrs.c125 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/
Dnet.c174 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()

123456789