/linux-6.6.21/net/netfilter/ |
D | nft_queue.c | 160 if (nla_put_be16(skb, NFTA_QUEUE_NUM, htons(priv->queuenum)) || in nft_queue_dump() 161 nla_put_be16(skb, NFTA_QUEUE_TOTAL, htons(priv->queues_total)) || in nft_queue_dump() 162 nla_put_be16(skb, NFTA_QUEUE_FLAGS, htons(priv->flags))) in nft_queue_dump() 178 nla_put_be16(skb, NFTA_QUEUE_FLAGS, htons(priv->flags))) in nft_queue_sreg_dump()
|
D | nf_tables_trace.c | 75 if (nla_put_be16(nlskb, NFTA_TRACE_IIFTYPE, in nf_trace_fill_dev_info() 85 if (nla_put_be16(nlskb, NFTA_TRACE_OIFTYPE, in nf_trace_fill_dev_info()
|
D | nft_log.c | 265 if (nla_put_be16(skb, NFTA_LOG_GROUP, htons(li->u.ulog.group))) in nft_log_dump() 274 if (nla_put_be16(skb, NFTA_LOG_QTHRESHOLD, in nft_log_dump()
|
D | nft_tunnel.c | 625 if (nla_put_be16(skb, NFTA_TUNNEL_KEY_GENEVE_CLASS, in nft_tunnel_opts_dump() 649 if (nla_put_be16(skb, NFTA_TUNNEL_KEY_SPORT, info->key.tp_src) < 0 || in nft_tunnel_ports_dump() 650 nla_put_be16(skb, NFTA_TUNNEL_KEY_DPORT, info->key.tp_dst) < 0) in nft_tunnel_ports_dump()
|
D | nfnetlink_log.c | 433 if (nla_put_be16(inst->skb, NFULA_VLAN_TCI, htons(skb->vlan_tci)) || in nfulnl_put_bridge() 434 nla_put_be16(inst->skb, NFULA_VLAN_PROTO, skb->vlan_proto)) in nfulnl_put_bridge() 585 if (nla_put_be16(inst->skb, NFULA_HWTYPE, htons(skb->dev->type)) || in __build_packet_message() 586 nla_put_be16(inst->skb, NFULA_HWLEN, in __build_packet_message()
|
D | nft_ct.c | 1011 nla_put_be16(skb, NFTA_CT_TIMEOUT_L3PROTO, htons(timeout->l3num))) in nft_ct_timeout_obj_dump() 1201 if (nla_put_be16(skb, NFTA_CT_HELPER_L3PROTO, htons(family))) in nft_ct_helper_obj_dump() 1299 if (nla_put_be16(skb, NFTA_CT_EXPECT_L3PROTO, htons(priv->l3num)) || in nft_ct_expect_obj_dump() 1301 nla_put_be16(skb, NFTA_CT_EXPECT_DPORT, priv->dport) || in nft_ct_expect_obj_dump()
|
D | nfnetlink_cttimeout.c | 200 nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, in ctnl_timeout_fill_info() 410 if (nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, htons(l3num)) || in cttimeout_default_fill_info()
|
D | nf_conntrack_proto_icmp.c | 258 if (nla_put_be16(skb, CTA_PROTO_ICMP_ID, t->src.u.icmp.id) || in icmp_tuple_to_nlattr()
|
D | nf_conntrack_proto_icmpv6.c | 233 if (nla_put_be16(skb, CTA_PROTO_ICMPV6_ID, t->src.u.icmp.id) || in icmpv6_tuple_to_nlattr()
|
D | nft_synproxy.c | 230 if (nla_put_be16(skb, NFTA_SYNPROXY_MSS, htons(priv->info.mss)) || in nft_synproxy_do_dump()
|
/linux-6.6.21/net/ipv4/ |
D | ipip.c | 528 nla_put_be16(skb, IFLA_IPTUN_ENCAP_SPORT, in ipip_fill_info() 530 nla_put_be16(skb, IFLA_IPTUN_ENCAP_DPORT, in ipip_fill_info()
|
D | ip_tunnel_core.c | 743 if (nla_put_be16(skb, LWTUNNEL_IP_OPT_GENEVE_CLASS, in ip_tun_fill_encap_opts_geneve() 849 nla_put_be16(skb, LWTUNNEL_IP_FLAGS, tun_info->key.tun_flags) || in ip_tun_fill_encap_info() 1011 nla_put_be16(skb, LWTUNNEL_IP6_FLAGS, tun_info->key.tun_flags) || in ip6_tun_fill_encap_info()
|
D | ip_gre.c | 1501 nla_put_be16(skb, IFLA_GRE_IFLAGS, in ipgre_fill_info() 1503 nla_put_be16(skb, IFLA_GRE_OFLAGS, in ipgre_fill_info() 1518 nla_put_be16(skb, IFLA_GRE_ENCAP_SPORT, in ipgre_fill_info() 1520 nla_put_be16(skb, IFLA_GRE_ENCAP_DPORT, in ipgre_fill_info()
|
D | fou_core.c | 767 nla_put_be16(msg, FOU_ATTR_PORT, fou->port) || in fou_fill_info() 768 nla_put_be16(msg, FOU_ATTR_PEER_PORT, sk->sk_dport) || in fou_fill_info()
|
/linux-6.6.21/net/psample/ |
D | psample.c | 267 nla_put_be16(skb, PSAMPLE_TUNNEL_KEY_ATTR_TP_SRC, tun_key->tp_src)) in __psample_ip_tun_to_nlattr() 270 nla_put_be16(skb, PSAMPLE_TUNNEL_KEY_ATTR_TP_DST, tun_key->tp_dst)) in __psample_ip_tun_to_nlattr()
|
/linux-6.6.21/net/ethtool/ |
D | tunnels.c | 142 if (nla_put_be16(skb, ETHTOOL_A_TUNNEL_UDP_ENTRY_PORT, in ethnl_tunnel_info_fill_reply()
|
/linux-6.6.21/net/8021q/ |
D | vlan_netlink.c | 231 if (nla_put_be16(skb, IFLA_VLAN_PROTOCOL, vlan->vlan_proto) || in vlan_fill_info()
|
/linux-6.6.21/drivers/net/ |
D | bareudp.c | 708 if (nla_put_be16(skb, IFLA_BAREUDP_PORT, bareudp->port)) in bareudp_fill_info() 710 if (nla_put_be16(skb, IFLA_BAREUDP_ETHERTYPE, bareudp->ethertype)) in bareudp_fill_info()
|
/linux-6.6.21/net/sched/ |
D | act_tunnel_key.c | 585 if (nla_put_be16(skb, TCA_TUNNEL_KEY_ENC_OPT_GENEVE_CLASS, in tunnel_key_geneve_opts_dump() 749 nla_put_be16(skb, TCA_TUNNEL_KEY_ENC_DST_PORT, in tunnel_key_dump()
|
D | act_vlan.c | 309 nla_put_be16(skb, TCA_VLAN_PUSH_VLAN_PROTOCOL, in tcf_vlan_dump()
|
D | act_mpls.c | 367 if (nla_put_be16(skb, TCA_MPLS_PROTO, p->tcfm_proto)) in tcf_mpls_dump()
|
/linux-6.6.21/net/openvswitch/ |
D | flow_netlink.c | 920 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_SRC, output->tp_src)) in __ip_tun_to_nlattr() 923 nla_put_be16(skb, OVS_TUNNEL_KEY_ATTR_TP_DST, output->tp_dst)) in __ip_tun_to_nlattr() 1977 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, eth_type) || in ovs_nla_put_vlan() 1978 nla_put_be16(skb, OVS_KEY_ATTR_VLAN, vh->tci)) in ovs_nla_put_vlan() 2093 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, in __ovs_nla_put_key() 2100 if (nla_put_be16(skb, OVS_KEY_ATTR_ETHERTYPE, output->eth.type)) in __ovs_nla_put_key() 2193 if (nla_put_be16(skb, OVS_KEY_ATTR_TCP_FLAGS, in __ovs_nla_put_key()
|
/linux-6.6.21/include/net/ |
D | netlink.h | 1314 static inline int nla_put_be16(struct sk_buff *skb, int attrtype, __be16 value) in nla_put_be16() function 1331 return nla_put_be16(skb, attrtype | NLA_F_NET_BYTEORDER, tmp); in nla_put_net16()
|
/linux-6.6.21/net/ipv6/ |
D | ip6_gre.c | 2168 nla_put_be16(skb, IFLA_GRE_IFLAGS, in ip6gre_fill_info() 2170 nla_put_be16(skb, IFLA_GRE_OFLAGS, in ip6gre_fill_info() 2185 nla_put_be16(skb, IFLA_GRE_ENCAP_SPORT, in ip6gre_fill_info() 2187 nla_put_be16(skb, IFLA_GRE_ENCAP_DPORT, in ip6gre_fill_info()
|
/linux-6.6.21/net/mptcp/ |
D | pm_netlink.c | 2016 if (nla_put_be16(skb, MPTCP_ATTR_SPORT, issk->inet_sport)) in mptcp_event_add_subflow() 2018 if (nla_put_be16(skb, MPTCP_ATTR_DPORT, issk->inet_dport)) in mptcp_event_add_subflow() 2169 if (nla_put_be16(skb, MPTCP_ATTR_DPORT, in mptcp_event_addr_announced() 2221 if (nla_put_be16(skb, MPTCP_ATTR_SPORT, issk->inet_sport)) in mptcp_event_pm_listener()
|