Home
last modified time | relevance | path

Searched refs:GENL_HDRLEN (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/include/net/
Dgenetlink.h9 #define GENLMSG_DEFAULT_SIZE (NLMSG_DEFAULT_SIZE - GENL_HDRLEN)
163 GENL_HDRLEN - in genlmsg_nlhdr()
182 return nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
226 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_end()
237 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_cancel()
315 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data()
326 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
335 return GENL_HDRLEN + payload; in genlmsg_msg_size()
/Linux-v4.19/include/uapi/linux/
Dgenetlink.h19 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/Linux-v4.19/tools/accounting/
Dgetdelays.c37 #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-v4.19/net/netlink/
Dgenetlink.c446 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + in genlmsg_put()
456 return (char *) hdr + GENL_HDRLEN; in genlmsg_put()
516 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg()
589 info.userhdr = nlmsg_data(nlh) + GENL_HDRLEN; in genl_family_rcv_msg()
/Linux-v4.19/net/tipc/
Dnetlink_compat.c146 hdr_len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_tlv_alloc()
1192 msg.req = nlmsg_data(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN; in tipc_nl_compat_recv()
1203 len = nlmsg_attrlen(req_nlh, GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv()
1219 len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv()
Dnetlink.c276 return nlmsg_parse(nlh, GENL_HDRLEN, *attr, maxattr, tipc_nl_policy, in tipc_nlmsg_parse()
/Linux-v4.19/net/batman-adv/
Dnetlink.c119 struct nlattr *attr = nlmsg_find_attr(nlh, GENL_HDRLEN, attrtype); in batadv_netlink_get_ifindex()
/Linux-v4.19/net/ieee802154/
Dnl802154.c250 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl802154_fam.hdrsize, in nl802154_prepare_wpan_dev_dump()
564 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl802154_fam.hdrsize, tb, in nl802154_dump_wpan_phy_parse()
/Linux-v4.19/net/nfc/
Dnetlink.c122 rc = nlmsg_parse(cb->nlh, GENL_HDRLEN + nfc_genl_family.hdrsize, in __get_device_from_cb()
/Linux-v4.19/drivers/block/drbd/
Ddrbd_nl.c3238 const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; in find_cfg_context_attr()
4002 const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; in drbd_adm_get_status_all()
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_ctl.c3236 if (nlmsg_parse(cb->nlh, GENL_HDRLEN, attrs, IPVS_CMD_ATTR_MAX, in ip_vs_genl_dump_dests()
/Linux-v4.19/net/wireless/
Dnl80211.c578 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_wdev_dump()
2109 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, tb, in nl80211_dump_wiphy_parse()
9230 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_testmode_dump()
12394 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, attrbuf, in nl80211_prepare_vendor_dump()
/Linux-v4.19/drivers/scsi/
Dpmcraid.c1435 (total_size + (GENL_HDRLEN + in pmcraid_notify_aen()
/Linux-v4.19/net/core/
Ddevlink.c3497 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + devlink_nl_family.hdrsize, in devlink_nl_cmd_region_read_dumpit()