/openbmc/linux/include/uapi/linux/ |
H A D | genetlink.h | 13 struct genlmsghdr { struct 19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) argument
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 54 struct genlmsghdr *gh; in init_genl_req() 108 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + 1024]; in capture_events() 109 struct genlmsghdr *ghdr; in capture_events() 125 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + 1024; 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() [all …]
|
/openbmc/linux/include/net/ |
H A D | genetlink.h | 111 struct genlmsghdr * genlhdr; 288 struct genlmsghdr *hdr = (void *) &info->user_ptr[0]; in genl_info_init_ntf() 513 static inline void *genlmsg_data(const struct genlmsghdr *gnlh) in genlmsg_data() 522 static inline int genlmsg_len(const struct genlmsghdr *gnlh) in genlmsg_len()
|
/openbmc/linux/tools/net/ynl/lib/ |
H A D | ynl.c | 192 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 D | handshake-user.c | 174 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 D | devlink-user.c | 448 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 D | ethtool-user.c | 1573 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 D | netdev-user.c | 82 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in netdev_dev_get_rsp_parse()
|
H A D | fou-user.c | 174 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in fou_get_rsp_parse()
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A D | hfi-events.c | 126 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in family_handler() 193 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_event()
|
/openbmc/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 86 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/tools/lib/thermal/ |
H A D | sampling.c | 14 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_sample()
|
H A D | thermal_nl.c | 79 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl_family_handler()
|
H A D | events.c | 24 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_event()
|
/openbmc/linux/Documentation/translations/zh_CN/accounting/ |
H A D | taskstats.rst | 66 | nlmsghdr | Pad | genlmsghdr | taskstats payload |
|
/openbmc/linux/tools/accounting/ |
H A D | procacct.c | 80 struct genlmsghdr g; 173 struct genlmsghdr g; in get_family_id()
|
H A D | getdelays.c | 68 struct genlmsghdr g; 166 struct genlmsghdr g; in get_family_id()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | nlattr.h | 62 struct genlmsghdr gnl;
|
H A D | netlink.c | 252 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 D | intro.rst | 106 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 D | cifs_swn.c | 79 struct genlmsghdr *hdr; in cifs_swn_send_register_message() 185 struct genlmsghdr *hdr; in cifs_swn_send_unregister_message()
|
/openbmc/linux/kernel/ |
H A D | taskstats.c | 99 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 D | l2tp.rst | 274 struct genlmsghdr *gnlh; 295 struct genlmsghdr *gnlh; 319 struct genlmsghdr *gnlh; 337 struct genlmsghdr *gnlh;
|
/openbmc/linux/net/netlink/ |
H A D | genetlink.c | 753 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 D | drop_monitor.c | 177 struct genlmsghdr *gnlh = (struct genlmsghdr *)nlmsg_data(nlh); in reset_per_cpu_data()
|