Searched refs:GENL_HDRLEN (Results 1 – 12 of 12) sorted by relevance
| /linux-4.4.14/include/net/ |
| D | genetlink.h | 8 #define GENLMSG_DEFAULT_SIZE (NLMSG_DEFAULT_SIZE - GENL_HDRLEN) 206 GENL_HDRLEN - in genlmsg_nlhdr() 223 return nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, in genlmsg_parse() 269 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_end() 280 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_cancel() 358 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data() 369 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len() 378 return GENL_HDRLEN + payload; in genlmsg_msg_size()
|
| /linux-4.4.14/include/uapi/linux/ |
| D | genetlink.h | 18 #define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr)) macro
|
| /linux-4.4.14/Documentation/accounting/ |
| D | getdelays.c | 36 #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.4.14/net/tipc/ |
| D | netlink.c | 159 return nlmsg_parse(nlh, GENL_HDRLEN, *attr, maxattr, tipc_nl_policy); in tipc_nlmsg_parse()
|
| D | netlink_compat.c | 146 hdr_len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_tlv_alloc() 1105 msg.req = nlmsg_data(req_nlh) + GENL_HDRLEN + TIPC_GENL_HDRLEN; in tipc_nl_compat_recv() 1116 len = nlmsg_attrlen(req_nlh, GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv() 1132 len = nlmsg_total_size(GENL_HDRLEN + TIPC_GENL_HDRLEN); in tipc_nl_compat_recv()
|
| /linux-4.4.14/net/netlink/ |
| D | genetlink.c | 502 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.4.14/net/ieee802154/ |
| D | nl802154.c | 261 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl802154_fam.hdrsize, in nl802154_prepare_wpan_dev_dump() 575 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl802154_fam.hdrsize, in nl802154_dump_wpan_phy_parse()
|
| /linux-4.4.14/net/nfc/ |
| D | netlink.c | 127 rc = nlmsg_parse(cb->nlh, GENL_HDRLEN + nfc_genl_family.hdrsize, in __get_device_from_cb()
|
| /linux-4.4.14/net/wireless/ |
| D | nl80211.c | 498 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_wdev_dump() 1751 int ret = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_dump_wiphy_parse() 7739 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_testmode_dump() 10188 err = nlmsg_parse(cb->nlh, GENL_HDRLEN + nl80211_fam.hdrsize, in nl80211_prepare_vendor_dump()
|
| /linux-4.4.14/drivers/block/drbd/ |
| D | drbd_nl.c | 3199 const unsigned hdrlen = GENL_HDRLEN + GENL_MAGIC_FAMILY_HDRSZ; in drbd_adm_get_status_all()
|
| /linux-4.4.14/net/netfilter/ipvs/ |
| D | ip_vs_ctl.c | 3211 if (nlmsg_parse(cb->nlh, GENL_HDRLEN, attrs, in ip_vs_genl_dump_dests()
|
| /linux-4.4.14/drivers/scsi/ |
| D | pmcraid.c | 1446 (total_size + (GENL_HDRLEN + in pmcraid_notify_aen()
|