Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dgenetlink.h8 #define GENLMSG_DEFAULT_SIZE (NLMSG_DEFAULT_SIZE - GENL_HDRLEN)
207 GENL_HDRLEN - in genlmsg_nlhdr()
224 return nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse()
270 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_end()
281 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_cancel()
359 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data()
370 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
379 return GENL_HDRLEN + payload; in genlmsg_msg_size()
/linux-4.1.27/include/uapi/linux/
Dgenetlink.h18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
/linux-4.1.27/Documentation/accounting/
Dgetdelays.c36 #define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
37 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
129 msg.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN); in send_cmd()
/linux-4.1.27/net/tipc/
Dnetlink.c159 return nlmsg_parse(nlh, GENL_HDRLEN, *attr, maxattr, tipc_nl_policy); in tipc_nlmsg_parse()
Dnetlink_compat.c144 hdr_len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_tlv_alloc()
1015 msg.req = nlmsg_data(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN; in tipc_nl_compat_recv()
1025 len = nlmsg_attrlen(req_nlh, GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv()
1041 len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv()
/linux-4.1.27/net/netlink/
Dgenetlink.c502 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + in genlmsg_put()
512 return (char *) hdr + GENL_HDRLEN; in genlmsg_put()
557 hdrlen = GENL_HDRLEN + family->hdrsize; in genl_family_rcv_msg()
623 info.userhdr = nlmsg_data(nlh) + GENL_HDRLEN; in genl_family_rcv_msg()
/linux-4.1.27/net/ieee802154/
Dnl802154.c328 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl802154_fam.hdrsize, in nl802154_dump_wpan_phy_parse()
/linux-4.1.27/net/nfc/
Dnetlink.c119 rc = nlmsg_parse(cb->nlh, GENL_HDRLEN + nfc_genl_family.hdrsize, in __get_device_from_cb()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_nl.c3199 const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; in drbd_adm_get_status_all()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_ctl.c3188 if (nlmsg_parse(cb->nlh, GENL_HDRLEN, attrs, in ip_vs_genl_dump_dests()
/linux-4.1.27/drivers/scsi/
Dpmcraid.c1445 (total_size + (GENL_HDRLEN + in pmcraid_notify_aen()
/linux-4.1.27/net/wireless/
Dnl80211.c491 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_wdev_dump()
1738 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_dump_wiphy_parse()
7571 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_testmode_dump()