Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/gdm724x/
Dnetlink_k.c20 #define ND_NLMSG_DATA(nlh) ((void *)((char *)NLMSG_DATA(nlh) + \
24 #define ND_NLMSG_IFIDX(nlh) NLMSG_DATA(nlh)
113 memcpy(NLMSG_DATA(nlh), msg, len); in netlink_send()
/linux-6.12.1/samples/connector/
Ducon.c63 m = NLMSG_DATA(nlh); in netlink_send()
222 data = (struct cn_msg *)NLMSG_DATA(reply); in main()
/linux-6.12.1/tools/bpf/bpftool/
Dnet.c187 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
215 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_class_nlmsg()
254 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_qdisc_nlmsg()
293 struct tcmsg *t = NLMSG_DATA(nlh); in __dump_filter_nlmsg()
332 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
/linux-6.12.1/tools/testing/selftests/connector/
Dproc_filter.c56 msg = (struct cn_msg *)NLMSG_DATA(hdr); in send_message()
145 ((struct cn_msg *)NLMSG_DATA(hdr))->data; in handle_packet()
/linux-6.12.1/tools/lib/bpf/
Dnetlink.c188 err = (struct nlmsgerr *)NLMSG_DATA(nh); in libbpf_netlink_recv()
252 struct genlmsghdr *gnl = NLMSG_DATA(nh); in parse_genl_family_id()
348 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
408 struct genlmsghdr *gnl = NLMSG_DATA(nh); in parse_xdp_features()
684 struct tcmsg *tc = NLMSG_DATA(nh); in get_tc_info()
Dnlattr.c173 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in libbpf_nla_dump_errormsg()
/linux-6.12.1/tools/accounting/
Dprocacct.c49 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
361 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
Dgetdelays.c37 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
478 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
/linux-6.12.1/tools/testing/vsock/
Dvsock_diag_test.c288 const struct nlmsgerr *err = NLMSG_DATA(h); in read_vsock_stat()
311 add_vsock_stat(sockets, NLMSG_DATA(h)); in read_vsock_stat()
/linux-6.12.1/tools/include/uapi/linux/
Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) macro
/linux-6.12.1/include/uapi/linux/
Dnetlink.h103 #define NLMSG_DATA(nlh) ((void *)(((char *)nlh) + NLMSG_HDRLEN)) macro
/linux-6.12.1/tools/testing/selftests/net/af_unix/
Ddiag_uid.c161 render_response(_metadata, NLMSG_DATA(nlh), nlh->nlmsg_len); in receive_response()
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c65 struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(nh); in nl_error()
77 struct rtattr *attrs = (struct rtattr *)NLMSG_DATA(nh); in nl_error()
136 ghdr = (struct genlmsghdr *)NLMSG_DATA(nh); in capture_events()
242 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily()
1065 attrs = (struct rtattr *) ((char *) NLMSG_DATA(nh) + in print_addrs()
1201 attrs = (struct rtattr *) ((char *) NLMSG_DATA(nh) + in print_limits()
/linux-6.12.1/samples/bpf/
Dxdp_router_ipv4_user.c118 rt_msg = (struct rtmsg *)NLMSG_DATA(nh); in read_route()
334 rt_msg = (struct ndmsg *)NLMSG_DATA(nh); in read_arp()
/linux-6.12.1/tools/testing/selftests/bpf/
Dnetlink_helpers.c216 struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(h); in __rtnl_talk_iov()
Dxsk.c374 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
/linux-6.12.1/tools/testing/selftests/nci/
Dnci_dev.c21 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
/linux-6.12.1/tools/net/ynl/lib/
Dynl.c283 err = *(int *)NLMSG_DATA(nlh); in ynl_cb_done()