/linux-master/tools/testing/selftests/net/lib/ |
H A D | csum.c | 240 cfg_port_src, ntohs(uh->source)); 241 cfg_port_src = ntohs(uh->source); 623 return recv_verify_csum(th, len, ntohs(tcph->source), tcph->check); 650 return recv_verify_csum(th, len, ntohs(udph->source), udph->check);
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_lport.c | 1148 ntohs(ct->ct_cmd) == FC_FS_ACC) 1231 if ((ntohs(ct->ct_cmd) == FC_FS_RJT) && fc_host->fdmi_version == FDMI_V2) { 1237 } else if (ntohs(ct->ct_cmd) == FC_FS_ACC) 1782 mfs = ntohs(flp->fl_csp.sp_bb_data) & 1797 csp_flags = ntohs(flp->fl_csp.sp_features); 1980 if (fr_sof(fp) == FC_SOF_I3 && !ntohs(fh->fh_seq_cnt)) { 1983 ntohs(((struct fc_ct_hdr *)buf)->ct_cmd) :
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.c | 189 typelength = ntohs(tlv->typelength); 347 typelength = ntohs(tlv->hdr.typelen); 381 dcbcfg->app[i].protocolid = ntohs(app->protocol); 409 typelength = ntohs(tlv->typelength); 419 typelength = ntohs(sub_tlv->hdr.typelen); 495 typelength = ntohs(tlv->typelength); 1250 typelength = ntohs(tlv->typelength);
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_lnode.c | 279 if (ntohs(csio_ct_rsp(cmd)) != FC_FS_ACC) { 313 if (ntohs(csio_ct_rsp(cmd)) != FC_FS_ACC) { 429 if (ntohs(csio_ct_rsp(cmd)) != FC_FS_ACC) { 530 if (ntohs(csio_ct_rsp(cmd)) != FC_FS_ACC) { 802 ntohs(rsp->priority_pkd)); 803 fcf_info->vf_id = ntohs(rsp->vf_id); 805 fcf_info->max_fcoe_size = ntohs(rsp->max_fcoe_size);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 442 tcp_sport, ntohs(match.mask->src)); 444 tcp_sport, ntohs(match.key->src)); 447 tcp_dport, ntohs(match.mask->dst)); 449 tcp_dport, ntohs(match.key->dst)); 454 udp_sport, ntohs(match.mask->src)); 456 udp_sport, ntohs(match.key->src)); 459 udp_dport, ntohs(match.mask->dst)); 461 udp_dport, ntohs(match.key->dst)); 473 ntohs(match.mask->flags)); 475 ntohs(matc [all...] |
/linux-master/net/sctp/ |
H A D | associola.c | 264 ntohs(ep->auth_hmacs_list->param_hdr.length)); 267 ntohs(ep->auth_chunk_list->param_hdr.length)); 594 port = ntohs(addr->v4.sin_port); 1600 int var_size2 = ntohs(peer_init->chunk_hdr.length); 1614 if ((asoc->base.bind_addr.port == ntohs(laddr->v4.sin_port)) &&
|
/linux-master/net/l2tp/ |
H A D | l2tp_core.c | 670 L2TP_SKB_CB(skb)->ns = ntohs(*(__be16 *)ptr); 732 offset = ntohs(*(__be16 *)ptr); 821 hdrflags = ntohs(*(__be16 *)ptr); 842 tunnel_id = ntohs(*(__be16 *)ptr); 858 session_id = ntohs(*(__be16 *)ptr);
|
/linux-master/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 712 fip->flogi_oxid = ntohs(fh->fh_ox_id); 906 fcf->flags = ntohs(fiph->fip_flags); 914 rlen = ntohs(fiph->fip_dl_len) * 4; 964 fcf->vfid = ntohs(fab->fd_vfid); 1158 rlen = ntohs(fiph->fip_dl_len) * 4; 1257 if (fip->flogi_oxid == ntohs(fh->fh_ox_id)) { 1371 rlen = ntohs(fh->fip_dl_len) * FIP_BPW; 1552 op = ntohs(fiph->fip_op); 1557 if (ntohs(fiph->fip_dl_len) * FIP_BPW + sizeof(*fiph) > skb->len) 1911 fip->flogi_oxid == ntohs(f [all...] |
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 713 tmp = ntohs(all_options->mss.mss); 768 cm_node->tcp_cntxt.snd_wnd = ntohs(tcph->window) 969 ctrl_ord = ntohs(rtr_msg->ctrl_ord); 970 ctrl_ird = ntohs(rtr_msg->ctrl_ird); 1041 priv_data_len = ntohs(mpa_frame->priv_data_len); 3167 vtag = ntohs(ethh->h_vlan_TCI); 3193 cm_info.loc_port = ntohs(tcph->dest); 3194 cm_info.rem_port = ntohs(tcph->source); 3862 cm_info.loc_port = ntohs(laddr->sin_port); 3863 cm_info.rem_port = ntohs(radd [all...] |
/linux-master/net/core/ |
H A D | flow_dissector.c | 182 key_icmp->id = ih->un.echo.id ? ntohs(ih->un.echo.id) : 1; 604 key_arp->op = ntohs(arp->ar_op) & 0xff; 659 gre_ver = ntohs(hdr->flags & GRE_VERSION); 1320 key_vlan->vlan_id = ntohs(vlan->h_vlan_TCI) & 1323 (ntohs(vlan->h_vlan_TCI) & 1354 ppp_proto = ntohs(hdr->proto);
|
/linux-master/net/mptcp/ |
H A D | subflow.c | 221 ntohs(inet_sk(sk_listener)->inet_sport), 222 ntohs(inet_sk((struct sock *)subflow_req->msk)->inet_sport)); 582 ntohs(inet_sk(sk)->inet_dport), 583 ntohs(inet_sk(parent)->inet_dport)); 893 ntohs(inet_sk(sk)->inet_sport), 894 ntohs(inet_sk((struct sock *)owner)->inet_sport));
|
/linux-master/net/netfilter/ |
H A D | nfnetlink_cttimeout.c | 117 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); 447 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO]));
|
/linux-master/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 189 ntohs(sin6->sin6_port)); 224 ret, stid, &sin->sin_addr, ntohs(sin->sin_port)); 1225 u16 peer_mss = ntohs(req->tcpopt.mss); 1265 local_ip, peer_ip, ntohs(local_port), 1266 ntohs(peer_port), peer_mss); 1276 local_ip, peer_ip, ntohs(local_port), 1277 ntohs(peer_port), peer_mss); 1297 ret = cxgbit_offload_init(csk, iptype, peer_ip, ntohs(local_port),
|
/linux-master/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 527 ntohs(skb->protocol)); 543 ntohs(skb->protocol));
|
/linux-master/fs/afs/ |
H A D | cmservice.c | 566 reply.ia.uuid[1] = htonl(ntohs(call->net->uuid.time_mid)); 567 reply.ia.uuid[2] = htonl(ntohs(call->net->uuid.time_hi_and_version));
|
H A D | vlclient.c | 292 r->uuid.time_mid = htonl(ntohs(u->time_mid)); 293 r->uuid.time_hi_and_version = htonl(ntohs(u->time_hi_and_version));
|
/linux-master/drivers/atm/ |
H A D | atmtcp.c | 300 out_vcc = find_vcc(dev, ntohs(hdr->vpi), ntohs(hdr->vci));
|
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 308 u16 protocol = ntohs(skb->protocol); 322 vlan_id = ntohs(vh->h_vlan_TCI); 466 u16 protocol = ntohs(skb->protocol); 472 vlan_tci = ntohs(vh->h_vlan_TCI); 473 protocol = ntohs(vh->h_vlan_encapsulated_proto); 751 protocol = ntohs(skb->protocol); 1321 if (ntohs(skb->protocol) == ETH_P_IPV6) { 1842 if (ntohs(skb->protocol) == ETH_P_IPV6) {
|
/linux-master/net/rxrpc/ |
H A D | io_thread.c | 143 sp->hdr._rsvd = ntohs(whdr._rsvd); 144 sp->hdr.serviceId = ntohs(whdr.serviceId);
|
/linux-master/drivers/net/ppp/ |
H A D | pptp.c | 309 payload_len = ntohs(header->payload_len); 370 po = lookup_chan(ntohs(header->call_id), iph->saddr);
|
/linux-master/net/ipv4/ |
H A D | tcp_timer.c | 554 &inet->inet_daddr, ntohs(inet->inet_dport), 562 &sk->sk_v6_daddr, ntohs(inet->inet_dport),
|
H A D | ip_fragment.c | 300 offset = ntohs(ip_hdr(skb)->frag_off); 529 len = ntohs(iph.tot_len);
|
/linux-master/net/ipv6/netfilter/ |
H A D | nf_conntrack_reasm.c | 179 payload_len = ntohs(ipv6_hdr(skb)->payload_len); 181 offset = ntohs(fhdr->frag_off) & ~0x7;
|
/linux-master/net/batman-adv/ |
H A D | main.c | 382 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; 639 vid = ntohs(vhdr->h_vlan_TCI) & VLAN_VID_MASK;
|
/linux-master/net/smc/ |
H A D | smc_cdc.c | 312 u16 recv_seq = ntohs(cdc->seqno); 495 if (smc_cdc_before(ntohs(cdc->seqno),
|