Symbol: NLMSG_HDRLEN
drivers/connector/connector.c
145
if (nlh->nlmsg_len < NLMSG_HDRLEN + sizeof(struct cn_msg) + msg->len)
drivers/connector/connector.c
203
if (skb->len >= NLMSG_HDRLEN) {
drivers/infiniband/core/netlink.c
221
if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len)
drivers/scsi/pmcraid.c
1412
+ NLMSG_HDRLEN);
drivers/scsi/scsi_netlink.c
39
while (skb->len >= NLMSG_HDRLEN) {
drivers/scsi/scsi_transport_iscsi.c
4058
while (skb->len >= NLMSG_HDRLEN) {
include/linux/netlink.h
278
#define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
include/net/genetlink.h
375
NLMSG_HDRLEN);
include/net/genetlink.h
456
nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN);
include/net/genetlink.h
467
nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN);
include/net/genetlink.h
582
NLMSG_HDRLEN);
include/net/genetlink.h
583
return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN);
include/net/netlink.h
583
return NLMSG_HDRLEN + payload;
include/net/netlink.h
610
return (unsigned char *) nlh + NLMSG_HDRLEN;
include/net/netlink.h
619
return nlh->nlmsg_len - NLMSG_HDRLEN;
include/uapi/linux/netlink.h
101
#define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
include/uapi/linux/netlink.h
103
#define NLMSG_DATA(nlh) ((void *)(((char *)nlh) + NLMSG_HDRLEN))
kernel/audit.c
2774
nlh->nlmsg_len = skb->len - NLMSG_HDRLEN;
lib/kobject_uevent.c
729
skb_pull(skbc, NLMSG_HDRLEN);
net/netfilter/nfnetlink.c
451
if (nlh->nlmsg_len < NLMSG_HDRLEN ||
net/netfilter/nfnetlink.c
629
if (skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg))
net/netfilter/nfnetlink.c
656
if (skb->len < NLMSG_HDRLEN ||
net/netfilter/nfnetlink.c
657
nlh->nlmsg_len < NLMSG_HDRLEN ||
net/netlink/af_netlink.c
2539
if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len)
net/sched/act_api.c
462
return NLMSG_HDRLEN /* struct nlmsghdr */
net/xfrm/xfrm_compat.c
485
memcpy(dst, src, NLMSG_HDRLEN);
net/xfrm/xfrm_compat.c
486
dst->nlmsg_len = NLMSG_HDRLEN + xfrm_msg_min[type];
net/xfrm/xfrm_compat.c
628
len += NLMSG_HDRLEN;
security/selinux/hooks.c
6156
if (nlh->nlmsg_len < NLMSG_HDRLEN || nlh->nlmsg_len > data_len)
tools/include/uapi/linux/netlink.h
92
#define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
tools/lib/bpf/nlattr.c
83
return nlh->nlmsg_len - NLMSG_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
153
nlh->nlmsg_len = NLMSG_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
160
return nlh->nlmsg_len - NLMSG_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
165
return (unsigned char *)nlh + NLMSG_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
171
return (unsigned char *)nlh + NLMSG_HDRLEN + offset;
tools/net/ynl/lib/ynl-priv.h
212
NLMSG_HDRLEN + fixed_hdr_sz); attr; \