| /Linux-v5.4/net/netfilter/ |
| D | nft_queue.c | 85 priv->queuenum = ntohs(nla_get_be16(tb[NFTA_QUEUE_NUM])); in nft_queue_init() 88 priv->queues_total = ntohs(nla_get_be16(tb[NFTA_QUEUE_TOTAL])); in nft_queue_init() 100 priv->flags = ntohs(nla_get_be16(tb[NFTA_QUEUE_FLAGS])); in nft_queue_init() 120 priv->flags = ntohs(nla_get_be16(tb[NFTA_QUEUE_FLAGS])); in nft_queue_sreg_init()
|
| D | nft_log.c | 183 li->u.ulog.group = ntohs(nla_get_be16(tb[NFTA_LOG_GROUP])); in nft_log_init() 191 ntohs(nla_get_be16(tb[NFTA_LOG_QTHRESHOLD])); in nft_log_init()
|
| D | nft_ct.c | 876 l3num = ntohs(nla_get_be16(tb[NFTA_CT_TIMEOUT_L3PROTO])); in nft_ct_timeout_obj_init() 996 family = ntohs(nla_get_be16(tb[NFTA_CT_HELPER_L3PROTO])); in nft_ct_helper_obj_init() 1179 priv->l3num = ntohs(nla_get_be16(tb[NFTA_CT_EXPECT_L3PROTO])); in nft_ct_expect_obj_init() 1182 priv->dport = nla_get_be16(tb[NFTA_CT_EXPECT_DPORT]); in nft_ct_expect_obj_init()
|
| D | nfnetlink_cttimeout.c | 94 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); in cttimeout_new_timeout() 439 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); in cttimeout_default_get()
|
| D | nft_tunnel.c | 371 info.key.tp_src = nla_get_be16(tb[NFTA_TUNNEL_KEY_SPORT]); in nft_tunnel_obj_init() 374 info.key.tp_dst = nla_get_be16(tb[NFTA_TUNNEL_KEY_DPORT]); in nft_tunnel_obj_init()
|
| D | nf_conntrack_proto_icmpv6.c | 205 tuple->src.u.icmp.id = nla_get_be16(tb[CTA_PROTO_ICMPV6_ID]); in icmpv6_nlattr_to_tuple()
|
| D | nf_conntrack_proto_icmp.c | 287 tuple->src.u.icmp.id = nla_get_be16(tb[CTA_PROTO_ICMP_ID]); in icmp_nlattr_to_tuple()
|
| D | nft_synproxy.c | 161 priv->info.mss = ntohs(nla_get_be16(tb[NFTA_SYNPROXY_MSS])); in nft_synproxy_do_init()
|
| D | nf_nat_core.c | 872 range->min_proto.all = nla_get_be16(tb[CTA_PROTONAT_PORT_MIN]); in nf_nat_l4proto_nlattr_to_range() 877 range->max_proto.all = nla_get_be16(tb[CTA_PROTONAT_PORT_MAX]); in nf_nat_l4proto_nlattr_to_range()
|
| /Linux-v5.4/net/sched/ |
| D | act_mpls.c | 170 if (!eth_proto_is_802_3(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init() 193 !eth_p_mpls(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init() 260 p->tcfm_proto = tb[TCA_MPLS_PROTO] ? nla_get_be16(tb[TCA_MPLS_PROTO]) : in tcf_mpls_init()
|
| D | act_tunnel_key.c | 106 nla_get_be16(tb[TCA_TUNNEL_KEY_ENC_OPT_GENEVE_CLASS]); in tunnel_key_copy_geneve_opt() 279 dst_port = nla_get_be16(tb[TCA_TUNNEL_KEY_ENC_DST_PORT]); in tunnel_key_init()
|
| D | act_vlan.c | 162 push_proto = nla_get_be16(tb[TCA_VLAN_PUSH_VLAN_PROTOCOL]); in tcf_vlan_init()
|
| D | act_ct.c | 548 range->min_proto.all = nla_get_be16(tb[TCA_CT_NAT_PORT_MIN]); in tcf_ct_fill_params_nat() 551 nla_get_be16(tb[TCA_CT_NAT_PORT_MAX]) : in tcf_ct_fill_params_nat()
|
| /Linux-v5.4/net/8021q/ |
| D | vlan_netlink.c | 63 switch (nla_get_be16(data[IFLA_VLAN_PROTOCOL])) { in vlan_validate() 159 proto = nla_get_be16(data[IFLA_VLAN_PROTOCOL]); in vlan_newlink()
|
| /Linux-v5.4/net/ipv4/ |
| D | ip_gre.c | 1013 flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]); in ipgre_tunnel_validate() 1015 flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]); in ipgre_tunnel_validate() 1067 flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]); in erspan_validate() 1069 flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]); in erspan_validate() 1107 parms->i_flags = gre_flags_to_tnl_flags(nla_get_be16(data[IFLA_GRE_IFLAGS])); in ipgre_netlink_parms() 1110 parms->o_flags = gre_flags_to_tnl_flags(nla_get_be16(data[IFLA_GRE_OFLAGS])); in ipgre_netlink_parms() 1204 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ipgre_netlink_encap_parms() 1209 ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); in ipgre_netlink_encap_parms()
|
| D | ip_tunnel_core.c | 269 tun_info->key.tun_flags = nla_get_be16(tb[LWTUNNEL_IP_FLAGS]); in ip_tun_build_state() 378 tun_info->key.tun_flags = nla_get_be16(tb[LWTUNNEL_IP6_FLAGS]); in ip6_tun_build_state()
|
| D | ipip.c | 483 ipencap->sport = nla_get_be16(data[IFLA_IPTUN_ENCAP_SPORT]); in ipip_netlink_encap_parms() 488 ipencap->dport = nla_get_be16(data[IFLA_IPTUN_ENCAP_DPORT]); in ipip_netlink_encap_parms()
|
| D | fou.c | 700 port = nla_get_be16(info->attrs[FOU_ATTR_PORT]); in parse_nl_config() 743 port = nla_get_be16(info->attrs[FOU_ATTR_PEER_PORT]); in parse_nl_config()
|
| /Linux-v5.4/net/netfilter/ipset/ |
| D | ip_set_hash_ipport.c | 131 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt() 297 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport6_uadt()
|
| D | ip_set_hash_ipportip.c | 138 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt() 312 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip6_uadt()
|
| D | ip_set_hash_netport.c | 189 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt() 408 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport6_uadt()
|
| D | ip_set_hash_ipportnet.c | 200 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet4_uadt() 460 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet6_uadt()
|
| D | ip_set_hash_netportnet.c | 222 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet4_uadt() 505 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netportnet6_uadt()
|
| /Linux-v5.4/net/ipv6/ |
| D | ip6_gre.c | 1625 flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]); in ip6gre_tunnel_validate() 1627 flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]); in ip6gre_tunnel_validate() 1674 flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]); in ip6erspan_tap_validate() 1676 flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]); in ip6erspan_tap_validate() 1758 nla_get_be16(data[IFLA_GRE_IFLAGS])); in ip6gre_netlink_parms() 1762 nla_get_be16(data[IFLA_GRE_OFLAGS])); in ip6gre_netlink_parms() 1925 ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]); in ip6gre_netlink_encap_parms() 1930 ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]); in ip6gre_netlink_encap_parms()
|
| /Linux-v5.4/net/openvswitch/ |
| D | flow_netlink.c | 724 nla_get_be16(a), is_mask); in ip_tun_from_nlattr() 728 nla_get_be16(a), is_mask); in ip_tun_from_nlattr() 968 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in encode_vlan_from_nlattrs() 971 tpid = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]); in encode_vlan_from_nlattrs() 991 eth_type_vlan(nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE])))) { in validate_vlan_from_nlattrs() 1003 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in validate_vlan_from_nlattrs() 1044 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]); in validate_vlan_mask_from_nlattrs() 1047 tpid = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]); in validate_vlan_mask_from_nlattrs() 1127 eth_type = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]); in parse_eth_type_from_nlattrs() 1650 nla_get_be16(a[OVS_KEY_ATTR_TCP_FLAGS]), in ovs_key_from_nlattrs()
|