Symbol: NLMSG_ALIGN
drivers/infiniband/core/addr.c
154
len += NLMSG_ALIGN(sizeof(*header));
drivers/infiniband/core/addr.c
168
header = skb_put(skb, NLMSG_ALIGN(sizeof(*header)));
drivers/infiniband/core/netlink.c
248
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
drivers/infiniband/core/sa_query.c
773
header = skb_put(skb, NLMSG_ALIGN(sizeof(*header)));
drivers/infiniband/core/sa_query.c
839
len += NLMSG_ALIGN(sizeof(struct rdma_ls_resolve_header));
drivers/net/vrf.c
1495
sz = NLMSG_ALIGN(sizeof(struct fib_rule_hdr));
drivers/net/vxlan/vxlan_core.c
254
return NLMSG_ALIGN(sizeof(struct ndmsg))
drivers/net/vxlan/vxlan_mdb.c
1507
nlmsg_size = NLMSG_ALIGN(sizeof(struct br_port_msg)) +
drivers/net/vxlan/vxlan_mdb.c
981
return NLMSG_ALIGN(sizeof(struct br_port_msg)) +
drivers/net/vxlan/vxlan_vnifilter.c
202
return NLMSG_ALIGN(sizeof(struct tunnel_msg))
drivers/scsi/scsi_netlink.c
50
rlen = NLMSG_ALIGN(nlh->nlmsg_len);
drivers/scsi/scsi_transport_iscsi.c
2843
skb_trim(skbstat, NLMSG_ALIGN(actual_size));
drivers/scsi/scsi_transport_iscsi.c
3354
skb_trim(skbchap, NLMSG_ALIGN(actual_size));
drivers/scsi/scsi_transport_iscsi.c
3760
skb_trim(skbhost_stats, NLMSG_ALIGN(actual_size));
drivers/scsi/scsi_transport_iscsi.c
4073
rlen = NLMSG_ALIGN(nlh->nlmsg_len);
include/net/genetlink.h
601
return NLMSG_ALIGN(genlmsg_msg_size(payload));
include/net/netlink.h
1016
if (unlikely(skb_tailroom(skb) < NLMSG_ALIGN(size)))
include/net/netlink.h
1019
if (NLMSG_ALIGN(size) - size)
include/net/netlink.h
1021
NLMSG_ALIGN(size) - size);
include/net/netlink.h
1022
return __skb_put(skb, NLMSG_ALIGN(size));
include/net/netlink.h
592
return NLMSG_ALIGN(nlmsg_msg_size(payload));
include/net/netlink.h
647
return (struct nlattr *) (data + NLMSG_ALIGN(hdrlen));
include/net/netlink.h
657
return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen);
include/net/netlink.h
683
int totlen = NLMSG_ALIGN(nlh->nlmsg_len);
include/uapi/linux/genetlink.h
19
#define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
include/uapi/linux/if_addr.h
69
#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
include/uapi/linux/if_link.h
401
#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
include/uapi/linux/netfilter/nfnetlink_compat.h
60
+ NLMSG_ALIGN(sizeof(struct nfgenmsg))))
include/uapi/linux/netlink.h
100
#define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
include/uapi/linux/netlink.h
102
#define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))
include/uapi/linux/netlink.h
104
#define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
include/uapi/linux/netlink.h
106
NLMSG_ALIGN((nlh)->nlmsg_len)))
include/uapi/linux/rtnetlink.h
407
#define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
include/uapi/linux/rtnetlink.h
663
#define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
include/uapi/linux/rtnetlink.h
817
#define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
include/uapi/linux/tipc_config.h
370
#define TIPC_GENL_HDRLEN NLMSG_ALIGN(sizeof(struct tipc_genlmsghdr))
net/bridge/br_fdb.c
167
return NLMSG_ALIGN(sizeof(struct ndmsg))
net/bridge/br_mdb.c
1606
nlmsg_size = NLMSG_ALIGN(sizeof(struct br_port_msg)) +
net/bridge/br_mdb.c
513
return NLMSG_ALIGN(sizeof(struct br_port_msg)) +
net/bridge/br_mdb.c
612
return NLMSG_ALIGN(sizeof(struct br_port_msg))
net/bridge/br_netlink.c
220
return NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/bridge/br_vlan.c
1900
return NLMSG_ALIGN(sizeof(struct br_vlan_msg))
net/bridge/br_vlan_options.c
465
return NLMSG_ALIGN(sizeof(struct br_vlan_msg))
net/core/drop_monitor.c
565
return NLMSG_ALIGN(size) +
net/core/drop_monitor.c
759
return NLMSG_ALIGN(size) +
net/core/fib_rules.c
1124
size_t payload = NLMSG_ALIGN(sizeof(struct fib_rule_hdr))
net/core/neighbour.c
3047
return NLMSG_ALIGN(sizeof(struct ndmsg))
net/core/neighbour.c
3058
return NLMSG_ALIGN(sizeof(struct ndmsg))
net/core/net_namespace.c
917
return NLMSG_ALIGN(sizeof(struct rtgenmsg))
net/core/rtnetlink.c
1296
size = NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/core/rtnetlink.c
4529
return NLMSG_ALIGN(sizeof(struct ndmsg)) +
net/core/rtnetlink.c
5458
return NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/core/rtnetlink.c
6105
size_t size = NLMSG_ALIGN(sizeof(struct if_stats_msg));
net/core/sock_diag.c
121
return NLMSG_ALIGN(sizeof(struct inet_diag_msg)
net/ipv4/devinet.c
1677
return NLMSG_ALIGN(sizeof(struct ifaddrmsg))
net/ipv4/devinet.c
2119
int size = NLMSG_ALIGN(sizeof(struct netconfmsg))
net/ipv4/fib_semantics.c
496
size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv4/igmp.c
1481
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
net/ipv4/ipmr.c
2516
NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv4/ipmr.c
2562
NLMSG_ALIGN(sizeof(struct rtgenmsg))
net/ipv4/nexthop.c
1053
size_t sz = NLMSG_ALIGN(sizeof(struct nhmsg));
net/ipv6/addrconf.c
509
int size = NLMSG_ALIGN(sizeof(struct netconfmsg))
net/ipv6/addrconf.c
5124
return NLMSG_ALIGN(sizeof(struct ifaddrmsg))
net/ipv6/addrconf.c
5740
return NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/ipv6/addrconf.c
6202
return NLMSG_ALIGN(sizeof(struct prefixmsg))
net/ipv6/addrlabel.c
523
return NLMSG_ALIGN(sizeof(struct ifaddrlblmsg))
net/ipv6/anycast.c
309
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
net/ipv6/ip6mr.c
2545
NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv6/ip6mr.c
2590
NLMSG_ALIGN(sizeof(struct rtgenmsg))
net/ipv6/mcast.c
909
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
net/ipv6/ndisc.c
1191
int base_size = NLMSG_ALIGN(sizeof(struct nduseroptmsg)
net/ipv6/route.c
5710
return NLMSG_ALIGN(sizeof(struct rtmsg))
net/mctp/device.c
53
return NLMSG_ALIGN(sizeof(struct ifaddrmsg))
net/mpls/af_mpls.c
1202
int size = NLMSG_ALIGN(sizeof(struct netconfmsg))
net/mpls/af_mpls.c
2294
NLMSG_ALIGN(sizeof(struct rtmsg))
net/netfilter/nf_conntrack_netlink.c
712
return NLMSG_ALIGN(sizeof(struct nfgenmsg))
net/netfilter/nfnetlink.c
563
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
net/netfilter/nfnetlink.c
625
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
net/netlink/af_netlink.c
2144
nlh = skb_put(skb, NLMSG_ALIGN(size));
net/netlink/af_netlink.c
2150
if (!__builtin_constant_p(size) || NLMSG_ALIGN(size) - size != 0)
net/netlink/af_netlink.c
2151
memset(nlmsg_data(nlh) + len, 0, NLMSG_ALIGN(size) - size);
net/netlink/af_netlink.c
2559
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
net/openvswitch/datapath.c
1581
size_t msgsize = NLMSG_ALIGN(sizeof(struct ovs_header));
net/openvswitch/datapath.c
416
size_t size = NLMSG_ALIGN(sizeof(struct ovs_header))
net/openvswitch/datapath.c
804
size_t len = NLMSG_ALIGN(sizeof(struct ovs_header));
net/phonet/pn_netlink.c
208
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct rtmsg)) +
net/phonet/pn_netlink.c
30
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
net/sched/act_api.c
2191
if (nla_parse_deprecated(tb, TCA_ACT_MAX_PRIO, nla_data(tb1), NLMSG_ALIGN(nla_len(tb1)), NULL, NULL) < 0)
net/xfrm/xfrm_user.c
1607
return NLMSG_ALIGN(4)
net/xfrm/xfrm_user.c
1744
return NLMSG_ALIGN(4)
net/xfrm/xfrm_user.c
2472
int len = NLMSG_ALIGN(sizeof(*up));
net/xfrm/xfrm_user.c
2535
int len = NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_default));
net/xfrm/xfrm_user.c
2673
return NLMSG_ALIGN(sizeof(struct xfrm_aevent_id))
net/xfrm/xfrm_user.c
3212
return NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_id))
net/xfrm/xfrm_user.c
3547
return NLMSG_ALIGN(sizeof(struct xfrm_user_expire)) +
net/xfrm/xfrm_user.c
3631
int len = NLMSG_ALIGN(sizeof(struct xfrm_usersa_flush));
net/xfrm/xfrm_user.c
3726
len += NLMSG_ALIGN(headlen);
net/xfrm/xfrm_user.c
3795
return NLMSG_ALIGN(sizeof(struct xfrm_user_acquire))
net/xfrm/xfrm_user.c
3926
return NLMSG_ALIGN(sizeof(struct xfrm_user_polexpire))
net/xfrm/xfrm_user.c
4002
len += NLMSG_ALIGN(headlen);
net/xfrm/xfrm_user.c
4106
return NLMSG_ALIGN(sizeof(struct xfrm_user_report));
net/xfrm/xfrm_user.c
4152
return NLMSG_ALIGN(sizeof(struct xfrm_user_mapping));
security/selinux/hooks.c
6189
msg_len = NLMSG_ALIGN(nlh->nlmsg_len);
tools/accounting/delaytop.c
445
msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len);
tools/accounting/getdelays.c
141
msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len);
tools/accounting/procacct.c
147
msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len);
tools/bpf/bpftool/net.c
222
attr = (struct nlattr *) ((void *) t + NLMSG_ALIGN(sizeof(*t)));
tools/bpf/bpftool/net.c
261
attr = (struct nlattr *) ((void *) t + NLMSG_ALIGN(sizeof(*t)));
tools/bpf/bpftool/net.c
300
attr = (struct nlattr *) ((void *) t + NLMSG_ALIGN(sizeof(*t)));
tools/bpf/bpftool/net.c
339
attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi)));
tools/include/uapi/linux/genetlink.h
19
#define GENL_HDRLEN NLMSG_ALIGN(sizeof(struct genlmsghdr))
tools/include/uapi/linux/if_addr.h
69
#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
tools/include/uapi/linux/if_link.h
398
#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
tools/include/uapi/linux/netlink.h
91
#define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
tools/include/uapi/linux/netlink.h
93
#define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))
tools/include/uapi/linux/netlink.h
95
#define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
tools/include/uapi/linux/netlink.h
96
(struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
tools/include/uapi/linux/rtnetlink.h
407
#define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
tools/include/uapi/linux/rtnetlink.h
663
#define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
tools/include/uapi/linux/rtnetlink.h
817
#define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
tools/lib/bpf/netlink.c
354
attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi)));
tools/lib/bpf/netlink.c
704
(struct nlattr *)((void *)tc + NLMSG_ALIGN(sizeof(*tc))),
tools/lib/bpf/nlattr.h
138
return (struct nlattr *)((void *)req + NLMSG_ALIGN(req->nh.nlmsg_len));
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
156
req->nh.nlmsg_len = NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(nla->nla_len);
tools/net/ynl/lib/ynl-priv.h
184
nlh->nlmsg_len += NLMSG_ALIGN(size);
tools/net/ynl/lib/ynl-priv.h
252
attr = (struct nlattr *)((char *)start + NLMSG_ALIGN(skip));
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
307
nlh->nlmsg_len += NLMSG_ALIGN(attr->nla_len);
tools/net/ynl/lib/ynl-priv.h
326
nlh->nlmsg_len += NLMSG_ALIGN(attr->nla_len);
tools/testing/selftests/bpf/netlink_helpers.c
211
status -= NLMSG_ALIGN(len);
tools/testing/selftests/bpf/netlink_helpers.c
212
h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len));
tools/testing/selftests/bpf/netlink_helpers.c
249
status -= NLMSG_ALIGN(len);
tools/testing/selftests/bpf/netlink_helpers.c
250
h = (struct nlmsghdr *)((char *)h + NLMSG_ALIGN(len));
tools/testing/selftests/bpf/netlink_helpers.c
318
if (NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) {
tools/testing/selftests/bpf/netlink_helpers.c
328
n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len);
tools/testing/selftests/bpf/netlink_helpers.c
334
if (NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len) > maxlen) {
tools/testing/selftests/bpf/netlink_helpers.c
341
memset((void *) NLMSG_TAIL(n) + len, 0, NLMSG_ALIGN(len) - len);
tools/testing/selftests/bpf/netlink_helpers.c
342
n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + NLMSG_ALIGN(len);
tools/testing/selftests/bpf/netlink_helpers.h
24
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
tools/testing/selftests/bpf/prog_tests/test_bpf_smc.c
85
msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len);
tools/testing/selftests/bpf/xsk.c
409
rta = (struct rtattr *)(((char *)&req) + NLMSG_ALIGN(req.nh.nlmsg_len));
tools/testing/selftests/bpf/xsk.c
412
req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) + RTA_LENGTH(sizeof(mtu));
tools/testing/selftests/landlock/audit.h
148
NLMSG_ALIGN(filter->exe_len),
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
104
u_int8_t buffer[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
105
NLMSG_ALIGN(sizeof(struct genlmsghdr)) + 1024];
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1113
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1114
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1140
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1147
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1156
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1165
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1166
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1195
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1204
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1205
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
123
res_len = NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
124
NLMSG_ALIGN(sizeof(struct genlmsghdr)) + 1024;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1256
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1257
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1284
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1290
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1352
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1353
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1380
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1392
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1407
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1414
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1450
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1465
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1488
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1497
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1512
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1519
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1526
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
326
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
327
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
343
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
351
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
352
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
414
off += NLMSG_ALIGN(addr->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
428
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
435
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
443
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
454
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
463
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
464
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
529
off += NLMSG_ALIGN(addr->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
543
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
550
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
559
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
569
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
57
off += NLMSG_ALIGN(sizeof(*nh));
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
577
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
588
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
597
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
598
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
62
off += NLMSG_ALIGN(sizeof(*gh));
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
625
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
635
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
646
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
647
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
672
off += NLMSG_ALIGN(addr->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
687
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
694
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
707
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
723
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
736
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
752
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
764
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
773
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
774
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
797
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
811
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
818
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
857
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
867
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
882
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
896
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
908
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
909
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
936
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
943
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
959
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
966
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1068
if ((int)(NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len)) > maxlen) {
tools/testing/selftests/net/ovpn/ovpn-cli.c
1083
n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1326
rcv_len -= NLMSG_ALIGN(len);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1328
NLMSG_ALIGN(len));