Symbol: NLA_HDRLEN
include/net/netlink.h
1251
return NLA_HDRLEN + payload;
include/net/netlink.h
1287
return (char *) nla + NLA_HDRLEN;
include/net/netlink.h
1296
return nla->nla_len - NLA_HDRLEN;
lib/nlattr.c
103
if (nla_len(entry) < NLA_HDRLEN) {
lib/nlattr.c
43
[NLA_NESTED] = NLA_HDRLEN,
lib/nlattr.c
509
if (attrlen < NLA_HDRLEN)
lib/nlattr.c
531
if (attrlen < NLA_HDRLEN)
net/core/bpf_sk_storage.c
543
BUILD_BUG_ON(U16_MAX - NLA_HDRLEN < BPF_LOCAL_STORAGE_MAX_VALUE_SIZE);
net/core/drop_monitor.c
690
#define NET_DM_MAX_PACKET_SIZE (0xffff - NLA_HDRLEN - NLA_ALIGNTO)
net/core/rtnetlink.c
3272
nla_len(attr) < NLA_HDRLEN) {
net/core/rtnetlink.c
3302
nla_len(attr) < NLA_HDRLEN) {
net/devlink/health.c
770
#define DEVLINK_FMSG_MAX_SIZE (GENLMSG_DEFAULT_SIZE - GENL_HDRLEN - NLA_HDRLEN)
net/ife/ife.c
112
if (tlvlen < NLA_HDRLEN)
net/ife/ife.c
136
*dlen = ntohs(tlv->len) - NLA_HDRLEN;
net/ife/ife.c
163
char *dptr = (char *) tlv + NLA_HDRLEN;
net/ife/ife.c
164
u32 htlv = attrtype << 16 | (dlen + NLA_HDRLEN);
net/ife/ife.c
167
memset(dptr, 0, totlen - NLA_HDRLEN);
net/netfilter/nf_conntrack_proto_sctp.c
592
NLA_ALIGN(NLA_HDRLEN + 1) + \
net/netfilter/nf_conntrack_proto_sctp.c
593
NLA_ALIGN(NLA_HDRLEN + 4) + \
net/netfilter/nf_conntrack_proto_sctp.c
594
NLA_ALIGN(NLA_HDRLEN + 4))
net/netfilter/nf_conntrack_proto_tcp.c
1396
NLA_ALIGN(NLA_HDRLEN + 1) + \
net/netfilter/nf_conntrack_proto_tcp.c
1397
NLA_ALIGN(NLA_HDRLEN + 1) + \
net/netfilter/nf_conntrack_proto_tcp.c
1398
NLA_ALIGN(NLA_HDRLEN + sizeof(struct nf_ct_tcp_flags)) + \
net/netfilter/nf_conntrack_proto_tcp.c
1399
NLA_ALIGN(NLA_HDRLEN + sizeof(struct nf_ct_tcp_flags)))
net/netfilter/nfnetlink_log.c
55
#define NFULNL_COPY_RANGE_MAX (0xFFFF - NLA_HDRLEN)
net/netfilter/nfnetlink_queue.c
61
#define NFQNL_MAX_COPY_RANGE (0xffff - NLA_HDRLEN)
net/openvswitch/flow_netlink.c
2543
if (!actions || (nla_len(actions) && nla_len(actions) < NLA_HDRLEN))
net/openvswitch/flow_netlink.c
2617
if (!actions || (nla_len(actions) && nla_len(actions) < NLA_HDRLEN)) {
net/openvswitch/flow_netlink.c
2652
if (nla_len(attr) && nla_len(attr) < NLA_HDRLEN)
net/psample/psample.c
408
data_len = PSAMPLE_MAX_PACKET_SIZE - meta_len - NLA_HDRLEN
net/wireless/nl80211.c
19716
link_info_size += NLA_HDRLEN;
net/wireless/nl80211.c
19831
link_info_size += NLA_HDRLEN;
tools/accounting/delaytop.c
443
na->nla_len = nla_len + NLA_HDRLEN;
tools/accounting/delaytop.c
54
#define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN))
tools/accounting/delaytop.c
55
#define NLA_PAYLOAD(len) (len - NLA_HDRLEN)
tools/accounting/getdelays.c
139
na->nla_len = nla_len + NLA_HDRLEN;
tools/accounting/getdelays.c
40
#define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN))
tools/accounting/getdelays.c
41
#define NLA_PAYLOAD(len) (len - NLA_HDRLEN)
tools/accounting/procacct.c
145
na->nla_len = nla_len + 1 + NLA_HDRLEN;
tools/accounting/procacct.c
51
#define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN))
tools/accounting/procacct.c
52
#define NLA_PAYLOAD(len) (len - NLA_HDRLEN)
tools/lib/bpf/nlattr.h
120
return nla->nla_len - NLA_HDRLEN;
tools/lib/bpf/nlattr.h
133
return (struct nlattr *)((void *)nla + NLA_HDRLEN);
tools/lib/bpf/nlattr.h
146
if (NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(NLA_HDRLEN + len) > sizeof(*req))
tools/lib/bpf/nlattr.h
153
nla->nla_len = NLA_HDRLEN + len;
tools/lib/bpf/nlattr.h
86
return (void *)nla + NLA_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
197
return attr->nla_len - NLA_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
202
return (unsigned char *)attr + NLA_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
262
o = nlh->nlmsg_len + NLA_HDRLEN + NLMSG_ALIGN(size) > nlh->nlmsg_pid;
tools/net/ynl/lib/ynl-priv.h
281
nlh->nlmsg_len += NLA_HDRLEN;
tools/net/ynl/lib/ynl-priv.h
303
attr->nla_len = NLA_HDRLEN + size;
tools/net/ynl/lib/ynl-priv.h
324
attr->nla_len = NLA_HDRLEN + len;
tools/testing/selftests/bpf/prog_tests/test_bpf_smc.c
55
#define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN))
tools/testing/selftests/bpf/prog_tests/test_bpf_smc.c
56
#define NLA_PAYLOAD(len) ((len) - NLA_HDRLEN)
tools/testing/selftests/bpf/prog_tests/test_bpf_smc.c
83
na->nla_len = nla_len + 1 + NLA_HDRLEN;
tools/testing/selftests/nci/nci_dev.c
134
na->nla_len = nla_len[cnt] + NLA_HDRLEN;
tools/testing/selftests/nci/nci_dev.c
139
prv_len = NLA_ALIGN(nla_len[cnt]) + NLA_HDRLEN;
tools/testing/selftests/nci/nci_dev.c
214
nested_na = (struct nlattr *)((char *)na + NLA_HDRLEN);
tools/testing/selftests/nci/nci_dev.c
215
group_na = (struct nlattr *)((char *)nested_na + NLA_HDRLEN);
tools/testing/selftests/nci/nci_dev.c
222
NLA_HDRLEN);
tools/testing/selftests/nci/nci_dev.c
227
NLA_HDRLEN;
tools/testing/selftests/nci/nci_dev.c
23
#define NLA_DATA(na) ((void *)((char *)(na) + NLA_HDRLEN))
tools/testing/selftests/nci/nci_dev.c
24
#define NLA_PAYLOAD(len) ((len) - NLA_HDRLEN)
tools/testing/selftests/nci/nci_dev.c
680
targetidx = *(int *)((char *)na + NLA_HDRLEN);
tools/testing/selftests/nci/nci_dev.c
682
sel_res = *(__u8 *)((char *)na + NLA_HDRLEN);
tools/testing/selftests/nci/nci_dev.c
684
protocol = *(__u32 *)((char *)na + NLA_HDRLEN);
tools/testing/selftests/nci/nci_dev.c
735
evt_dev = *(int *)((char *)na + NLA_HDRLEN);