Symbol: nla_get_be16
drivers/net/geneve.c
2007
info->key.tp_dst = nla_get_be16(data[IFLA_GENEVE_PORT]);
drivers/net/macsec.c
4174
sci = dev_to_sci(dev, nla_get_be16(data[IFLA_MACSEC_PORT]));
drivers/net/ovpn/netlink.c
109
port = nla_get_be16(attrs[OVPN_A_PEER_REMOTE_PORT]);
drivers/net/vxlan/vxlan_core.c
1182
*port = nla_get_be16(tb[NDA_PORT]);
drivers/net/vxlan/vxlan_core.c
3162
desc.port = nla_get_be16(tb[NDA_PORT]);
drivers/net/vxlan/vxlan_core.c
4236
conf->dst_port = nla_get_be16(data[IFLA_VXLAN_PORT]);
include/linux/netfilter/ipset/ip_set.h
398
return ntohs(nla_get_be16(attr));
include/net/netlink.h
1843
return nla_get_be16(nla);
lib/nlattr.c
201
value = ntohs(nla_get_be16(nla));
lib/nlattr.c
376
value = ntohs(nla_get_be16(nla));
net/8021q/vlan_netlink.c
63
switch (nla_get_be16(data[IFLA_VLAN_PROTOCOL])) {
net/bridge/br_netlink.c
1186
!eth_type_vlan(nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL])))
net/bridge/br_netlink.c
1333
__be16 vlan_proto = nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]);
net/ipv4/fou_core.c
692
port = nla_get_be16(info->attrs[FOU_ATTR_PORT]);
net/ipv4/fou_core.c
735
port = nla_get_be16(info->attrs[FOU_ATTR_PEER_PORT]);
net/ipv4/ip_gre.c
1102
flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]);
net/ipv4/ip_gre.c
1104
flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]);
net/ipv4/ip_gre.c
1160
flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]);
net/ipv4/ip_gre.c
1162
flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]);
net/ipv4/ip_gre.c
1201
nla_get_be16(data[IFLA_GRE_IFLAGS]));
net/ipv4/ip_gre.c
1205
nla_get_be16(data[IFLA_GRE_OFLAGS]));
net/ipv4/ip_gre.c
1317
ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]);
net/ipv4/ip_gre.c
1322
ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]);
net/ipv4/ip_tunnel_core.c
1022
data = nla_get_be16(tb[LWTUNNEL_IP6_FLAGS]);
net/ipv4/ip_tunnel_core.c
1145
encap->sport = nla_get_be16(data[IFLA_IPTUN_ENCAP_SPORT]);
net/ipv4/ip_tunnel_core.c
1150
encap->dport = nla_get_be16(data[IFLA_IPTUN_ENCAP_DPORT]);
net/ipv4/ip_tunnel_core.c
1184
flags = nla_get_be16(data[IFLA_IPTUN_FLAGS]);
net/ipv4/ip_tunnel_core.c
521
opt->opt_class = nla_get_be16(attr);
net/ipv4/ip_tunnel_core.c
736
nla_get_be16(tb[LWTUNNEL_IP_FLAGS]));
net/ipv4/route.c
3334
sport = nla_get_be16(tb[RTA_SPORT]);
net/ipv4/route.c
3337
dport = nla_get_be16(tb[RTA_DPORT]);
net/ipv6/ip6_gre.c
1639
flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]);
net/ipv6/ip6_gre.c
1641
flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]);
net/ipv6/ip6_gre.c
1688
flags |= nla_get_be16(data[IFLA_GRE_OFLAGS]);
net/ipv6/ip6_gre.c
1690
flags |= nla_get_be16(data[IFLA_GRE_IFLAGS]);
net/ipv6/ip6_gre.c
1772
nla_get_be16(data[IFLA_GRE_IFLAGS]));
net/ipv6/ip6_gre.c
1776
nla_get_be16(data[IFLA_GRE_OFLAGS]));
net/ipv6/ip6_gre.c
1931
ipencap->sport = nla_get_be16(data[IFLA_GRE_ENCAP_SPORT]);
net/ipv6/ip6_gre.c
1936
ipencap->dport = nla_get_be16(data[IFLA_GRE_ENCAP_DPORT]);
net/ipv6/route.c
6245
fl6.fl6_sport = nla_get_be16(tb[RTA_SPORT]);
net/ipv6/route.c
6248
fl6.fl6_dport = nla_get_be16(tb[RTA_DPORT]);
net/netfilter/ipset/ip_set_core.c
517
be16_to_cpu(nla_get_be16(tb[IPSET_ATTR_SKBQUEUE]));
net/netfilter/ipset/ip_set_hash_ipport.c
143
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_ipport.c
322
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_ipportip.c
139
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_ipportip.c
317
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_ipportnet.c
201
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_ipportnet.c
467
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_netport.c
190
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_netport.c
413
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_netportnet.c
234
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipset/ip_set_hash_netportnet.c
523
e.port = nla_get_be16(tb[IPSET_ATTR_PORT]);
net/netfilter/ipvs/ip_vs_ctl.c
3474
usvc->port = nla_get_be16(nla_port);
net/netfilter/ipvs/ip_vs_ctl.c
3663
udest->port = nla_get_be16(nla_port);
net/netfilter/ipvs/ip_vs_ctl.c
3694
udest->tun_port = nla_get_be16(nla_tun_port);
net/netfilter/nf_conntrack_core.c
2162
t->src.u.tcp.port = nla_get_be16(tb[CTA_PROTO_SRC_PORT]);
net/netfilter/nf_conntrack_core.c
2169
t->dst.u.tcp.port = nla_get_be16(tb[CTA_PROTO_DST_PORT]);
net/netfilter/nf_conntrack_netlink.c
1417
zone->id = ntohs(nla_get_be16(attr));
net/netfilter/nf_conntrack_proto_icmp.c
299
tuple->src.u.icmp.id = nla_get_be16(tb[CTA_PROTO_ICMP_ID]);
net/netfilter/nf_conntrack_proto_icmpv6.c
277
tuple->src.u.icmp.id = nla_get_be16(tb[CTA_PROTO_ICMPV6_ID]);
net/netfilter/nf_nat_core.c
1039
range->min_proto.all = nla_get_be16(tb[CTA_PROTONAT_PORT_MIN]);
net/netfilter/nf_nat_core.c
1044
range->max_proto.all = nla_get_be16(tb[CTA_PROTONAT_PORT_MAX]);
net/netfilter/nfnetlink_cthelper.c
89
tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM]));
net/netfilter/nfnetlink_cttimeout.c
116
l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO]));
net/netfilter/nfnetlink_cttimeout.c
445
l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO]));
net/netfilter/nfnetlink_log.c
912
flags = ntohs(nla_get_be16(nfula[NFULA_CFG_FLAGS]));
net/netfilter/nfnetlink_queue.c
1490
nla_get_be16(tb[NFQA_VLAN_PROTO]),
net/netfilter/nfnetlink_queue.c
1491
ntohs(nla_get_be16(tb[NFQA_VLAN_TCI])));
net/netfilter/nft_ct.c
1095
family = ntohs(nla_get_be16(tb[NFTA_CT_HELPER_L3PROTO]));
net/netfilter/nft_ct.c
1283
priv->l3num = ntohs(nla_get_be16(tb[NFTA_CT_EXPECT_L3PROTO]));
net/netfilter/nft_ct.c
1309
priv->dport = nla_get_be16(tb[NFTA_CT_EXPECT_DPORT]);
net/netfilter/nft_ct.c
974
l3num = ntohs(nla_get_be16(tb[NFTA_CT_TIMEOUT_L3PROTO]));
net/netfilter/nft_log.c
141
li->u.ulog.group = ntohs(nla_get_be16(tb[NFTA_LOG_GROUP]));
net/netfilter/nft_log.c
149
ntohs(nla_get_be16(tb[NFTA_LOG_QTHRESHOLD]));
net/netfilter/nft_queue.c
109
priv->queuenum = ntohs(nla_get_be16(tb[NFTA_QUEUE_NUM]));
net/netfilter/nft_queue.c
112
priv->queues_total = ntohs(nla_get_be16(tb[NFTA_QUEUE_TOTAL]));
net/netfilter/nft_queue.c
124
priv->flags = ntohs(nla_get_be16(tb[NFTA_QUEUE_FLAGS]));
net/netfilter/nft_queue.c
144
priv->flags = ntohs(nla_get_be16(tb[NFTA_QUEUE_FLAGS]));
net/netfilter/nft_synproxy.c
162
priv->info.mss = ntohs(nla_get_be16(tb[NFTA_SYNPROXY_MSS]));
net/netfilter/nft_tunnel.c
369
opt->opt_class = nla_get_be16(tb[NFTA_TUNNEL_KEY_GENEVE_CLASS]);
net/netfilter/nft_tunnel.c
477
info.key.tp_src = nla_get_be16(tb[NFTA_TUNNEL_KEY_SPORT]);
net/netfilter/nft_tunnel.c
480
info.key.tp_dst = nla_get_be16(tb[NFTA_TUNNEL_KEY_DPORT]);
net/openvswitch/actions.c
1331
err = pop_mpls(skb, key, nla_get_be16(a));
net/openvswitch/flow_netlink.c
1019
eth_type_vlan(nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE])))) {
net/openvswitch/flow_netlink.c
1031
tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
net/openvswitch/flow_netlink.c
1072
tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
net/openvswitch/flow_netlink.c
1075
tpid = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]);
net/openvswitch/flow_netlink.c
1155
eth_type = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]);
net/openvswitch/flow_netlink.c
1667
nla_get_be16(a[OVS_KEY_ATTR_TCP_FLAGS]),
net/openvswitch/flow_netlink.c
3321
proto = nla_get_be16(a);
net/openvswitch/flow_netlink.c
747
nla_get_be16(a), is_mask);
net/openvswitch/flow_netlink.c
751
nla_get_be16(a), is_mask);
net/openvswitch/flow_netlink.c
996
tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
net/openvswitch/flow_netlink.c
999
tpid = nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]);
net/sched/act_ct.c
1205
range->min_proto.all = nla_get_be16(tb[TCA_CT_NAT_PORT_MIN]);
net/sched/act_ct.c
1208
nla_get_be16(tb[TCA_CT_NAT_PORT_MAX]) :
net/sched/act_mpls.c
220
if (!eth_proto_is_802_3(nla_get_be16(tb[TCA_MPLS_PROTO]))) {
net/sched/act_mpls.c
248
!eth_p_mpls(nla_get_be16(tb[TCA_MPLS_PROTO]))) {
net/sched/act_tunnel_key.c
124
nla_get_be16(tb[TCA_TUNNEL_KEY_ENC_OPT_GENEVE_CLASS]);
net/sched/act_tunnel_key.c
425
dst_port = nla_get_be16(tb[TCA_TUNNEL_KEY_ENC_DST_PORT]);
net/sched/act_vlan.c
176
push_proto = nla_get_be16(tb[TCA_VLAN_PUSH_VLAN_PROTOCOL]);
net/sched/cls_flower.c
1114
nla_get_be16(tb[vlan_next_eth_type_key]);
net/sched/cls_flower.c
1136
nla_get_be16(tb[TCA_FLOWER_KEY_PPPOE_SID]);
net/sched/cls_flower.c
1141
nla_get_be16(tb[TCA_FLOWER_KEY_PPP_PROTO]);
net/sched/cls_flower.c
1315
opt->opt_class = nla_get_be16(class);
net/sched/cls_flower.c
1814
*ethertype = nla_get_be16(tb);