Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A Dgenetlink.h13 struct genlmsghdr { struct
19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) argument
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c48 struct genlmsghdr *gh; in init_genl_req()
102 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + 1024]; in capture_events()
103 struct genlmsghdr *ghdr; in capture_events()
119 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + 1024; in capture_events()
136 ghdr = (struct genlmsghdr *)NLMSG_DATA(nh); in capture_events()
242 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily()
311 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in resolve_mptcp_pm_netlink()
336 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in dsf()
448 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in csf()
582 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in remove_addr()
[all …]
/linux/include/net/
H A Dgenetlink.h136 struct genlmsghdr * genlhdr;
316 struct genlmsghdr *hdr = (void *) &info->user_ptr[0]; in genl_info_init_ntf()
570 static inline void *genlmsg_data(const struct genlmsghdr *gnlh) in genlmsg_data()
579 static inline int genlmsg_len(const struct genlmsghdr *gnlh) in genlmsg_len()
/linux/tools/power/x86/intel-speed-select/
H A Dhfi-events.c126 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in family_handler()
193 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_event()
/linux/tools/testing/selftests/nci/
H A Dnci_dev.c86 struct genlmsghdr g;
180 struct genlmsghdr g; in get_family_id()
642 struct genlmsghdr g; in get_taginfo()
721 struct genlmsghdr *genlhdr; in connect_tag()
733 genlhdr = (struct genlmsghdr *)((struct nlmsghdr *)evt_data + 1); in connect_tag()
/linux/tools/lib/thermal/
H A Dsampling.c14 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_sample()
H A Dthermal_nl.c79 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl_family_handler()
H A Devents.c24 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_event()
/linux/tools/accounting/
H A Dprocacct.c80 struct genlmsghdr g;
173 struct genlmsghdr g; in get_family_id()
H A Dgetdelays.c68 struct genlmsghdr g;
166 struct genlmsghdr g; in get_family_id()
/linux/Documentation/translations/zh_CN/accounting/
H A Dtaskstats.rst66 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
/linux/Documentation/userspace-api/netlink/
H A Dintro.rst106 header is struct genlmsghdr.
119 struct genlmsghdr {
130 identify the subsystem, and :c:member:`genlmsghdr.cmd` identifies
166 The expected use for :c:member:`genlmsghdr.version` was to allow
270 struct genlmsghdr:
300 struct genlmsghdr:
457 struct genlmsghdr:
566 3. Generic Netlink is a family for AF_NETLINK (struct genlmsghdr follows
/linux/tools/net/ynl/lib/
H A Dynl.c438 struct genlmsghdr gehdr; in ynl_gemsg_start()
601 ynl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ynl_get_family_info_cb()
794 struct genlmsghdr *gehdr; in ynl_ntf_parse()
866 struct genlmsghdr *gehdr; in ynl_check_alien()
/linux/tools/lib/bpf/
H A Dnlattr.h62 struct genlmsghdr gnl;
H A Dnetlink.c252 struct genlmsghdr *gnl = NLMSG_DATA(nh); in parse_genl_family_id()
408 struct genlmsghdr *gnl = NLMSG_DATA(nh); in parse_xdp_features()
/linux/tools/testing/selftests/net/
H A Dnetlink-dumps.c151 struct genlmsghdr genlhdr;
/linux/fs/smb/client/
H A Dcifs_swn.c79 struct genlmsghdr *hdr; in cifs_swn_send_register_message()
185 struct genlmsghdr *hdr; in cifs_swn_send_unregister_message()
/linux/kernel/
H A Dtaskstats.c99 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_reply()
113 struct genlmsghdr *genlhdr = nlmsg_data(nlmsg_hdr(skb)); in send_cpu_listeners()
/linux/Documentation/networking/
H A Dl2tp.rst274 struct genlmsghdr *gnlh;
295 struct genlmsghdr *gnlh;
319 struct genlmsghdr *gnlh;
337 struct genlmsghdr *gnlh;
/linux/net/netlink/
H A Dgenetlink.c897 struct genlmsghdr *hdr; in genlmsg_put()
1127 struct nlmsghdr *nlh, struct genlmsghdr *hdr, in genl_header_check()
1162 struct genlmsghdr *hdr = nlmsg_data(nlh); in genl_family_rcv_msg()
/linux/net/core/
H A Ddrop_monitor.c178 struct genlmsghdr *gnlh = (struct genlmsghdr *)nlmsg_data(nlh); in reset_per_cpu_data()
/linux/Documentation/accounting/
H A Dtaskstats.rst72 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
/linux/fs/smb/server/
H A Dtransport_ipc.c443 struct genlmsghdr *nlh; in ipc_msg_send()
/linux/net/ethtool/
H A Dnetlink.c607 struct genlmsghdr *ghdr; in ethnl_default_start()
/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c6544 struct genlmsghdr *gnlh; in hwsim_virtio_handle_cmd()