/linux/net/core/ |
A D | sock_diag.c | 81 nla_reserve(skb, attrtype, 0); in sock_diag_put_filterinfo() 96 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo()
|
A D | drop_monitor.c | 157 nla = nla_reserve(skb, NLA_UNSPEC, in reset_per_cpu_data()
|
/linux/drivers/acpi/ |
A D | event.c | 123 nla_reserve(skb, ACPI_GENL_ATTR_EVENT, in acpi_bus_generate_netlink_event()
|
/linux/fs/dlm/ |
A D | netlink.c | 42 ret = nla_reserve(skb, DLM_TYPE_LOCK, sizeof(struct dlm_lock_data)); in mk_data()
|
/linux/net/sched/ |
A D | act_bpf.c | 104 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops * in tcf_bpf_dump_bpf_info() 126 nla = nla_reserve(skb, TCA_ACT_BPF_TAG, sizeof(prog->filter->tag)); in tcf_bpf_dump_ebpf_info()
|
A D | cls_bpf.c | 547 nla = nla_reserve(skb, TCA_BPF_OPS, prog->bpf_num_ops * in cls_bpf_dump_bpf_info() 569 nla = nla_reserve(skb, TCA_BPF_TAG, sizeof(prog->filter->tag)); in cls_bpf_dump_ebpf_info()
|
/linux/net/openvswitch/ |
A D | flow_netlink.c | 2036 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key() 2090 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key)); in __ovs_nla_put_key() 2103 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6, sizeof(*ipv6_key)); in __ovs_nla_put_key() 2123 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key)); in __ovs_nla_put_key() 2138 nla = nla_reserve(skb, OVS_KEY_ATTR_MPLS, in __ovs_nla_put_key() 2155 nla = nla_reserve(skb, OVS_KEY_ATTR_TCP, sizeof(*tcp_key)); in __ovs_nla_put_key() 2167 nla = nla_reserve(skb, OVS_KEY_ATTR_UDP, sizeof(*udp_key)); in __ovs_nla_put_key() 2176 nla = nla_reserve(skb, OVS_KEY_ATTR_SCTP, sizeof(*sctp_key)); in __ovs_nla_put_key() 2186 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); in __ovs_nla_put_key() 2196 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMPV6, in __ovs_nla_put_key() [all …]
|
/linux/net/ipv4/ |
A D | tcp_diag.c | 68 attr = nla_reserve(skb, INET_DIAG_MD5SIG, in tcp_diag_put_md5sig()
|
/linux/net/sctp/ |
A D | diag.c | 83 attr = nla_reserve(skb, INET_DIAG_LOCALS, addrlen * addrcnt); in inet_diag_msg_sctpladdrs_fill() 105 attr = nla_reserve(skb, INET_DIAG_PEERS, in inet_diag_msg_sctpaddrs_fill()
|
/linux/net/ethtool/ |
A D | bitset.c | 252 attr = nla_reserve(skb, ETHTOOL_A_BITSET_VALUE, nbytes); in ethnl_put_bitset32() 261 attr = nla_reserve(skb, ETHTOOL_A_BITSET_MASK, nbytes); in ethnl_put_bitset32()
|
A D | netlink.h | 53 attr = nla_reserve(skb, attrtype, len + 1); in ethnl_put_strz()
|
A D | stats.c | 198 if (!nla_reserve(skb, ETHTOOL_A_STATS_GRP_PAD, 0)) in stat_put()
|
/linux/net/netfilter/ |
A D | nf_tables_trace.c | 53 nla = nla_reserve(nlskb, type, len); in trace_fill_header()
|
A D | nft_compat.c | 316 nla = nla_reserve(skb, attr, aligned_size); in nft_extension_dump_info()
|
/linux/lib/ |
A D | nlattr.c | 920 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve() function 927 EXPORT_SYMBOL(nla_reserve);
|
/linux/net/unix/ |
A D | diag.c | 70 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons()
|
/linux/net/xfrm/ |
A D | xfrm_user.c | 819 attr = nla_reserve(skb, XFRMA_SEC_CTX, ctx_size); in copy_sec_ctx() 839 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo)); in copy_user_offload() 864 nla = nla_reserve(skb, XFRMA_ALG_AUTH, in copy_to_user_auth() 878 nla = nla_reserve(skb, XFRMA_ALG_AUTH_TRUNC, xfrm_alg_auth_len(auth)); in copy_to_user_auth() 893 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_AEAD, aead_len(aead)); in copy_to_user_aead() 915 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_CRYPT, in copy_to_user_ealg() 3114 attr = nla_reserve(skb, XFRMA_SA, sizeof(*p)); in xfrm_notify_sa() 3384 attr = nla_reserve(skb, XFRMA_POLICY, sizeof(*p)); in xfrm_notify_policy()
|
/linux/net/ipv6/ |
A D | rpl_iptunnel.c | 306 nla = nla_reserve(skb, attrtype, len); in nla_put_rpl_srh()
|
A D | seg6_local.c | 1170 nla = nla_reserve(skb, SEG6_LOCAL_SRH, len); in put_nla_srh() 1276 nla = nla_reserve(skb, SEG6_LOCAL_NH4, sizeof(struct in_addr)); in put_nla_nh4() 1302 nla = nla_reserve(skb, SEG6_LOCAL_NH6, sizeof(struct in6_addr)); in put_nla_nh6()
|
A D | seg6_iptunnel.c | 77 nla = nla_reserve(skb, attrtype, len); in nla_put_srh()
|
A D | addrconf.c | 5641 nla = nla_reserve(skb, IFLA_INET6_CONF, DEVCONF_MAX * sizeof(s32)); in inet6_fill_ifla6_attrs() 5651 nla = nla_reserve(skb, IFLA_INET6_STATS, IPSTATS_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs() 5656 nla = nla_reserve(skb, IFLA_INET6_ICMP6STATS, ICMP6_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs() 5661 nla = nla_reserve(skb, IFLA_INET6_TOKEN, sizeof(struct in6_addr)); in inet6_fill_ifla6_attrs()
|
/linux/net/wireless/ |
A D | wext-core.c | 567 nla = nla_reserve(skb, IFLA_WIRELESS, event_len); in wireless_send_event() 602 nla = nla_reserve(compskb, IFLA_WIRELESS, event_len); in wireless_send_event()
|
/linux/include/net/ |
A D | netlink.h | 518 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 1894 !nla_reserve(skb, padattr, 0)) in nla_align_64bit()
|
/linux/kernel/ |
A D | taskstats.c | 411 na = nla_reserve(rep_skb, CGROUPSTATS_TYPE_CGROUP_STATS, in cgroupstats_user_cmd()
|
/linux/net/mpls/ |
A D | af_mpls.c | 1686 nla = nla_reserve(skb, RTA_VIA, alen + 2); in nla_put_via() 1706 nla = nla_reserve(skb, attrtype, labels*4); in nla_put_labels()
|