Home
last modified time | relevance | path

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

12

/openbmc/linux/include/uapi/linux/
H A Dgenetlink.h13 struct genlmsghdr { struct
19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) argument
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c54 struct genlmsghdr *gh; in init_genl_req()
109 struct genlmsghdr *ghdr; in capture_events()
142 ghdr = (struct genlmsghdr *)NLMSG_DATA(nh); in capture_events()
248 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily()
317 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in resolve_mptcp_pm_netlink()
342 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in dsf()
454 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in csf()
580 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in remove_addr()
629 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in announce_addr()
756 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in add_addr()
[all …]
/openbmc/linux/include/net/
H A Dgenetlink.h111 struct genlmsghdr * genlhdr;
288 struct genlmsghdr *hdr = (void *) &info->user_ptr[0]; in genl_info_init_ntf()
514 static inline void *genlmsg_data(const struct genlmsghdr *gnlh) in genlmsg_data()
523 static inline int genlmsg_len(const struct genlmsghdr *gnlh) in genlmsg_len()
/openbmc/linux/tools/net/ynl/lib/
H A Dynl.c192 sizeof(struct genlmsghdr)); in ynl_ext_ack_check()
197 off -= sizeof(struct genlmsghdr); in ynl_ext_ack_check()
218 sizeof(struct genlmsghdr)); in ynl_ext_ack_check()
225 off -= sizeof(struct genlmsghdr); in ynl_ext_ack_check()
412 struct genlmsghdr gehdr; in ynl_gemsg_start()
523 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ynl_get_family_info_cb()
703 struct genlmsghdr *gehdr; in ynl_ntf_parse()
794 struct genlmsghdr *gehdr; in ynl_check_alien()
/openbmc/linux/tools/net/ynl/generated/
H A Dhandshake-user.c174 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in handshake_accept_rsp_parse()
220 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in handshake_accept_rsp_parse()
233 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in handshake_accept_rsp_parse()
H A Ddevlink-user.c448 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_get_rsp_parse()
596 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_port_get_rsp_parse()
676 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_port_get_rsp_dump_parse()
783 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_get_rsp_parse()
925 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_pool_get_rsp_parse()
1077 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_port_pool_get_rsp_parse()
1239 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_tc_pool_bind_get_rsp_parse()
1407 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_param_get_rsp_parse()
1559 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_region_get_rsp_parse()
1742 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_info_get_rsp_parse()
[all …]
H A Dethtool-user.c1573 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_strset_get_rsp_parse()
1709 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_linkinfo_get_rsp_parse()
1898 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_linkmodes_get_rsp_parse()
2128 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_linkstate_get_rsp_parse()
2278 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_debug_get_rsp_parse()
2445 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_wol_get_rsp_parse()
2628 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_features_get_rsp_parse()
2805 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_features_set_rsp_parse()
2923 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_privflags_get_rsp_parse()
3090 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_rings_get_rsp_parse()
[all …]
H A Dnetdev-user.c82 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in netdev_dev_get_rsp_parse()
H A Dfou-user.c174 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in fou_get_rsp_parse()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/Documentation/translations/zh_CN/accounting/
H A Dtaskstats.rst66 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
/openbmc/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()
/openbmc/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()
/openbmc/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
266 struct genlmsghdr:
296 struct genlmsghdr:
453 struct genlmsghdr:
562 3. Generic Netlink is a family for AF_NETLINK (struct genlmsghdr follows
/openbmc/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()
/openbmc/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()
/openbmc/linux/Documentation/networking/
H A Dl2tp.rst274 struct genlmsghdr *gnlh;
295 struct genlmsghdr *gnlh;
319 struct genlmsghdr *gnlh;
337 struct genlmsghdr *gnlh;
/openbmc/linux/net/netlink/
H A Dgenetlink.c753 struct genlmsghdr *hdr; in genlmsg_put()
983 struct nlmsghdr *nlh, struct genlmsghdr *hdr, in genl_header_check()
1018 struct genlmsghdr *hdr = nlmsg_data(nlh); in genl_family_rcv_msg()
/openbmc/linux/net/core/
H A Ddrop_monitor.c177 struct genlmsghdr *gnlh = (struct genlmsghdr *)nlmsg_data(nlh); in reset_per_cpu_data()

12