Home
last modified time | relevance | path

Searched refs:nla_reserve (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.6/net/core/
Dsock_diag.c85 nla_reserve(skb, attrtype, 0); in sock_diag_put_filterinfo()
100 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo()
Ddrop_monitor.c157 nla = nla_reserve(skb, NLA_UNSPEC, in reset_per_cpu_data()
/Linux-v6.6/drivers/acpi/
Devent.c123 nla_reserve(skb, ACPI_GENL_ATTR_EVENT, in acpi_bus_generate_netlink_event()
/Linux-v6.6/net/sched/
Dact_bpf.c107 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops * in tcf_bpf_dump_bpf_info()
129 nla = nla_reserve(skb, TCA_ACT_BPF_TAG, sizeof(prog->filter->tag)); in tcf_bpf_dump_ebpf_info()
Dcls_bpf.c546 nla = nla_reserve(skb, TCA_BPF_OPS, prog->bpf_num_ops * in cls_bpf_dump_bpf_info()
568 nla = nla_reserve(skb, TCA_BPF_TAG, sizeof(prog->filter->tag)); in cls_bpf_dump_ebpf_info()
Dact_api.c2139 count_attr = nla_reserve(skb, TCA_ROOT_COUNT, sizeof(u32)); in tc_dump_action()
/Linux-v6.6/net/openvswitch/
Dflow_netlink.c2059 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2113 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key)); in __ovs_nla_put_key()
2127 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6, sizeof(*ipv6_key)); in __ovs_nla_put_key()
2141 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6_EXTHDRS, in __ovs_nla_put_key()
2154 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key)); in __ovs_nla_put_key()
2169 nla = nla_reserve(skb, OVS_KEY_ATTR_MPLS, in __ovs_nla_put_key()
2186 nla = nla_reserve(skb, OVS_KEY_ATTR_TCP, sizeof(*tcp_key)); in __ovs_nla_put_key()
2198 nla = nla_reserve(skb, OVS_KEY_ATTR_UDP, sizeof(*udp_key)); in __ovs_nla_put_key()
2207 nla = nla_reserve(skb, OVS_KEY_ATTR_SCTP, sizeof(*sctp_key)); in __ovs_nla_put_key()
2217 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); in __ovs_nla_put_key()
[all …]
/Linux-v6.6/net/ipv4/
Dtcp_diag.c68 attr = nla_reserve(skb, INET_DIAG_MD5SIG, in tcp_diag_put_md5sig()
/Linux-v6.6/net/ethtool/
Dbitset.c252 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()
Dnetlink.h53 attr = nla_reserve(skb, attrtype, len + 1); in ethnl_put_strz()
Dstats.c223 if (!nla_reserve(skb, ETHTOOL_A_STATS_GRP_PAD, 0)) in stat_put()
/Linux-v6.6/net/sctp/
Ddiag.c79 attr = nla_reserve(skb, INET_DIAG_LOCALS, addrlen * addrcnt); in inet_diag_msg_sctpladdrs_fill()
101 attr = nla_reserve(skb, INET_DIAG_PEERS, in inet_diag_msg_sctpaddrs_fill()
/Linux-v6.6/net/netfilter/
Dnf_tables_trace.c37 nla = nla_reserve(nlskb, type, len); in trace_fill_header()
Dnft_compat.c316 nla = nla_reserve(skb, attr, aligned_size); in nft_extension_dump_info()
/Linux-v6.6/net/xfrm/
Dxfrm_user.c932 attr = nla_reserve(skb, XFRMA_SEC_CTX, ctx_size); in copy_sec_ctx()
952 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo)); in copy_user_offload()
980 nla = nla_reserve(skb, XFRMA_ALG_AUTH, in copy_to_user_auth()
994 nla = nla_reserve(skb, XFRMA_ALG_AUTH_TRUNC, xfrm_alg_auth_len(auth)); in copy_to_user_auth()
1009 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_AEAD, aead_len(aead)); in copy_to_user_aead()
1033 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_CRYPT, in copy_to_user_ealg()
1053 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_COMP, sizeof(*calg)); in copy_to_user_calg()
1068 struct nlattr *nla = nla_reserve(skb, XFRMA_ENCAP, sizeof(*ep)); in copy_to_user_encap()
3366 attr = nla_reserve(skb, XFRMA_SA, sizeof(*p)); in xfrm_notify_sa()
3640 attr = nla_reserve(skb, XFRMA_POLICY, sizeof(*p)); in xfrm_notify_policy()
/Linux-v6.6/lib/
Dnlattr.c941 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve() function
948 EXPORT_SYMBOL(nla_reserve);
/Linux-v6.6/net/ipv6/
Drpl_iptunnel.c305 nla = nla_reserve(skb, attrtype, len); in nla_put_rpl_srh()
Dseg6_local.c1686 nla = nla_reserve(skb, SEG6_LOCAL_SRH, len); in put_nla_srh()
1795 nla = nla_reserve(skb, SEG6_LOCAL_NH4, sizeof(struct in_addr)); in put_nla_nh4()
1822 nla = nla_reserve(skb, SEG6_LOCAL_NH6, sizeof(struct in6_addr)); in put_nla_nh6()
Dseg6_iptunnel.c79 nla = nla_reserve(skb, attrtype, len); in nla_put_srh()
Daddrconf.c5732 nla = nla_reserve(skb, IFLA_INET6_CONF, DEVCONF_MAX * sizeof(s32)); in inet6_fill_ifla6_attrs()
5742 nla = nla_reserve(skb, IFLA_INET6_STATS, IPSTATS_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs()
5747 nla = nla_reserve(skb, IFLA_INET6_ICMP6STATS, ICMP6_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs()
5752 nla = nla_reserve(skb, IFLA_INET6_TOKEN, sizeof(struct in6_addr)); in inet6_fill_ifla6_attrs()
/Linux-v6.6/net/unix/
Ddiag.c71 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons()
/Linux-v6.6/net/wireless/
Dwext-core.c568 nla = nla_reserve(skb, IFLA_WIRELESS, event_len); in wireless_send_event()
606 nla = nla_reserve(compskb, IFLA_WIRELESS, event_len); in wireless_send_event()
/Linux-v6.6/include/net/
Dnetlink.h530 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
1940 !nla_reserve(skb, padattr, 0)) in nla_align_64bit()
/Linux-v6.6/kernel/
Dtaskstats.c433 na = nla_reserve(rep_skb, CGROUPSTATS_TYPE_CGROUP_STATS, in cgroupstats_user_cmd()
/Linux-v6.6/net/mpls/
Daf_mpls.c1691 nla = nla_reserve(skb, RTA_VIA, alen + 2); in nla_put_via()
1711 nla = nla_reserve(skb, attrtype, labels*4); in nla_put_labels()

12