Searched refs:nla_reserve (Results 1 - 25 of 36) sorted by relevance

12

/linux-master/drivers/regulator/
H A Devent.c55 attr = nla_reserve(skb, REG_GENL_ATTR_EVENT, sizeof(struct reg_genl_event));
/linux-master/drivers/acpi/
H A Devent.c123 nla_reserve(skb, ACPI_GENL_ATTR_EVENT,
/linux-master/net/core/
H A Dsock_diag.c86 nla_reserve(skb, attrtype, 0);
101 attr = nla_reserve(skb, attrtype, flen);
H A Ddrop_monitor.c157 nla = nla_reserve(skb, NLA_UNSPEC,
/linux-master/net/sched/
H A Dact_bpf.c107 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops *
129 nla = nla_reserve(skb, TCA_ACT_BPF_TAG, sizeof(prog->filter->tag));
H A Dcls_bpf.c546 nla = nla_reserve(skb, TCA_BPF_OPS, prog->bpf_num_ops *
568 nla = nla_reserve(skb, TCA_BPF_TAG, sizeof(prog->filter->tag));
/linux-master/net/ipv4/
H A Dtcp_diag.c68 attr = nla_reserve(skb, INET_DIAG_MD5SIG,
/linux-master/net/ethtool/
H A Dbitset.c252 attr = nla_reserve(skb, ETHTOOL_A_BITSET_VALUE, nbytes);
261 attr = nla_reserve(skb, ETHTOOL_A_BITSET_MASK, nbytes);
H A Dnetlink.h53 attr = nla_reserve(skb, attrtype, len + 1);
H A Dstats.c223 if (!nla_reserve(skb, ETHTOOL_A_STATS_GRP_PAD, 0))
/linux-master/net/sctp/
H A Ddiag.c79 attr = nla_reserve(skb, INET_DIAG_LOCALS, addrlen * addrcnt);
101 attr = nla_reserve(skb, INET_DIAG_PEERS,
/linux-master/net/ipv6/
H A Drpl_iptunnel.c305 nla = nla_reserve(skb, attrtype, len);
H A Dseg6_iptunnel.c79 nla = nla_reserve(skb, attrtype, len);
H A Dseg6_local.c1686 nla = nla_reserve(skb, SEG6_LOCAL_SRH, len);
1795 nla = nla_reserve(skb, SEG6_LOCAL_NH4, sizeof(struct in_addr));
1822 nla = nla_reserve(skb, SEG6_LOCAL_NH6, sizeof(struct in6_addr));
H A Daddrconf.c5804 nla = nla_reserve(skb, IFLA_INET6_CONF, DEVCONF_MAX * sizeof(s32));
5814 nla = nla_reserve(skb, IFLA_INET6_STATS, IPSTATS_MIB_MAX * sizeof(u64));
5819 nla = nla_reserve(skb, IFLA_INET6_ICMP6STATS, ICMP6_MIB_MAX * sizeof(u64));
5824 nla = nla_reserve(skb, IFLA_INET6_TOKEN, sizeof(struct in6_addr));
/linux-master/net/netfilter/
H A Dnf_tables_trace.c37 nla = nla_reserve(nlskb, type, len);
H A Dnft_compat.c323 nla = nla_reserve(skb, attr, aligned_size);
/linux-master/net/unix/
H A Ddiag.c71 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS,
/linux-master/net/openvswitch/
H A Dflow_netlink.c2060 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key));
2114 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key));
2128 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6, sizeof(*ipv6_key));
2142 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6_EXTHDRS,
2155 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key));
2170 nla = nla_reserve(skb, OVS_KEY_ATTR_MPLS,
2187 nla = nla_reserve(skb, OVS_KEY_ATTR_TCP, sizeof(*tcp_key));
2199 nla = nla_reserve(skb, OVS_KEY_ATTR_UDP, sizeof(*udp_key));
2208 nla = nla_reserve(skb, OVS_KEY_ATTR_SCTP, sizeof(*sctp_key));
2218 nla = nla_reserve(sk
[all...]
/linux-master/net/xfrm/
H A Dxfrm_user.c932 attr = nla_reserve(skb, XFRMA_SEC_CTX, ctx_size);
952 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo));
980 nla = nla_reserve(skb, XFRMA_ALG_AUTH,
994 nla = nla_reserve(skb, XFRMA_ALG_AUTH_TRUNC, xfrm_alg_auth_len(auth));
1009 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_AEAD, aead_len(aead));
1033 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_CRYPT,
1053 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_COMP, sizeof(*calg));
1068 struct nlattr *nla = nla_reserve(skb, XFRMA_ENCAP, sizeof(*ep));
3369 attr = nla_reserve(skb, XFRMA_SA, sizeof(*p));
3643 attr = nla_reserve(sk
[all...]
/linux-master/include/net/
H A Dnetlink.h92 * nla_reserve(skb, type, len) reserve room for an attribute
541 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
2042 !nla_reserve(skb, padattr, 0))
/linux-master/lib/
H A Dnlattr.c956 * nla_reserve - reserve room for attribute on the skb
967 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) function
974 EXPORT_SYMBOL(nla_reserve); variable
/linux-master/net/wireless/
H A Dwext-core.c569 nla = nla_reserve(skb, IFLA_WIRELESS, event_len);
607 nla = nla_reserve(compskb, IFLA_WIRELESS, event_len);
/linux-master/kernel/
H A Dtaskstats.c432 na = nla_reserve(rep_skb, CGROUPSTATS_TYPE_CGROUP_STATS,
/linux-master/net/mpls/
H A Daf_mpls.c1691 nla = nla_reserve(skb, RTA_VIA, alen + 2);
1711 nla = nla_reserve(skb, attrtype, labels*4);

Completed in 259 milliseconds

12