/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | genetlink.h | 13 struct genlmsghdr { struct 18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 40 struct genlmsghdr *gh; in init_genl_req() 120 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); in genl_parse_getfamily() 150 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in resolve_mptcp_pm_netlink() 175 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in add_addr() 286 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in del_addr() 428 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in get_addr() 468 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in dump_addrs() 490 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in flush_addrs() 542 NLMSG_ALIGN(sizeof(struct genlmsghdr)) + in get_set_limits()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | genetlink.h | 13 struct genlmsghdr { struct 19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | genetlink.h | 13 struct genlmsghdr { struct 19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | genetlink.h | 26 struct genlmsghdr { struct 31 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | genetlink.h | 26 struct genlmsghdr { struct 31 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
|
/kernel/linux/linux-6.6/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() 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()
|
/kernel/linux/linux-5.10/net/wimax/ |
H A D | op-msg.c | 174 nla = nlmsg_find_attr(nlh, sizeof(struct genlmsghdr), in wimax_msg_data_len() 196 nla = nlmsg_find_attr(nlh, sizeof(struct genlmsghdr), in wimax_msg_data() 217 nla = nlmsg_find_attr(nlh, sizeof(struct genlmsghdr), in wimax_msg_len()
|
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-6.6/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() argument 703 struct genlmsghdr *gehdr; in ynl_ntf_parse() 794 struct genlmsghdr *gehdr; in ynl_check_alien()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | genetlink.h | 91 struct genlmsghdr * genlhdr; 370 static inline void *genlmsg_data(const struct genlmsghdr *gnlh) in genlmsg_data() 379 static inline int genlmsg_len(const struct genlmsghdr *gnlh) in genlmsg_len()
|
/kernel/linux/linux-6.6/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() argument 220 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in handshake_accept_rsp_parse() argument 233 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in handshake_accept_rsp_parse() argument
|
H A D | devlink-user.c | 448 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_get_rsp_parse() argument 596 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_port_get_rsp_parse() argument 676 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_port_get_rsp_dump_parse() argument 783 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_get_rsp_parse() argument 925 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_pool_get_rsp_parse() argument 1077 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_port_pool_get_rsp_parse() argument 1239 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_sb_tc_pool_bind_get_rsp_parse() argument 1407 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_param_get_rsp_parse() argument 1559 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_region_get_rsp_parse() argument 1742 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in devlink_info_get_rsp_parse() argument 1803 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_info_get_rsp_parse() argument 1817 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_info_get_rsp_parse() argument 1831 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_info_get_rsp_parse() argument 1959 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_health_reporter_get_rsp_parse() argument 2122 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_trap_get_rsp_parse() argument 2274 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_trap_group_get_rsp_parse() argument 2427 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_trap_policer_get_rsp_parse() argument 2574 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_rate_get_rsp_parse() argument 2731 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_linecard_get_rsp_parse() argument 2874 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) devlink_selftests_get_rsp_parse() argument [all...] |
H A D | netdev-user.c | 82 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in netdev_dev_get_rsp_parse() argument
|
H A D | ethtool-user.c | 1573 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_strset_get_rsp_parse() argument 1709 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_linkinfo_get_rsp_parse() argument 1898 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_linkmodes_get_rsp_parse() argument 2128 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_linkstate_get_rsp_parse() argument 2278 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_debug_get_rsp_parse() argument 2445 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_wol_get_rsp_parse() argument 2628 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_features_get_rsp_parse() argument 2805 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_features_set_rsp_parse() argument 2923 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_privflags_get_rsp_parse() argument 3090 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) { in ethtool_rings_get_rsp_parse() argument 3346 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_channels_get_rsp_parse() argument 3554 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_coalesce_get_rsp_parse() argument 3896 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_pause_get_rsp_parse() argument 4091 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_eee_get_rsp_parse() argument 4300 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_tsinfo_get_rsp_parse() argument 4509 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_tunnel_info_get_rsp_parse() argument 4641 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_fec_get_rsp_parse() argument 4836 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_module_eeprom_get_rsp_parse() argument 4992 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_phc_vclocks_get_rsp_parse() argument 5117 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_module_get_rsp_parse() argument 5282 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_pse_get_rsp_parse() argument 5448 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_rss_get_rsp_parse() argument 5597 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_plca_get_cfg_rsp_parse() argument 5805 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_plca_get_status_rsp_parse() argument 5966 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_mm_get_rsp_parse() argument 6164 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_cable_test_ntf_rsp_parse() argument 6205 mnl_attr_for_each(attr, nlh, sizeof(struct genlmsghdr)) ethtool_cable_test_tdr_ntf_rsp_parse() argument [all...] |
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/tools/lib/thermal/ |
H A D | sampling.c | 14 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_sample()
|
H A D | events.c | 24 struct genlmsghdr *genlhdr = genlmsg_hdr(nlh); in handle_thermal_event()
|
H A D | thermal_nl.c | 79 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl_family_handler()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | netlink.c | 50 struct genlmsghdr *genlhdr = nlmsg_data((struct nlmsghdr *)skb->data); in send_data()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | nlattr.h | 62 struct genlmsghdr gnl;
|
/kernel/linux/linux-5.10/tools/accounting/ |
H A D | getdelays.c | 69 struct genlmsghdr g; 167 struct genlmsghdr g; in get_family_id()
|