Searched refs:NLMSG_DATA (Results 1 – 18 of 18) sorted by relevance
20 #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()
63 m = NLMSG_DATA(nlh); in netlink_send()222 data = (struct cn_msg *)NLMSG_DATA(reply); in main()
187 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()
56 msg = (struct cn_msg *)NLMSG_DATA(hdr); in send_message()145 ((struct cn_msg *)NLMSG_DATA(hdr))->data; in handle_packet()
188 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()
173 err = (struct nlmsgerr *)NLMSG_DATA(nlh); in libbpf_nla_dump_errormsg()
49 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))361 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
37 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))478 struct nlmsgerr *err = NLMSG_DATA(&msg); in main()
288 const struct nlmsgerr *err = NLMSG_DATA(h); in read_vsock_stat()311 add_vsock_stat(sockets, NLMSG_DATA(h)); in read_vsock_stat()
94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) macro
103 #define NLMSG_DATA(nlh) ((void *)(((char *)nlh) + NLMSG_HDRLEN)) macro
161 render_response(_metadata, NLMSG_DATA(nlh), nlh->nlmsg_len); in receive_response()
65 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()
118 rt_msg = (struct rtmsg *)NLMSG_DATA(nh); in read_route()334 rt_msg = (struct ndmsg *)NLMSG_DATA(nh); in read_arp()
216 struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(h); in __rtnl_talk_iov()
374 err = (struct nlmsgerr *)NLMSG_DATA(nh); in netlink_recv()
21 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
283 err = *(int *)NLMSG_DATA(nlh); in ynl_cb_done()