Home
last modified time | relevance | path

Searched refs:NLA_HDRLEN (Results 1 – 7 of 7) sorted by relevance

/linux-3.3/net/can/
Dgw.c466 nlh->nlmsg_len += NLA_HDRLEN + NLA_ALIGN(sizeof(u32)); in cgw_put_job()
473 nlh->nlmsg_len += NLA_HDRLEN + NLA_ALIGN(sizeof(u32)); in cgw_put_job()
484 nlh->nlmsg_len += NLA_HDRLEN + NLA_ALIGN(sizeof(mb)); in cgw_put_job()
493 nlh->nlmsg_len += NLA_HDRLEN + NLA_ALIGN(sizeof(mb)); in cgw_put_job()
502 nlh->nlmsg_len += NLA_HDRLEN + NLA_ALIGN(sizeof(mb)); in cgw_put_job()
511 nlh->nlmsg_len += NLA_HDRLEN + NLA_ALIGN(sizeof(mb)); in cgw_put_job()
519 nlh->nlmsg_len += NLA_HDRLEN + \ in cgw_put_job()
528 nlh->nlmsg_len += NLA_HDRLEN + \ in cgw_put_job()
539 nlh->nlmsg_len += NLA_HDRLEN + in cgw_put_job()
546 nlh->nlmsg_len += NLA_HDRLEN + NLA_ALIGN(sizeof(u32)); in cgw_put_job()
[all …]
/linux-3.3/lib/
Dnlattr.c24 [NLA_NESTED] = NLA_HDRLEN,
81 if (attrlen < NLA_ALIGN(pt->len) + NLA_HDRLEN) in validate_nla()
84 if (attrlen < NLA_ALIGN(pt->len) + NLA_HDRLEN + nla_len(nla)) in validate_nla()
/linux-3.3/Documentation/accounting/
Dgetdelays.c38 #define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN))
39 #define NLA_PAYLOAD(len) (len - NLA_HDRLEN)
140 na->nla_len = nla_len + 1 + NLA_HDRLEN; in send_cmd()
/linux-3.3/include/net/
Dnetlink.h682 return NLA_HDRLEN + payload; in nla_attr_size()
718 return (char *) nla + NLA_HDRLEN; in nla_data()
727 return nla->nla_len - NLA_HDRLEN; in nla_len()
/linux-3.3/include/linux/
Dnetlink.h150 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) macro
/linux-3.3/crypto/
Dtestmgr.h13053 .nla_len = NLA_HDRLEN + sizeof(int),
13059 .nla_len = NLA_HDRLEN + sizeof(int),
13065 .nla_len = NLA_HDRLEN + sizeof(int),
13071 .nla_len = NLA_HDRLEN + sizeof(int),
13077 .nla_len = NLA_HDRLEN + sizeof(int),
13090 .nla_len = NLA_HDRLEN + sizeof(int),
/linux-3.3/net/openvswitch/
Ddatapath.c420 if (!actions || (nla_len(actions) && nla_len(actions) < NLA_HDRLEN)) in validate_sample()