| /linux/drivers/regulator/ |
| H A D | event.c | 55 attr = nla_reserve(skb, REG_GENL_ATTR_EVENT, sizeof(struct reg_genl_event)); in reg_generate_netlink_event()
|
| /linux/net/sched/ |
| H A D | act_bpf.c | 105 nla = nla_reserve(skb, TCA_ACT_BPF_OPS, prog->bpf_num_ops * in tcf_bpf_dump_bpf_info() 127 nla = nla_reserve(skb, TCA_ACT_BPF_TAG, sizeof(prog->filter->tag)); in tcf_bpf_dump_ebpf_info()
|
| H A 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()
|
| H A D | act_api.c | 2258 count_attr = nla_reserve(skb, TCA_ROOT_COUNT, sizeof(u32)); in tc_dump_action()
|
| /linux/net/openvswitch/ |
| H 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() 2104 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6, sizeof(*ipv6_key)); in __ovs_nla_put_key() 2118 nla = nla_reserve(skb, OVS_KEY_ATTR_IPV6_EXTHDRS, in __ovs_nla_put_key() 2131 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key)); in __ovs_nla_put_key() 2146 nla = nla_reserve(skb, OVS_KEY_ATTR_MPLS, in __ovs_nla_put_key() 2163 nla = nla_reserve(skb, OVS_KEY_ATTR_TCP, sizeof(*tcp_key)); in __ovs_nla_put_key() 2175 nla = nla_reserve(skb, OVS_KEY_ATTR_UDP, sizeof(*udp_key)); in __ovs_nla_put_key() 2184 nla = nla_reserve(skb, OVS_KEY_ATTR_SCTP, sizeof(*sctp_key)); in __ovs_nla_put_key() 2194 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); in __ovs_nla_put_key() [all …]
|
| H A D | datapath.c | 584 if (!(nla = nla_reserve(user_skb, OVS_PACKET_ATTR_PACKET, 0))) { in queue_userspace_packet()
|
| /linux/net/sctp/ |
| H A D | diag.c | 81 attr = nla_reserve(skb, INET_DIAG_LOCALS, addrlen * addrcnt); in inet_diag_msg_sctpladdrs_fill() 108 attr = nla_reserve(skb, INET_DIAG_PEERS, in inet_diag_msg_sctpaddrs_fill()
|
| /linux/lib/ |
| H A D | nlattr.c | 967 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve() function 974 EXPORT_SYMBOL(nla_reserve);
|
| /linux/net/netfilter/ |
| H A D | nf_tables_trace.c | 38 nla = nla_reserve(nlskb, type, len); in trace_fill_header()
|
| H A D | nft_compat.c | 324 nla = nla_reserve(skb, attr, aligned_size); in nft_extension_dump_info()
|
| H A D | nfnetlink_log.c | 659 nla = nla_reserve(inst->skb, NFULA_PAYLOAD, data_len); in __build_packet_message()
|
| /linux/net/xfrm/ |
| H A D | xfrm_user.c | 1168 attr = nla_reserve(skb, XFRMA_SEC_CTX, ctx_size); in copy_sec_ctx() 1188 attr = nla_reserve(skb, XFRMA_OFFLOAD_DEV, sizeof(*xuo)); in copy_user_offload() 1216 nla = nla_reserve(skb, XFRMA_ALG_AUTH, in copy_to_user_auth() 1230 nla = nla_reserve(skb, XFRMA_ALG_AUTH_TRUNC, xfrm_alg_auth_len(auth)); in copy_to_user_auth() 1247 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_AEAD, aead_len(aead)); in copy_to_user_aead() 1271 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_CRYPT, in copy_to_user_ealg() 1291 struct nlattr *nla = nla_reserve(skb, XFRMA_ALG_COMP, sizeof(*calg)); in copy_to_user_calg() 1306 struct nlattr *nla = nla_reserve(skb, XFRMA_ENCAP, sizeof(*ep)); in copy_to_user_encap() 3755 attr = nla_reserve(skb, XFRMA_SA, sizeof(*p)); in xfrm_notify_sa() 4034 attr = nla_reserve(skb, XFRMA_POLICY, sizeof(*p)); in xfrm_notify_policy()
|
| /linux/net/unix/ |
| H A D | diag.c | 76 attr = nla_reserve(nlskb, UNIX_DIAG_ICONS, in sk_diag_dump_icons()
|
| /linux/net/ipv6/ |
| H A D | rpl_iptunnel.c | 333 nla = nla_reserve(skb, attrtype, len); in nla_put_rpl_srh()
|
| H A D | seg6_local.c | 1694 nla = nla_reserve(skb, SEG6_LOCAL_SRH, len); in put_nla_srh() 1803 nla = nla_reserve(skb, SEG6_LOCAL_NH4, sizeof(struct in_addr)); in put_nla_nh4() 1830 nla = nla_reserve(skb, SEG6_LOCAL_NH6, sizeof(struct in6_addr)); in put_nla_nh6()
|
| H A D | seg6_iptunnel.c | 82 nla = nla_reserve(skb, attrtype, len); in nla_put_srh()
|
| H A D | addrconf.c | 5812 nla = nla_reserve(skb, IFLA_INET6_STATS, IPSTATS_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_stats_attrs() 5817 nla = nla_reserve(skb, IFLA_INET6_ICMP6STATS, ICMP6_MIB_MAX * sizeof(u64)); in inet6_fill_ifla6_stats_attrs() 5843 nla = nla_reserve(skb, IFLA_INET6_CONF, DEVCONF_MAX * sizeof(s32)); in inet6_fill_ifla6_attrs() 5855 nla = nla_reserve(skb, IFLA_INET6_TOKEN, sizeof(struct in6_addr)); in inet6_fill_ifla6_attrs()
|
| /linux/net/wireless/ |
| H A D | wext-core.c | 568 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()
|
| H A D | nl80211.c | 21558 frame = nla_reserve(msg, NL80211_ATTR_FRAME, skb->len); in __nl80211_rx_control_port()
|
| /linux/net/ipv4/ |
| H A D | tcp_diag.c | 71 attr = nla_reserve(skb, INET_DIAG_MD5SIG, in tcp_diag_put_md5sig()
|
| H A D | ipmr.c | 2648 nla = nla_reserve(skb, IPMRA_CREPORT_PKT, payloadlen); in igmpmsg_netlink_event()
|
| H A D | nexthop.c | 886 nla = nla_reserve(skb, NHA_GROUP, len); in nla_put_nh_group()
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 1730 nla = nla_reserve(skb, RTA_VIA, alen + 2); in nla_put_via() 1750 nla = nla_reserve(skb, attrtype, labels*4); in nla_put_labels()
|
| /linux/net/core/ |
| H A D | drop_monitor.c | 158 nla = nla_reserve(skb, NLA_UNSPEC, in reset_per_cpu_data()
|
| H A D | rtnetlink.c | 1508 attr = nla_reserve(skb, IFLA_STATS, in rtnl_fill_stats()
|