Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Devent.c121 nla_reserve(skb, ACPI_GENL_ATTR_EVENT, in acpi_bus_generate_netlink_event()
/OK3568_Linux_fs/kernel/fs/dlm/
H A Dnetlink.c42 ret = nla_reserve(skb, DLM_TYPE_LOCK, sizeof(struct dlm_lock_data)); in mk_data()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/openvswitch/
H A Dflow_netlink.c2036 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 …]
/OK3568_Linux_fs/kernel/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()
H A Dseg6_iptunnel.c76 nla = nla_reserve(skb, attrtype, len); in nla_put_srh()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_diag.c68 attr = nla_reserve(skb, INET_DIAG_MD5SIG, in tcp_diag_put_md5sig()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/lib/
H A Dnlattr.c908 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve() function
915 EXPORT_SYMBOL(nla_reserve);
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_tables_trace.c53 nla = nla_reserve(nlskb, type, len); in trace_fill_header()
H A Dnft_compat.c294 nla = nla_reserve(skb, attr, aligned_size); in nft_extension_dump_info()
/OK3568_Linux_fs/kernel/net/unix/
H A Ddiag.c70 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons()
/OK3568_Linux_fs/kernel/net/wireless/
H A Dwext-core.c567 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()
/OK3568_Linux_fs/kernel/include/net/
H A Dnetlink.h518 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
1894 !nla_reserve(skb, padattr, 0)) in nla_align_64bit()
/OK3568_Linux_fs/kernel/kernel/
H A Dtaskstats.c411 na = nla_reserve(rep_skb, CGROUPSTATS_TYPE_CGROUP_STATS, in cgroupstats_user_cmd()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_user.c819 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()
856 nla = nla_reserve(skb, XFRMA_ALG_AUTH, in copy_to_user_auth()
2961 attr = nla_reserve(skb, XFRMA_SA, sizeof(*p)); in xfrm_notify_sa()
3231 attr = nla_reserve(skb, XFRMA_POLICY, sizeof(*p)); in xfrm_notify_policy()
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_virtual_device645 nla_reserve
H A Dabi_gki_aarch64_vivo978 nla_reserve
H A Dabi_gki_aarch64_generic1204 nla_reserve
/OK3568_Linux_fs/kernel/net/mpls/
H A Daf_mpls.c1690 nla = nla_reserve(skb, RTA_VIA, alen + 2); in nla_put_via()
1710 nla = nla_reserve(skb, attrtype, labels*4); in nla_put_labels()

123