Searched refs:GENL_HDRLEN (Results 1 – 14 of 14) sorted by relevance
/linux/include/net/ |
A D | genetlink.h | 9 #define GENLMSG_DEFAULT_SIZE (NLMSG_DEFAULT_SIZE - GENL_HDRLEN) 199 GENL_HDRLEN - in genlmsg_nlhdr() 218 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse_deprecated() 237 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse() 281 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_end() 292 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_cancel() 370 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data() 381 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len() 390 return GENL_HDRLEN + payload; in genlmsg_msg_size()
|
/linux/tools/testing/selftests/net/mptcp/ |
A D | pm_nl_ctl.c | 46 nh->nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in init_genl_req() 129 len -= NLMSG_LENGTH(GENL_HDRLEN); in genl_parse_getfamily() 137 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily() 475 len -= NLMSG_LENGTH(GENL_HDRLEN); in print_addrs() 477 GENL_HDRLEN); in print_addrs() 582 len -= NLMSG_LENGTH(GENL_HDRLEN); in print_limits() 584 GENL_HDRLEN); in print_limits()
|
/linux/tools/accounting/ |
A D | getdelays.c | 37 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN)) 38 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN) 130 msg.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in send_cmd()
|
/linux/include/uapi/linux/ |
A D | genetlink.h | 19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
|
/linux/net/tipc/ |
A D | netlink_compat.c | 153 hdr_len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_tlv_alloc() 218 err = nlmsg_parse_deprecated(cb.nlh, GENL_HDRLEN, attrbuf, in __tipc_nl_compat_dumpit() 230 err = nlmsg_parse_deprecated(nlmsg, GENL_HDRLEN, in __tipc_nl_compat_dumpit() 1306 msg.req = nlmsg_data(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN; in tipc_nl_compat_recv() 1317 msg.req_size = nlmsg_attrlen(req_nlh, GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv() 1333 len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv()
|
/linux/tools/testing/selftests/nci/ |
A D | nci_dev.c | 21 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN)) 22 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN) 122 msg.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in send_cmd_mt_nla()
|
/linux/net/netlink/ |
A D | genetlink.c | 494 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + in genlmsg_put() 504 return (char *) hdr + GENL_HDRLEN; in genlmsg_put() 719 info.userhdr = nlmsg_data(nlh) + GENL_HDRLEN; in genl_family_rcv_msg_doit() 756 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg()
|
/linux/net/core/ |
A D | drop_monitor.c | 556 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_packet_report_size() 726 size = nlmsg_msg_size(GENL_HDRLEN + net_drop_monitor_family.hdrsize); in net_dm_hw_packet_report_size()
|
A D | devlink.c | 6181 #define DEVLINK_FMSG_MAX_SIZE (GENLMSG_DEFAULT_SIZE - GENL_HDRLEN - NLA_HDRLEN)
|
/linux/net/batman-adv/ |
A D | netlink.c | 166 struct nlattr *attr = nlmsg_find_attr(nlh, GENL_HDRLEN, attrtype); in batadv_netlink_get_ifindex()
|
/linux/drivers/block/drbd/ |
A D | drbd_nl.c | 3286 const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; in find_cfg_context_attr() 4043 const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; in drbd_adm_get_status_all()
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_ctl.c | 3379 …if (nlmsg_parse_deprecated(cb->nlh, GENL_HDRLEN, attrs, IPVS_CMD_ATTR_MAX, ip_vs_cmd_policy, cb->e… in ip_vs_genl_dump_dests()
|
/linux/drivers/scsi/ |
A D | pmcraid.c | 1407 (total_size + (GENL_HDRLEN + in pmcraid_notify_aen()
|
/linux/net/wireless/ |
A D | nl80211.c | 958 GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_wdev_dump() 2869 GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_dump_wiphy_parse() 10836 GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_testmode_dump() 14081 GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_vendor_dump()
|
Completed in 92 milliseconds