Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/net/core/
H A Dsock_diag.c81 nla_reserve(skb, attrtype, 0); in sock_diag_put_filterinfo()
96 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo()
/kernel/linux/linux-6.6/net/core/
H A 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()
/kernel/linux/linux-5.10/drivers/acpi/
H A Devent.c121 nla_reserve(skb, ACPI_GENL_ATTR_EVENT, in acpi_bus_generate_netlink_event()
/kernel/linux/linux-5.10/fs/dlm/
H A Dnetlink.c42 ret = nla_reserve(skb, DLM_TYPE_LOCK, sizeof(struct dlm_lock_data)); in mk_data()
/kernel/linux/linux-6.6/drivers/acpi/
H A Devent.c123 nla_reserve(skb, ACPI_GENL_ATTR_EVENT, in acpi_bus_generate_netlink_event()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dflow_netlink.c2060 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2114 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key)); in __ovs_nla_put_key()
2128 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6, sizeof(*ipv6_key)); in __ovs_nla_put_key()
2142 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6_EXTHDRS, in __ovs_nla_put_key()
2155 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key)); in __ovs_nla_put_key()
2170 nla = nla_reserve(skb, OVS_KEY_ATTR_MPLS, in __ovs_nla_put_key()
2187 nla = nla_reserve(skb, OVS_KEY_ATTR_TCP, sizeof(*tcp_key)); in __ovs_nla_put_key()
2199 nla = nla_reserve(skb, OVS_KEY_ATTR_UDP, sizeof(*udp_key)); in __ovs_nla_put_key()
2208 nla = nla_reserve(skb, OVS_KEY_ATTR_SCTP, sizeof(*sctp_key)); in __ovs_nla_put_key()
2218 nla = nla_reserve(sk in __ovs_nla_put_key()
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dact_bpf.c106 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops * in tcf_bpf_dump_bpf_info()
128 nla = nla_reserve(skb, TCA_ACT_BPF_TAG, sizeof(prog->filter->tag)); in tcf_bpf_dump_ebpf_info()
H A Dcls_bpf.c550 nla = nla_reserve(skb, TCA_BPF_OPS, prog->bpf_num_ops * in cls_bpf_dump_bpf_info()
572 nla = nla_reserve(skb, TCA_BPF_TAG, sizeof(prog->filter->tag)); in cls_bpf_dump_ebpf_info()
/kernel/linux/linux-6.6/net/sched/
H A 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()
H A 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()
/kernel/linux/linux-5.10/net/openvswitch/
H A Dflow_netlink.c2037 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2091 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key)); in __ovs_nla_put_key()
2104 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6, sizeof(*ipv6_key)); in __ovs_nla_put_key()
2124 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key)); in __ovs_nla_put_key()
2139 nla = nla_reserve(skb, OVS_KEY_ATTR_MPLS, in __ovs_nla_put_key()
2156 nla = nla_reserve(skb, OVS_KEY_ATTR_TCP, sizeof(*tcp_key)); in __ovs_nla_put_key()
2168 nla = nla_reserve(skb, OVS_KEY_ATTR_UDP, sizeof(*udp_key)); in __ovs_nla_put_key()
2177 nla = nla_reserve(skb, OVS_KEY_ATTR_SCTP, sizeof(*sctp_key)); in __ovs_nla_put_key()
2187 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); in __ovs_nla_put_key()
2197 nla = nla_reserve(sk in __ovs_nla_put_key()
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dseg6_local.c692 nla = nla_reserve(skb, SEG6_LOCAL_SRH, len); in put_nla_srh()
746 nla = nla_reserve(skb, SEG6_LOCAL_NH4, sizeof(struct in_addr)); in put_nla_nh4()
772 nla = nla_reserve(skb, SEG6_LOCAL_NH6, sizeof(struct in6_addr)); in put_nla_nh6()
H A Drpl_iptunnel.c311 nla = nla_reserve(skb, attrtype, len); in nla_put_rpl_srh()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_diag.c68 attr = nla_reserve(skb, INET_DIAG_MD5SIG, in tcp_diag_put_md5sig()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_diag.c68 attr = nla_reserve(skb, INET_DIAG_MD5SIG, in tcp_diag_put_md5sig()
/kernel/linux/linux-5.10/net/sctp/
H A 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()
/kernel/linux/linux-5.10/lib/
H A Dnlattr.c900 * nla_reserve - reserve room for attribute on the skb
911 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve() function
918 EXPORT_SYMBOL(nla_reserve); variable
/kernel/linux/linux-5.10/net/ethtool/
H A 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()
H A Dnetlink.h53 attr = nla_reserve(skb, attrtype, len + 1); in ethnl_put_strz()
/kernel/linux/linux-6.6/net/sctp/
H A 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()
/kernel/linux/linux-6.6/net/ethtool/
H A 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()
H A Dnetlink.h53 attr = nla_reserve(skb, attrtype, len + 1); in ethnl_put_strz()
/kernel/linux/linux-5.10/net/unix/
H A Ddiag.c70 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_tables_trace.c53 nla = nla_reserve(nlskb, type, len); in trace_fill_header()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_tables_trace.c37 nla = nla_reserve(nlskb, type, len); in trace_fill_header()

Completed in 24 milliseconds

123