/Linux-v4.19/net/core/ |
D | sock_diag.c | 79 nla_reserve(skb, attrtype, 0); in sock_diag_put_filterinfo() 94 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo()
|
D | drop_monitor.c | 96 nla = nla_reserve(skb, NLA_UNSPEC, in reset_per_cpu_data()
|
/Linux-v4.19/drivers/acpi/ |
D | event.c | 124 nla_reserve(skb, ACPI_GENL_ATTR_EVENT, in acpi_bus_generate_netlink_event()
|
/Linux-v4.19/fs/dlm/ |
D | netlink.c | 45 ret = nla_reserve(skb, DLM_TYPE_LOCK, sizeof(struct dlm_lock_data)); in mk_data()
|
/Linux-v4.19/net/sched/ |
D | act_bpf.c | 106 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()
|
D | cls_bpf.c | 546 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()
|
D | act_api.c | 1464 count_attr = nla_reserve(skb, TCA_ROOT_COUNT, sizeof(u32)); in tc_dump_action()
|
/Linux-v4.19/lib/ |
D | nlattr.c | 495 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve() function 502 EXPORT_SYMBOL(nla_reserve);
|
/Linux-v4.19/net/openvswitch/ |
D | flow_netlink.c | 2007 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key() 2060 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV4, sizeof(*ipv4_key)); in __ovs_nla_put_key() 2073 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6, sizeof(*ipv6_key)); in __ovs_nla_put_key() 2093 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key)); in __ovs_nla_put_key() 2106 nla = nla_reserve(skb, OVS_KEY_ATTR_MPLS, sizeof(*mpls_key)); in __ovs_nla_put_key() 2120 nla = nla_reserve(skb, OVS_KEY_ATTR_TCP, sizeof(*tcp_key)); in __ovs_nla_put_key() 2132 nla = nla_reserve(skb, OVS_KEY_ATTR_UDP, sizeof(*udp_key)); in __ovs_nla_put_key() 2141 nla = nla_reserve(skb, OVS_KEY_ATTR_SCTP, sizeof(*sctp_key)); in __ovs_nla_put_key() 2151 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); in __ovs_nla_put_key() 2161 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMPV6, in __ovs_nla_put_key() [all …]
|
D | datapath.c | 502 if (!(nla = nla_reserve(user_skb, OVS_PACKET_ATTR_PACKET, 0))) { in queue_userspace_packet()
|
/Linux-v4.19/net/ipv4/ |
D | tcp_diag.c | 71 attr = nla_reserve(skb, INET_DIAG_MD5SIG, in tcp_diag_put_md5sig()
|
D | devinet.c | 1753 nla = nla_reserve(skb, IFLA_INET_CONF, IPV4_DEVCONF_MAX * 4); in inet_fill_link_af()
|
/Linux-v4.19/net/ipv6/ |
D | seg6_local.c | 672 nla = nla_reserve(skb, SEG6_LOCAL_SRH, len); in put_nla_srh() 726 nla = nla_reserve(skb, SEG6_LOCAL_NH4, sizeof(struct in_addr)); in put_nla_nh4() 752 nla = nla_reserve(skb, SEG6_LOCAL_NH6, sizeof(struct in6_addr)); in put_nla_nh6()
|
D | seg6_iptunnel.c | 64 nla = nla_reserve(skb, attrtype, len); in nla_put_srh()
|
D | addrconf.c | 5292 nla = nla_reserve(skb, IFLA_INET6_CONF, DEVCONF_MAX * sizeof(s32)); in inet6_fill_ifla6_attrs() 5302 nla = nla_reserve(skb, IFLA_INET6_STATS, IPSTATS_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs() 5307 nla = nla_reserve(skb, IFLA_INET6_ICMP6STATS, ICMP6_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_attrs() 5312 nla = nla_reserve(skb, IFLA_INET6_TOKEN, sizeof(struct in6_addr)); in inet6_fill_ifla6_attrs()
|
D | ip6mr.c | 2417 nla = nla_reserve(skb, IP6MRA_CREPORT_PKT, payloadlen); in mrt6msg_netlink_event()
|
/Linux-v4.19/net/sctp/ |
D | diag.c | 98 attr = nla_reserve(skb, INET_DIAG_LOCALS, addrlen * addrcnt); in inet_diag_msg_sctpladdrs_fill() 120 attr = nla_reserve(skb, INET_DIAG_PEERS, in inet_diag_msg_sctpaddrs_fill()
|
/Linux-v4.19/net/netfilter/ |
D | nf_tables_trace.c | 56 nla = nla_reserve(nlskb, type, len); in trace_fill_header()
|
/Linux-v4.19/include/net/ |
D | netlink.h | 263 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 1373 !nla_reserve(skb, padattr, 0)) in nla_align_64bit()
|
/Linux-v4.19/net/unix/ |
D | diag.c | 66 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons()
|
/Linux-v4.19/net/wireless/ |
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-v4.19/kernel/ |
D | taskstats.c | 425 na = nla_reserve(rep_skb, CGROUPSTATS_TYPE_CGROUP_STATS, in cgroupstats_user_cmd()
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_user.c | 798 attr = nla_reserve(skb, XFRMA_SEC_CTX, ctx_size); in copy_sec_ctx() 818 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo)); in copy_user_offload() 835 nla = nla_reserve(skb, XFRMA_ALG_AUTH, in copy_to_user_auth() 2853 attr = nla_reserve(skb, XFRMA_SA, sizeof(*p)); in xfrm_notify_sa() 3123 attr = nla_reserve(skb, XFRMA_POLICY, sizeof(*p)); in xfrm_notify_policy()
|
/Linux-v4.19/net/mpls/ |
D | af_mpls.c | 1613 nla = nla_reserve(skb, RTA_VIA, alen + 2); in nla_put_via() 1633 nla = nla_reserve(skb, attrtype, labels*4); in nla_put_labels()
|
/Linux-v4.19/drivers/thermal/ |
D | thermal_core.c | 1443 attr = nla_reserve(skb, THERMAL_GENL_ATTR_EVENT, in thermal_generate_netlink_event()
|