Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Davc_internal.c209 struct nlmsgerr *err = NLMSG_DATA(nlh); in avc_netlink_process()
222 struct selnl_msg_setenforce *msg = NLMSG_DATA(nlh); in avc_netlink_process()
230 struct selnl_msg_policyload *msg = NLMSG_DATA(nlh); in avc_netlink_process()
/third_party/musl/porting/liteos_a/user/src/network/
Dif_nameindex.c35 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex()
40 struct ifaddrmsg *ifa = NLMSG_DATA(h); in netlink_msg_to_nameindex()
Dgetifaddrs.c118 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
119 struct ifaddrmsg *ifa = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
/third_party/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()
Dgetifaddrs.c109 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
110 struct ifaddrmsg *ifa = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
Dnetlink.h79 #define NLMSG_DATA(nlh) ((void*)((char*)(nlh)+sizeof(struct nlmsghdr))) macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
Dpriv_netlink.h53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0))) macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
Dpriv_netlink.h53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0))) macro
/third_party/ltp/lib/
Dtst_rtnetlink.c232 ret[i].payload = NLMSG_DATA(ptr); in tst_rtnl_recv()
236 ret[i].err = NLMSG_DATA(ptr); in tst_rtnl_recv()
275 memcpy(NLMSG_DATA(ctx->curmsg), payload, payload_size); in tst_rtnl_add_message()
Dtst_crypto.c57 return ((struct nlmsgerr *)NLMSG_DATA(nh))->error; in tst_crypto_recv_ack()
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c124 rm = (struct rtmsg *)NLMSG_DATA(h); in rops_handle_POLLIN_netlink()
136 ifi = NLMSG_DATA(h); in rops_handle_POLLIN_netlink()
179 ifam = (struct ifaddrmsg *)NLMSG_DATA(h); in rops_handle_POLLIN_netlink()
/third_party/glib/gio/
Dgnetworkmonitornetlink.c177 gen = NLMSG_DATA (n); in request_dump()
362 rtmsg = NLMSG_DATA (msg); in read_netlink_messages()
412 struct nlmsgerr *e = NLMSG_DATA (msg); in read_netlink_messages()
/third_party/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c95 memcpy(NLMSG_DATA(nlhdr), cnmsg, sizeof(*cnmsg) + cnmsg->len); in netlink_send()
182 msg = (struct cn_msg *)NLMSG_DATA(nlhdr); in process_event()
/third_party/iptables/libipq/
Dlibipq.c304 struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(h); in ipq_get_msgerr()
310 return NLMSG_DATA((struct nlmsghdr *)(buf)); in ipq_get_packet()
/third_party/libnl/include/linux-private/linux/
Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) macro
/third_party/ltp/testcases/lib/
Dtst_net_iface_prefix.c77 retaddr = (struct ifaddrmsg *)NLMSG_DATA(retmsg); in read_iface_prefix()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c42 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
424 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user01.c118 const struct crypto_user_alg *alg = NLMSG_DATA(nh); in validate_one_alg()
/third_party/toybox/toys/pending/
Dip.c853 struct ifinfomsg *iface = NLMSG_DATA(h); in get_link_info()
1003 struct ifaddrmsg *ifa = NLMSG_DATA(h); in print_addrinfo()
1263 err = (struct nlmsgerr*) NLMSG_DATA(addr_ptr); in ipaddrupdate()
1398 struct ifaddrmsg *addressInfo = NLMSG_DATA(addr_ptr); in ipaddr_print()
1405 addressInfo = NLMSG_DATA(addr_ptr); in ipaddr_print()
1574 struct rtmsg *msg = NLMSG_DATA(mhdr); in display_route_info()
1710 struct rtmsg *msg = NLMSG_DATA(mhdr); in display_route_info()
1755 struct nlmsgerr *merr = (struct nlmsgerr*)NLMSG_DATA(mhdr); in display_route_info()
1841 struct rtmsg *msg = NLMSG_DATA(mhdr); in route_get()
2330 struct rtmsg *msg = NLMSG_DATA(mhdr); in show_rules()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_full.c646 ifi = NLMSG_DATA(h); in vlan_read_ifnames()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_full.c646 ifi = NLMSG_DATA(h); in vlan_read_ifnames()
/third_party/libnl/lib/route/qdisc/
Dnetem.c326 head = (struct nlattr *)(((char *) NLMSG_DATA(msg->nm_nlh)) + in netem_msg_fill_raw()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c229 rtmsg = (struct ifaddrmsg *)NLMSG_DATA(nh);