Searched refs:ntohs (Results 476 - 500 of 603) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c52 *seq_id = ntohs(hdr->sequence_id);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Defx_common.c1349 if (ntohs(skb->inner_protocol) != ETH_P_TEB)
/linux-master/drivers/net/ethernet/sfc/
H A Defx_common.c1332 if (ntohs(skb->inner_protocol) != ETH_P_TEB)
/linux-master/net/ipv4/
H A Dip_vti.c350 spi = htonl(ntohs(ipch->cpi));
H A Dtcp_ao.c1851 port = ntohs(sin->sin_port);
1864 port = ntohs(sin6->sin6_port);
/linux-master/net/xfrm/
H A Dxfrm_input.c162 *spi = htonl(ntohs(*(__be16 *)(skb_transport_header(skb) + 2)));
/linux-master/net/smc/
H A Daf_smc.c1381 if (ini->ism_chid[i] == ntohs(aclc->d1.chid)) {
2171 smc_check_ism_v2_match(ini, ntohs(pclc_smcd->ism.chid),
2180 chid = ntohs(smcd_v2_ext->gidchid[i].chid);
2183 chid != ntohs(smcd_v2_ext->gidchid[i + 1].chid))
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1288 if (ntohs(ipv4->id) == rq->hw_gro_data->second_ip_id)
1461 pkt_len = network_depth + ntohs(ip4->tot_len);
1465 pkt_len = network_depth + sizeof(*ip6) + ntohs(ip6->payload_len);
2357 rq->hw_gro_data->second_ip_id = ntohs(iph->id);
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_tx.c567 ether_type = ntohs(((struct ethhdr *)skb->data)->h_proto);
/linux-master/net/sctp/
H A Dsocket.c394 snum = ntohs(addr->v4.sin_port);
1214 if (asoc->peer.port != ntohs(daddr->v4.sin_port))
6902 data_len = ntohs(hmacs->param_hdr.length) -
6916 __u16 hmacid = ntohs(hmacs->hmac_ids[i]);
6989 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr);
7039 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr);
8347 snum = ntohs(addr->v4.sin_port);
/linux-master/drivers/infiniband/core/
H A Dcma.c665 ib_addr_set_pkey(dev_addr, ntohs(sib->sib_pkey));
925 pkey = ntohs(addr->sib_pkey);
3640 sib->sib_sid = cpu_to_be64((sid & mask) | (u64) ntohs(port));
3805 snum = ntohs(cma_port(cma_src_addr(id_priv)));
3860 sib->sib_sid = cpu_to_be64(sid_ps | ntohs(cma_port((struct sockaddr *) sib)));
/linux-master/drivers/net/ethernet/neterion/
H A Ds2io.c4055 queue = (ntohs(th->source) +
4056 ntohs(th->dest)) &
4062 queue = (ntohs(th->source) +
4063 ntohs(th->dest)) &
8216 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2);
8230 lro->total_len = ntohs(ip->tot_len);
/linux-master/drivers/net/ethernet/3com/
H A Dtyphoon.c1894 xp_cmd.parm1 = cpu_to_le16(ntohs(*(__be16 *)&dev->dev_addr[0]));
2185 xp_cmd.parm1 = cpu_to_le16(ntohs(*(__be16 *)&dev->dev_addr[0]));
/linux-master/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c226 ntohs(fh->fh_ox_id), fh->fh_r_ctl);
1106 op = ntohs(fiph->fip_op);
/linux-master/drivers/net/
H A Dgeneve.c899 if (ntohs(eth->h_proto) == ETH_P_IPV6) {
901 } else if (ntohs(eth->h_proto) == ETH_P_IP) {
/linux-master/drivers/scsi/qla4xxx/
H A Dql4_mbx.c2054 fw_ddb_entry->port = cpu_to_le16(ntohs(addr->sin_port));
2063 fw_ddb_entry->port = cpu_to_le16(ntohs(addr6->sin6_port));
/linux-master/net/ipv6/
H A Dip6_gre.c978 (ntohs(ip_hdr(skb)->tot_len) > skb->len - nhoff))
988 if (ntohs(ipv6_hdr(skb)->payload_len) > skb->len - thoff)
/linux-master/net/openvswitch/
H A Ddatapath.c823 if ((u8)ntohs(tcp_flags) &&
824 nla_put_u8(skb, OVS_FLOW_ATTR_TCP_FLAGS, (u8)ntohs(tcp_flags)))
/linux-master/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c2362 port = ntohs(((struct sockaddr_in *)sap)->sin_port);
2367 port = ntohs(((struct sockaddr_in6 *)sap)->sin6_port);
/linux-master/tools/bpf/
H A Dbpf_dbg.c618 return ntohs(r);
/linux-master/drivers/scsi/csiostor/
H A Dcsio_wr.c871 uint16_t cidx = q->cidx = ntohs(stp->cidx);
/linux-master/net/batman-adv/
H A Dnetwork-coding.c1688 coding_len = ntohs(coded_packet_tmp.coded_len);
/linux-master/drivers/net/ethernet/sgi/
H A Dioc3-eth.c997 const int proto = ntohs(ih->protocol);
/linux-master/net/netfilter/
H A Dnf_nat_proto.c306 pr_debug("call_id -> 0x%04x\n", ntohs(tuple->dst.u.gre.key));
/linux-master/drivers/net/plip/
H A Dplip.c566 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN)

Completed in 595 milliseconds

<<11121314151617181920>>