Home
last modified time | relevance | path

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

12345

/external/strace/tests-m32/
Dnetlink_sock_diag.c101 family = NLMSG_DATA(nlh); in test_odd_family_req()
140 NLMSG_DATA(nlh), in test_odd_family_req()
152 family = NLMSG_DATA(nlh); in test_odd_family_req()
198 family = NLMSG_DATA(nlh); in test_odd_family_msg()
237 NLMSG_DATA(nlh), in test_odd_family_msg()
249 family = NLMSG_DATA(nlh); in test_odd_family_msg()
296 family = NLMSG_DATA(nlh); in test_unix_diag_req()
317 family = NLMSG_DATA(nlh); in test_unix_diag_req()
339 req = NLMSG_DATA(nlh); in test_unix_diag_req()
375 NLMSG_DATA(nlh) + 1, in test_unix_diag_req()
[all …]
Dnetlink_protocol.c222 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsgerr()
236 err = NLMSG_DATA(nlh); in test_nlmsgerr()
268 err = NLMSG_DATA(nlh); in test_nlmsgerr()
292 err = NLMSG_DATA(nlh); in test_nlmsgerr()
299 memcpy(NLMSG_DATA(&err->msg), "abcd", 4); in test_nlmsgerr()
339 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsg_done()
353 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.c109 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
119 const struct unix_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dnetlink_inet_diag.c105 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
115 const struct inet_diag_msg *diag = NLMSG_DATA(h); in check_responses()
/external/strace/tests/
Dnetlink_sock_diag.c101 family = NLMSG_DATA(nlh); in test_odd_family_req()
140 NLMSG_DATA(nlh), in test_odd_family_req()
152 family = NLMSG_DATA(nlh); in test_odd_family_req()
198 family = NLMSG_DATA(nlh); in test_odd_family_msg()
237 NLMSG_DATA(nlh), in test_odd_family_msg()
249 family = NLMSG_DATA(nlh); in test_odd_family_msg()
296 family = NLMSG_DATA(nlh); in test_unix_diag_req()
317 family = NLMSG_DATA(nlh); in test_unix_diag_req()
339 req = NLMSG_DATA(nlh); in test_unix_diag_req()
375 NLMSG_DATA(nlh) + 1, in test_unix_diag_req()
[all …]
Dnetlink_protocol.c222 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsgerr()
236 err = NLMSG_DATA(nlh); in test_nlmsgerr()
268 err = NLMSG_DATA(nlh); in test_nlmsgerr()
292 err = NLMSG_DATA(nlh); in test_nlmsgerr()
299 memcpy(NLMSG_DATA(&err->msg), "abcd", 4); in test_nlmsgerr()
339 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsg_done()
353 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_inet_diag.c105 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
115 const struct inet_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dnetlink_unix_diag.c109 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
119 const struct unix_diag_msg *diag = NLMSG_DATA(h); in check_responses()
/external/strace/tests-mx32/
Dnetlink_sock_diag.c101 family = NLMSG_DATA(nlh); in test_odd_family_req()
140 NLMSG_DATA(nlh), in test_odd_family_req()
152 family = NLMSG_DATA(nlh); in test_odd_family_req()
198 family = NLMSG_DATA(nlh); in test_odd_family_msg()
237 NLMSG_DATA(nlh), in test_odd_family_msg()
249 family = NLMSG_DATA(nlh); in test_odd_family_msg()
296 family = NLMSG_DATA(nlh); in test_unix_diag_req()
317 family = NLMSG_DATA(nlh); in test_unix_diag_req()
339 req = NLMSG_DATA(nlh); in test_unix_diag_req()
375 NLMSG_DATA(nlh) + 1, in test_unix_diag_req()
[all …]
Dnetlink_protocol.c222 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsgerr()
236 err = NLMSG_DATA(nlh); in test_nlmsgerr()
268 err = NLMSG_DATA(nlh); in test_nlmsgerr()
292 err = NLMSG_DATA(nlh); in test_nlmsgerr()
299 memcpy(NLMSG_DATA(&err->msg), "abcd", 4); in test_nlmsgerr()
339 memcpy(NLMSG_DATA(nlh), "42", 2); in test_nlmsg_done()
353 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.c109 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
119 const struct unix_diag_msg *diag = NLMSG_DATA(h); in check_responses()
Dnetlink_inet_diag.c105 const struct nlmsgerr *err = NLMSG_DATA(h); in check_responses()
115 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()
111 struct xfrm_usersa_flush *xsf = NLMSG_DATA(n); in xfrm_state_flush_print()
152 parse_rtattr(tb, XFRMA_MAX, NLMSG_DATA(n), len); in xfrm_policy_flush_print()
179 struct xfrm_user_report *xrep = NLMSG_DATA(n); in xfrm_report_print()
245 struct xfrm_aevent_id *id = NLMSG_DATA(n); in xfrm_ae_print()
276 struct xfrm_user_mapping *map = NLMSG_DATA(n); in xfrm_mapping_print()
Drtmon.c43 ((__u32*)NLMSG_DATA(n1))[0] = tv.tv_sec; in write_stamp()
44 ((__u32*)NLMSG_DATA(n1))[1] = tv.tv_usec; in write_stamp()
Dipaddrlabel.c59 struct ifaddrlblmsg *ifal = NLMSG_DATA(n); in print_addrlabel()
195 struct rtmsg *r = NLMSG_DATA(n); in flush_addrlabel()
/external/selinux/libselinux/src/
Davc_internal.c165 struct nlmsgerr *err = NLMSG_DATA(nlh); in avc_netlink_process()
178 struct selnl_msg_setenforce *msg = NLMSG_DATA(nlh); in avc_netlink_process()
199 struct selnl_msg_policyload *msg = NLMSG_DATA(nlh); in avc_netlink_process()
/external/iproute2/genl/
Dctrl.c60 ghdr = NLMSG_DATA(&req.n); in genl_ctrl_resolve_family()
77 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_ctrl_resolve_family()
185 struct genlmsghdr *ghdr = NLMSG_DATA(n); in print_ctrl()
310 ghdr = NLMSG_DATA(&req.n); in ctrl_list()
/external/dnsmasq/src/
Dnetlink.c188 struct ifaddrmsg *ifa = NLMSG_DATA(h); in iface_enumerate()
262 struct nlmsgerr *err = NLMSG_DATA(h); in nl_err()
277 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()
/external/libnfnetlink/src/
Dlibnfnetlink.c100 void *nlmsg_data = NLMSG_DATA(nlh); in nfnl_dump_packet()
101 struct nfattr *nfa = NFM_NFA(NLMSG_DATA(nlh)); in nfnl_dump_packet()
712 msgerr = NLMSG_DATA(h); in nfnl_listen()
834 struct nlmsgerr *err = NLMSG_DATA(h); in nfnl_talk()
1269 struct nfattr *attr = NFM_NFA(NLMSG_DATA(nlh)); in nfnl_check_attributes()
1357 errno = -(*((int *)NLMSG_DATA(nlh))); in nfnl_is_error()
1406 struct nfattr *attr = NFM_NFA(NLMSG_DATA(nlh)); in nfnl_step()
/external/libnetfilter_conntrack/src/conntrack/
Dfilter_dump.c44 struct nfgenmsg *nfg = NLMSG_DATA(&req->nlh); in __build_filter_dump()

12345