/linux-master/net/openvswitch/ |
H A D | conntrack.c | 111 switch (ntohs(key->eth.type)) { 1460 ntohs(info->range.min_proto.all)) || 1463 ntohs(info->range.max_proto.all)))))
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_proto_sctp.c | 413 int clen = ntohs(sch->length); 447 ntohs(cp->dport), 449 ntohs(cp->cport), 543 ntohs(cp->cport), 545 ntohs(cp->vport), 546 inc->name, ntohs(inc->port));
|
/linux-master/net/ipv6/ |
H A D | udp.c | 214 unsigned short hnum = ntohs(dport); 821 &ipv6_hdr(skb)->saddr, ntohs(udp_hdr(skb)->source), 822 &ipv6_hdr(skb)->daddr, ntohs(udp_hdr(skb)->dest)); 835 unsigned short hnum = ntohs(uh->dest); 944 ulen = ntohs(uh->len); 1033 saddr, ntohs(uh->source), 1035 daddr, ntohs(uh->dest)); 1057 unsigned short hnum = ntohs(loc_port); 1714 __u16 srcp = ntohs(inet->inet_sport); 1715 __u16 destp = ntohs(ine [all...] |
/linux-master/net/ipv4/ |
H A D | udp.c | 474 unsigned short hnum = ntohs(dport); 2237 unsigned short hnum = ntohs(uh->dest); 2388 ulen = ntohs(uh->len); 2454 &saddr, ntohs(uh->source), 2456 &daddr, ntohs(uh->dest)); 2467 &saddr, ntohs(uh->source), &daddr, ntohs(uh->dest), 2485 unsigned short hnum = ntohs(loc_port); 2521 unsigned short hnum = ntohs(loc_port); 3087 __u16 destp = ntohs(ine [all...] |
H A D | tcp_ao.c | 1851 port = ntohs(sin->sin_port); 1864 port = ntohs(sin6->sin6_port);
|
H A D | icmp.c | 905 info = ntohs(icmph->un.frag.mtu); 1049 if (!(ntohs(icmphdr->un.echo.sequence) & 1)) 1064 if (ntohs(iio->extobj_hdr.length) <= sizeof(iio->extobj_hdr) || 1065 ntohs(iio->extobj_hdr.length) > sizeof(_iio)) 1067 ident_len = ntohs(iio->extobj_hdr.length) - sizeof(iio->extobj_hdr); 1093 switch (ntohs(iio->ident.addr.ctype3_hdr.afi)) { 1322 olen = ntohs(objh->length);
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1583 md->gbp = ntohs(gbp->policy_id); 2084 switch (ntohs(eth_hdr(skb)->h_proto)) { 2453 if (ntohs(eth->h_proto) == ETH_P_IPV6 || 2454 (ntohs(eth->h_proto) == ETH_P_IP && 2689 if (ntohs(eth->h_proto) == ETH_P_ARP) 2692 else if (ntohs(eth->h_proto) == ETH_P_IPV6 && 2728 (ntohs(eth->h_proto) == ETH_P_IP || 2729 ntohs(eth->h_proto) == ETH_P_IPV6)) { 3424 if (ntohs(p->high) < ntohs( [all...] |
/linux-master/drivers/net/ |
H A D | gtp.c | 195 switch (ntohs(skb->protocol)) { 882 unsigned int proto = ntohs(skb->protocol);
|
H A D | virtio_net.c | 1848 ntohs(skb->protocol), skb->len, skb->pkt_type);
|
H A D | geneve.c | 894 if (ntohs(eth->h_proto) == ETH_P_IPV6) { 896 } else if (ntohs(eth->h_proto) == ETH_P_IP) {
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpts.c | 905 seqid = ntohs(hdr->sequence_id);
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 3698 n_proto_key = ntohs(match.key->n_proto); 3699 n_proto_mask = ntohs(match.mask->n_proto);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 8350 cld->inner_vlan = cpu_to_le16(ntohs(filter->vlan_id)); 8534 ntohs(filter->dst_port)); 8583 n_proto_key = ntohs(match.key->n_proto); 8584 n_proto_mask = ntohs(match.mask->n_proto); 12983 ret = i40e_aq_add_udp_tunnel(hw, ntohs(ti->port), type, &filter_index,
|
/linux-master/fs/smb/client/ |
H A D | connect.c | 3047 ntohs(sport)); 3055 ntohs(sport));
|
/linux-master/net/netfilter/ |
H A D | nf_flow_table_ip.c | 156 tuple->encap[i].id = ntohs(veth->h_vlan_TCI); 161 tuple->encap[i].id = ntohs(phdr->sid);
|
/linux-master/net/core/ |
H A D | dev.c | 546 &ptype_base[ntohs(pt->type) & PTYPE_HASH_MASK]; 2279 ntohs(skb2->protocol), 5496 &ptype_base[ntohs(type) &
|
/linux-master/net/bridge/netfilter/ |
H A D | nf_conntrack_bridge.c | 233 len = ntohs(hdr->payload_len) + sizeof(struct ipv6hdr) + nhoff; 273 len = sizeof(struct ipv6hdr) + ntohs(ipv6_hdr(skb)->payload_len);
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 4772 vlanid = ntohs(veth->h_vlan_TCI);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads.c | 681 flow_act.vlan[0].ethtype = ntohs(esw_attr->vlan_proto[0]); 685 flow_act.vlan[1].ethtype = ntohs(esw_attr->vlan_proto[1]);
|
H A D | en_main.c | 5105 return mlx5_vxlan_add_port(priv->mdev->vxlan, ntohs(ti->port)); 5113 return mlx5_vxlan_del_port(priv->mdev->vxlan, ntohs(ti->port));
|
H A D | en_arfs.c | 536 ntohs(tuple->etype)); 552 ntohs(tuple->dst_port)); 554 ntohs(tuple->src_port)); 561 ntohs(tuple->dst_port)); 563 ntohs(tuple->src_port));
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 573 ntohs(match.key->vlan_tpid)); 585 ntohs(match.key->vlan_tpid), match.key->vlan_id); 702 if (ntohs(flow_spec->etype) == ETH_P_IP) { 706 } else if (ntohs(flow_spec->etype) == ETH_P_IPV6) { 759 if ((ntohs(flow_spec->etype) != ETH_P_IP) &&
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1507 n_proto_key = ntohs(match.key->n_proto); 1508 n_proto_mask = ntohs(match.mask->n_proto);
|
/linux-master/net/ipv4/netfilter/ |
H A D | ip_tables.c | 252 acpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET;
|
/linux-master/net/batman-adv/ |
H A D | translation-table.c | 2826 ntohs(tt_vlan_tmp->vid))) 2830 ntohs(tt_vlan_tmp->vid)); 3031 ntohs(tt_data->num_vlan))) 3265 ntohs((tt_change + i)->vid), 3271 ntohs((tt_change + i)->vid), 3387 change_offset *= ntohs(tt_data->num_vlan); 3999 num_vlan = ntohs(tt_data->num_vlan); 4043 tt_vlan_len *= ntohs(tt_data->num_vlan); 4138 ntohs(roaming_adv->vid), BATADV_TT_CLIENT_ROAM,
|