drivers/infiniband/core/addr.c
153
len += NLMSG_ALIGN(sizeof(*header));
drivers/infiniband/core/addr.c
167
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
1452
sz = NLMSG_ALIGN(sizeof(struct fib_rule_hdr));
drivers/net/vxlan/vxlan_core.c
253
return NLMSG_ALIGN(sizeof(struct ndmsg))
drivers/net/vxlan/vxlan_mdb.c
1513
nlmsg_size = NLMSG_ALIGN(sizeof(struct br_port_msg)) +
drivers/net/vxlan/vxlan_mdb.c
992
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
603
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
221
return NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/bridge/br_vlan.c
1905
return NLMSG_ALIGN(sizeof(struct br_vlan_msg))
net/bridge/br_vlan_options.c
484
return NLMSG_ALIGN(sizeof(struct br_vlan_msg))
net/core/drop_monitor.c
565
return NLMSG_ALIGN(size) +
net/core/drop_monitor.c
757
return NLMSG_ALIGN(size) +
net/core/fib_rules.c
1128
size_t payload = NLMSG_ALIGN(sizeof(struct fib_rule_hdr))
net/core/neighbour.c
3039
return NLMSG_ALIGN(sizeof(struct ndmsg))
net/core/neighbour.c
3050
return NLMSG_ALIGN(sizeof(struct ndmsg))
net/core/net_namespace.c
915
return NLMSG_ALIGN(sizeof(struct rtgenmsg))
net/core/rtnetlink.c
1295
size = NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/core/rtnetlink.c
4624
return NLMSG_ALIGN(sizeof(struct ndmsg)) +
net/core/rtnetlink.c
5553
return NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/core/rtnetlink.c
6200
size_t size = NLMSG_ALIGN(sizeof(struct if_stats_msg));
net/core/sock_diag.c
120
return NLMSG_ALIGN(sizeof(struct inet_diag_msg)
net/ipv4/devinet.c
1677
return NLMSG_ALIGN(sizeof(struct ifaddrmsg))
net/ipv4/devinet.c
2219
int size = NLMSG_ALIGN(sizeof(struct netconfmsg))
net/ipv4/fib_semantics.c
495
size_t payload = NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv4/igmp.c
1509
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
net/ipv4/ipmr.c
2561
NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv4/ipmr.c
2606
NLMSG_ALIGN(sizeof(struct rtgenmsg))
net/ipv4/nexthop.c
1068
size_t sz = NLMSG_ALIGN(sizeof(struct nhmsg));
net/ipv6/addrconf.c
510
int size = NLMSG_ALIGN(sizeof(struct netconfmsg))
net/ipv6/addrconf.c
5155
return NLMSG_ALIGN(sizeof(struct ifaddrmsg))
net/ipv6/addrconf.c
5771
return NLMSG_ALIGN(sizeof(struct ifinfomsg))
net/ipv6/addrconf.c
6233
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
2588
NLMSG_ALIGN(sizeof(struct rtmsg))
net/ipv6/ip6mr.c
2632
NLMSG_ALIGN(sizeof(struct rtgenmsg))
net/ipv6/mcast.c
909
skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
net/ipv6/ndisc.c
1190
int base_size = NLMSG_ALIGN(sizeof(struct nduseroptmsg)
net/ipv6/route.c
5729
return NLMSG_ALIGN(sizeof(struct rtmsg))
net/mctp/device.c
53
return NLMSG_ALIGN(sizeof(struct ifaddrmsg))
net/mpls/af_mpls.c
1200
int size = NLMSG_ALIGN(sizeof(struct netconfmsg))
net/mpls/af_mpls.c
2293
NLMSG_ALIGN(sizeof(struct rtmsg))
net/netfilter/nf_conntrack_netlink.c
711
return NLMSG_ALIGN(sizeof(struct nfgenmsg))
net/netfilter/nfnetlink.c
561
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
net/netfilter/nfnetlink.c
623
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
net/netlink/af_netlink.c
2150
nlh = skb_put(skb, NLMSG_ALIGN(size));
net/netlink/af_netlink.c
2156
if (!__builtin_constant_p(size) || NLMSG_ALIGN(size) - size != 0)
net/netlink/af_netlink.c
2157
memset(nlmsg_data(nlh) + len, 0, NLMSG_ALIGN(size) - size);
net/netlink/af_netlink.c
2565
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
net/openvswitch/datapath.c
1585
size_t msgsize = NLMSG_ALIGN(sizeof(struct ovs_header));
net/openvswitch/datapath.c
2193
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
807
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
1654
return NLMSG_ALIGN(4)
net/xfrm/xfrm_user.c
1791
return NLMSG_ALIGN(4)
net/xfrm/xfrm_user.c
2517
int len = NLMSG_ALIGN(sizeof(*up));
net/xfrm/xfrm_user.c
2580
int len = NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_default));
net/xfrm/xfrm_user.c
2718
return NLMSG_ALIGN(sizeof(struct xfrm_aevent_id))
net/xfrm/xfrm_user.c
3312
return NLMSG_ALIGN(sizeof(struct xfrm_user_migrate_state)) +
net/xfrm/xfrm_user.c
3574
return NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_id))
net/xfrm/xfrm_user.c
3935
return NLMSG_ALIGN(sizeof(struct xfrm_user_expire)) +
net/xfrm/xfrm_user.c
4019
int len = NLMSG_ALIGN(sizeof(struct xfrm_usersa_flush));
net/xfrm/xfrm_user.c
4114
len += NLMSG_ALIGN(headlen);
net/xfrm/xfrm_user.c
4183
return NLMSG_ALIGN(sizeof(struct xfrm_user_acquire))
net/xfrm/xfrm_user.c
4314
return NLMSG_ALIGN(sizeof(struct xfrm_user_polexpire))
net/xfrm/xfrm_user.c
4392
len += NLMSG_ALIGN(headlen);
net/xfrm/xfrm_user.c
4496
return NLMSG_ALIGN(sizeof(struct xfrm_user_report));
net/xfrm/xfrm_user.c
4543
return NLMSG_ALIGN(sizeof(struct xfrm_user_mapping));
security/selinux/hooks.c
6317
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
167
msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len);
tools/accounting/procacct.c
173
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/acct/taskstats_fill_stats_tgid.c
145
na = (struct nlattr *)((char *)&req + NLMSG_ALIGN(req.nlh.nlmsg_len));
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
149
req.nlh.nlmsg_len = NLMSG_ALIGN(req.nlh.nlmsg_len) + NLA_ALIGN(na->nla_len);
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
209
na = (struct nlattr *)((char *)&req + NLMSG_ALIGN(req.nlh.nlmsg_len));
tools/testing/selftests/acct/taskstats_fill_stats_tgid.c
213
req.nlh.nlmsg_len = NLMSG_ALIGN(req.nlh.nlmsg_len) + NLA_ALIGN(na->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
156
NLMSG_ALIGN(filter->exe_len),
tools/testing/selftests/net/forwarding/ipmr.c
125
nlmsg->nlmsg_len += NLMSG_ALIGN(rta->rta_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
1111
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1112
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1138
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1145
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1154
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1163
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1164
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1193
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1202
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1203
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
1254
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1255
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1282
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1288
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1350
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1351
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1378
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1390
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1405
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1412
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1448
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1463
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1486
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1495
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1510
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1517
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1524
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
324
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
325
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
341
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
349
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
350
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
412
off += NLMSG_ALIGN(addr->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
426
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
433
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
441
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
452
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
461
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
462
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
527
off += NLMSG_ALIGN(addr->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
541
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
548
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
557
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
567
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
575
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
586
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
595
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
596
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
623
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
633
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
644
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
645
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
670
off += NLMSG_ALIGN(addr->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
685
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
692
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
705
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
721
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
734
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
750
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
762
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
771
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
772
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
795
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
809
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
816
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
855
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
865
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
880
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
894
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
906
char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
907
NLMSG_ALIGN(sizeof(struct genlmsghdr)) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
934
off += NLMSG_ALIGN(nest->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
941
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
957
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
964
off += NLMSG_ALIGN(rta->rta_len);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1087
if ((int)(NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len)) > maxlen) {
tools/testing/selftests/net/ovpn/ovpn-cli.c
1102
n->nlmsg_len = NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1345
rcv_len -= NLMSG_ALIGN(len);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1347
NLMSG_ALIGN(len));