Searched refs:ntohs (Results 1 - 25 of 599) sorted by last modified time

1234567891011>>

/linux-master/net/openvswitch/
H A Dconntrack.c111 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 Dip_vs_proto_sctp.c413 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 Dudp.c214 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 Dudp.c474 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 Dtcp_ao.c1851 port = ntohs(sin->sin_port);
1864 port = ntohs(sin6->sin6_port);
H A Dicmp.c905 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 Dvxlan_core.c1583 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 Dgtp.c195 switch (ntohs(skb->protocol)) {
882 unsigned int proto = ntohs(skb->protocol);
H A Dvirtio_net.c1848 ntohs(skb->protocol), skb->len, skb->pkt_type);
H A Dgeneve.c894 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 Dam65-cpts.c905 seqid = ntohs(hdr->sequence_id);
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c3698 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 Di40e_main.c8350 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 Dconnect.c3047 ntohs(sport));
3055 ntohs(sport));
/linux-master/net/netfilter/
H A Dnf_flow_table_ip.c156 tuple->encap[i].id = ntohs(veth->h_vlan_TCI);
161 tuple->encap[i].id = ntohs(phdr->sid);
/linux-master/net/core/
H A Ddev.c546 &ptype_base[ntohs(pt->type) & PTYPE_HASH_MASK];
2279 ntohs(skb2->protocol),
5496 &ptype_base[ntohs(type) &
/linux-master/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c233 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 Dstmmac_main.c4772 vlanid = ntohs(veth->h_vlan_TCI);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c681 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 Den_main.c5105 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 Den_arfs.c536 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 Dotx2_tc.c573 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 Dice_tc_lib.c1507 n_proto_key = ntohs(match.key->n_proto);
1508 n_proto_mask = ntohs(match.mask->n_proto);
/linux-master/net/ipv4/netfilter/
H A Dip_tables.c252 acpar.fragoff = ntohs(ip->frag_off) & IP_OFFSET;
/linux-master/net/batman-adv/
H A Dtranslation-table.c2826 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,

Completed in 550 milliseconds

1234567891011>>