Home
last modified time | relevance | path

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

12345678

/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()
Dtest_netlink.h25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
73 NLMSG_DATA(TEST_NETLINK_nlh))); \
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()
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/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()
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()
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()
Dtest_netlink.h25 memcpy(NLMSG_DATA(TEST_NETLINK_nlh), (src_), (slen_)); \
73 NLMSG_DATA(TEST_NETLINK_nlh))); \
/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_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()
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()
Dnlattr_ifla.h51 struct ifinfomsg *const msg = NLMSG_DATA(nlh); in init_ifinfomsg()
/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()
Diplink_vrf.c146 ifi = NLMSG_DATA(&answer.n); in ipvrf_get_table()
207 ifi = NLMSG_DATA(&answer.n); in name_is_vrf()
Dipaddrlabel.c60 struct ifaddrlblmsg *ifal = NLMSG_DATA(n); in print_addrlabel()
189 struct rtmsg *r = NLMSG_DATA(n); in flush_addrlabel()
/external/selinux/libselinux/src/
Davc_internal.c166 struct nlmsgerr *err = NLMSG_DATA(nlh); in avc_netlink_process()
179 struct selnl_msg_setenforce *msg = NLMSG_DATA(nlh); in avc_netlink_process()
200 struct selnl_msg_policyload *msg = NLMSG_DATA(nlh); in avc_netlink_process()
/external/openscreen/platform/impl/
Dnetwork_interface_linux.cc214 NLMSG_DATA(netlink_header)) in GetLinkInfo()
228 static_cast<struct ifinfomsg*>(NLMSG_DATA(netlink_header)); in GetLinkInfo()
312 NLMSG_DATA(netlink_header)) in PopulateSubnetsOrClearList()
325 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/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/wpa_supplicant_8/src/drivers/
Dnetlink.c30 cb(netlink->cfg->ctx, NLMSG_DATA(h), in netlink_receive_link()
31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)), in netlink_receive_link()

12345678