taglinefilesource code
ntohs36arch/alpha/lib/checksum.c((unsigned long) ntohs(len) << 16) +
ntohs1745drivers/block/ide-cd.ctoc->hdr.toc_length = ntohs (toc->hdr.toc_length);
ntohs2119drivers/block/ide.c*pp = ntohs(*pp);
ntohs548drivers/isdn/isdn_net.cproto = ntohs(*(unsigned short *)&buf[0]);
ntohs552drivers/isdn/isdn_net.cproto = ntohs(*(unsigned short *)&buf[12]);
ntohs556drivers/isdn/isdn_net.cproto = ntohs(*(unsigned short *)&buf[2]);
ntohs591drivers/isdn/isdn_net.csprintf(addinfo, " TCP, port: %d -> %d", ntohs(ipp->source),
ntohs592drivers/isdn/isdn_net.cntohs(ipp->dest));
ntohs602drivers/isdn/isdn_net.csprintf(addinfo, " UDP, port: %d -> %d", ntohs(ipp->source),
ntohs603drivers/isdn/isdn_net.cntohs(ipp->dest));
ntohs903drivers/isdn/isdn_net.cif (ntohs(eth->h_proto) >= 1536)
ntohs219drivers/net/at1700.c((unsigned short *)dev->dev_addr)[i] = ntohs(eeprom_val);
ntohs276drivers/net/atp.cntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i)));
ntohs477drivers/net/eth16i.c((unsigned short *)dev->dev_addr)[i] = ntohs(node_val);
ntohs659drivers/net/ibmtr.ccheck_reason=ti->mmio + ntohs(readw(ti->mmio + ACA_OFFSET + ACA_RW +WWCR_EVEN));
ntohs725drivers/net/ibmtr.cti->srb=ti->sram+ntohs(readw(ti->init_srb +offsetof(struct srb_open_response, srb_addr)));
ntohs726drivers/net/ibmtr.cti->ssb=ti->sram+ntohs(readw(ti->init_srb +offsetof(struct srb_open_response, ssb_addr)));
ntohs727drivers/net/ibmtr.cti->arb=ti->sram+ntohs(readw(ti->init_srb +offsetof(struct srb_open_response, arb_addr)));
ntohs728drivers/net/ibmtr.cti->asb=ti->sram+ntohs(readw(ti->init_srb +offsetof(struct srb_open_response, asb_addr)));
ntohs880drivers/net/ibmtr.cntohs(readw(ti->arb + offsetof(struct arb_dlc_status, status))),
ntohs881drivers/net/ibmtr.cntohs(readw(ti->arb 
ntohs892drivers/net/ibmtr.cring_status=ntohs(readw(ti->arb
ntohs1005drivers/net/ibmtr.c+ntohs((unsigned short)readw(ti->mmio+ ACA_OFFSET + WRBR_EVEN));
ntohs1006drivers/net/ibmtr.cSET_PAGE(ntohs((unsigned short)readw(ti->mmio+ACA_OFFSET + WRBR_EVEN)));
ntohs1023drivers/net/ibmtr.cntohs(hw_encoded_addr));
ntohs1026drivers/net/ibmtr.cencoded_addr=(ti->sram + ntohs(hw_encoded_addr));
ntohs1030drivers/net/ibmtr.cntohs(hw_encoded_addr), encoded_addr);
ntohs1172drivers/net/ibmtr.c+ntohs(readw(ti->arb + offsetof(struct arb_xmit_req, dhb_address)));
ntohs1219drivers/net/ibmtr.c} else hdr_len=((ntohs(trhdr->rcf) & TR_RCF_LEN_MASK)>>8)
ntohs1257drivers/net/ibmtr.c+ntohs(readw(ti->arb + offsetof(struct arb_rec_req, rec_buf_addr))));
ntohs1277drivers/net/ibmtr.cntohs(readw(ti->arb + offsetof(struct arb_rec_req, rec_buf_addr))), 
ntohs1333drivers/net/ibmtr.carb_frame_len=ntohs(readw(ti->arb+offsetof(struct arb_rec_req, frame_len)));
ntohs1358drivers/net/ibmtr.crbuffer_len=ntohs(readw(rbuffer + offsetof(struct rec_buf, buf_len)))
ntohs1377drivers/net/ibmtr.c+ntohs(readw(rbuffer + offsetof(struct rec_buf, buf_ptr)))-2);
ntohs1378drivers/net/ibmtr.crbuffer_len=ntohs(readw(rbuffer + offsetof(struct rec_buf, buf_len)));
ntohs1385drivers/net/ibmtr.cntohs((rbuffer + offsetof(struct rec_buf, buf_ptr))), data);
ntohs118drivers/net/new_tunnel.cprintk("--- total packet len: %d\n", ntohs(ip->tot_len));
ntohs657drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
ntohs2857drivers/net/ppp.clen = ntohs (len);
ntohs3087drivers/net/ppp.cswitch (ntohs (skb->protocol)) {
ntohs1410drivers/net/pt.cskb->protocol = ntohs(ETH_P_AX25);
ntohs490drivers/net/seeq8005.cnext_packet = ntohs(inw(SEEQ_BUFFER));
ntohs257drivers/net/slhc.cif(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) ||
ntohs369drivers/net/slhc.cdeltaS = ntohs(th->urg_ptr);
ntohs379drivers/net/slhc.cif((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
ntohs405drivers/net/slhc.cntohs(cs->cs_ip.tot_len) == hlen)
ntohs417drivers/net/slhc.cdeltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs424drivers/net/slhc.cif(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs431drivers/net/slhc.cdeltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id);
ntohs441drivers/net/slhc.cdeltaA = ntohs(th->check);
ntohs550drivers/net/slhc.ci = ntohs(ip->tot_len) - hdrlen;
ntohs558drivers/net/slhc.cntohs(ip->tot_len) - hdrlen);
ntohs574drivers/net/slhc.cthp->window = htons( ntohs(thp->window) + x);
ntohs594drivers/net/slhc.cip->id = htons (ntohs (ip->id) + x);
ntohs596drivers/net/slhc.cip->id = htons (ntohs (ip->id) + 1);
ntohs1635drivers/net/wavelan.cprintk("%s: ntohs(length/type)=0x%04x\n", dev->name, ntohs(ltype));
ntohs495drivers/scsi/eata.csh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size);
ntohs497drivers/scsi/eata.csh[j]->can_queue = (ushort) ntohs(info.queue_size);
ntohs425drivers/scsi/eata_dma.cx = ntohs(*sho)/2;        
ntohs836drivers/scsi/eata_dma.cgc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND);
ntohs940drivers/scsi/eata_dma.cif(ntohs(gc->queuesiz) == 0) {
ntohs941drivers/scsi/eata_dma.cgc->queuesiz = ntohs(64);
ntohs947drivers/scsi/eata_dma.c* ntohs(gc->queuesiz));
ntohs967drivers/scsi/eata_dma.cmemset(hd->ccb, 0, sizeof(struct eata_ccb) * ntohs(gc->queuesiz));
ntohs1043drivers/scsi/eata_dma.csh->can_queue = ntohs(gc->queuesiz);
ntohs1063drivers/scsi/eata_dma.cif (gc->SG_64K == TRUE && ntohs(gc->SGsiz) == 64 && hd->bustype != IS_ISA){
ntohs1067drivers/scsi/eata_dma.csh->sg_tablesize = ntohs(gc->SGsiz);
ntohs1071drivers/scsi/eata_dma.cif (ntohs(gc->SGsiz) == 0)
ntohs11drivers/scsi/eata_dma_proc.ch_sp = *sp = ntohs(*sp);
ntohs16drivers/scsi/eata_dma_proc.c*sp = ntohs(*sp);
ntohs642drivers/scsi/eata_pio.cgc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND);
ntohs729drivers/scsi/eata_pio.csize = sizeof(hostdata) + (sizeof(struct eata_ccb) * ntohs(gc->queuesiz));
ntohs734drivers/scsi/eata_pio.cmemset(hd->ccb, 0, (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)));
ntohs147fs/ncpfs/ncplib_kernel.c*target =min(ntohs(ncp_reply_word(server, 0)), size);
ntohs578fs/ncpfs/ncplib_kernel.c*bytes_read = ntohs(ncp_reply_word(server, 0));
ntohs109fs/ncpfs/sock.cntohs(sender.sipx_port),
ntohs257fs/ncpfs/sock.cntohs(sender.sipx_port),
ntohs382fs/ncpfs/sock.cntohs(server->m.serv_addr.sipx_port));
ntohs278fs/nfs/nfsroot.cif (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)) {
ntohs18include/asm-alpha/byteorder.hextern unsigned short int  ntohs(unsigned short int);
ntohs23include/asm-i386/byteorder.hextern unsigned short int  ntohs(unsigned short int);
ntohs98include/asm-i386/checksum.h: "0" (daddr), "1"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum));
ntohs23include/asm-mips/byteorder.hextern unsigned short int  ntohs(unsigned short int);
ntohs131include/asm-mips/checksum.h: "0" (daddr), "r"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum)
ntohs19include/asm-ppc/byteorder.hextern unsigned short int  ntohs(unsigned short int);
ntohs144net/802/tr.cif((ntohs(entry->rcf) & TR_RCF_LEN_MASK) >> 8) {
ntohs669net/appletalk/aarp.cea->function=ntohs(ea->function);
ntohs259net/appletalk/ddp.cntohs(s->protinfo.af_at.src_net),
ntohs263net/appletalk/ddp.cntohs(s->protinfo.af_at.dest_net),
ntohs353net/appletalk/ddp.cint netrange=ntohs(atif->nets.nr_lastnet)-ntohs(atif->nets.nr_firstnet)+1;
ntohs354net/appletalk/ddp.cint probe_net=ntohs(atif->address.s_net);
ntohs398net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet);
ntohs400net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet) + (jiffies%netrange);
ntohs444net/appletalk/ddp.cif(probe_net>ntohs(atif->nets.nr_lastnet))
ntohs445net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet);
ntohs622net/appletalk/ddp.cif ( riface == NULL && ntohs( ga->sat_addr.s_net ) >= ntohs( iface->nets.nr_firstnet ) &&
ntohs623net/appletalk/ddp.cntohs( ga->sat_addr.s_net ) <=  ntohs( iface->nets.nr_lastnet ))
ntohs830net/appletalk/ddp.climit=ntohs(nr->nr_lastnet);
ntohs831net/appletalk/ddp.cif(limit-ntohs(nr->nr_firstnet) > 256)
ntohs836net/appletalk/ddp.cfor(ct=ntohs(nr->nr_firstnet);ct<=limit;ct++)
ntohs903net/appletalk/ddp.cntohs(iface->address.s_net),iface->address.s_node,
ntohs904net/appletalk/ddp.cntohs(iface->nets.nr_firstnet),ntohs(iface->nets.nr_lastnet),
ntohs936net/appletalk/ddp.cntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags,
ntohs942net/appletalk/ddp.cntohs(rt->target.s_net),rt->target.s_node,
ntohs943net/appletalk/ddp.cntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags,
ntohs1439net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
ntohs1542net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));    /* Mend the byte order */
ntohs1749net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
ntohs157net/core/dev.chash=ntohs(pt->type)&15;
ntohs177net/core/dev.cpt1=&ptype_base[ntohs(pt->type)&15];
ntohs619net/core/dev.cfor (ptype = ptype_base[ntohs(type)&15]; ptype != NULL; ptype = ptype->next) 
ntohs201net/ethernet/eth.cif (ntohs(eth->h_proto) >= 1536)
ntohs291net/ethernet/eth.cip_length = ntohs(iph->tot_len) - sizeof(struct iphdr);
ntohs503net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs713net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs811net/ipv4/af_inet.csnum = ntohs(addr->sin_port);
ntohs911net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs1311net/ipv4/af_inet.chnum = ntohs(num);
ntohs1403net/ipv4/af_inet.chnum = ntohs(num);
ntohs986net/ipv4/arp.cdev->type != ntohs(arp->ar_hrd) || 
ntohs1098net/ipv4/arp.cif (dev->type != ntohs(arp->ar_hrd) || dev->flags & IFF_NOARP)
ntohs372net/ipv4/icmp.cunsigned short old_mtu = ntohs(iph->tot_len);
ntohs373net/ipv4/icmp.cunsigned short new_mtu = ntohs(icmph->un.echo.sequence);
ntohs148net/ipv4/ip_forward.ciph->check = ntohs(iph->check) + 0x0100;
ntohs255net/ipv4/ip_forward.cif (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) 
ntohs422net/ipv4/ip_fragment.coffset = ntohs(iph->frag_off);
ntohs475net/ipv4/ip_fragment.cend = offset + ntohs(iph->tot_len) - ihl;
ntohs632net/ipv4/ip_fragment.cleft = ntohs(iph->tot_len) - hlen;  /* Space per frame */
ntohs641net/ipv4/ip_fragment.cif (ntohs(iph->frag_off) & IP_DF)
ntohs672net/ipv4/ip_fragment.coffset = (ntohs(iph->frag_off) & IP_OFFSET) << 3;
ntohs237net/ipv4/ip_fw.coffset = ntohs(ip->frag_off) & IP_OFFSET;
ntohs257net/ipv4/ip_fw.cif(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len))
ntohs264net/ipv4/ip_fw.celse if(ntohs(ip->tot_len)<8+(ip->ihl<<2))
ntohs285net/ipv4/ip_fw.csrc_port=ntohs(tcp->source);
ntohs286net/ipv4/ip_fw.cdst_port=ntohs(tcp->dest);
ntohs300net/ipv4/ip_fw.csrc_port=ntohs(udp->source);
ntohs301net/ipv4/ip_fw.cdst_port=ntohs(udp->dest);
ntohs480net/ipv4/ip_fw.cf->fw_bcnt+=ntohs(ip->tot_len);
ntohs251net/ipv4/ip_input.c|| skb->len < ntohs(iph->tot_len))
ntohs264net/ipv4/ip_input.cskb_trim(skb,ntohs(iph->tot_len));
ntohs552net/ipv4/ip_input.c(ntohs(iph->tot_len) - (iph->ihl * 4)),
ntohs93net/ipv4/ip_masq.creturn (proto^ntohl(addr)^ntohs(port)) & (IP_MASQ_TAB_SIZE-1);
ntohs267net/ipv4/ip_masq.cntohl(ms->src),ntohs(ms->sport));
ntohs421net/ipv4/ip_masq.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs422net/ipv4/ip_masq.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs500net/ipv4/ip_masq.cprintk("O-routed from %lX:%X over %s\n",ntohl(ms->maddr),ntohs(ms->mport),dev->name);
ntohs524net/ipv4/ip_masq.cif (ntohs(portptr[1]) < PORT_MASQ_BEGIN ||
ntohs525net/ipv4/ip_masq.cntohs(portptr[1]) > PORT_MASQ_END)
ntohs531net/ipv4/ip_masq.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs532net/ipv4/ip_masq.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs553net/ipv4/ip_masq.cntohs(ms->dport));
ntohs561net/ipv4/ip_masq.cntohs(ms->daddr));
ntohs598net/ipv4/ip_masq.cprintk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1]));
ntohs633net/ipv4/ip_masq.cntohl(ms->saddr),ntohs(ms->sport),
ntohs634net/ipv4/ip_masq.cntohl(ms->daddr),ntohs(ms->dport),
ntohs635net/ipv4/ip_masq.cntohs(ms->mport),
ntohs142net/ipv4/ip_masq_app.cport = ntohs(port);
ntohs121net/ipv4/ip_masq_ftp.cport = ntohs(n_ms->mport);
ntohs183net/ipv4/ip_masq_irc.cntohl(n_ms->maddr),ntohs(n_ms->mport));
ntohs70net/ipv4/ip_output.cint len=ntohs(skb->ip_hdr->tot_len);
ntohs388net/ipv4/ip_output.cif(ntohs(iph->tot_len)> dev->mtu)
ntohs94net/ipv4/proc.cdestp = ntohs(destp);
ntohs95net/ipv4/proc.csrcp  = ntohs(srcp);
ntohs209net/ipv4/rarp.cif (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) 
ntohs123net/ipv4/raw.cskb_trim(skb,ntohs(skb->ip_hdr->tot_len));
ntohs137net/ipv4/raw.cskb->ip_hdr->tot_len=ntohs(skb->ip_hdr->tot_len-4*skb->ip_hdr->ihl);
ntohs556net/ipv4/tcp.cunsigned short new_mtu = ntohs(iph->id);
ntohs1126net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
ntohs285net/ipv4/tcp_input.csk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr));
ntohs635net/ipv4/tcp_input.cwindow_seq = ntohs(th->window);
ntohs1446net/ipv4/tcp_input.cu32 ptr = ntohs(th->urg_ptr);
ntohs364net/ipv4/tcp_output.csize = ntohs(iph->tot_len) - (iph->ihl<<2);
ntohs384net/ipv4/tcp_output.cif (rt && ntohs(iph->tot_len) > rt->rt_mtu)
ntohs434net/ipv4/tcp_output.cth->window = ntohs(tcp_select_window(sk));
ntohs718net/ipv4/tcp_output.ct1->window = ntohs(tcp_select_window(newsk));
ntohs820net/ipv4/tcp_output.ct1->window = ntohs(sk->window);
ntohs979net/ipv4/tcp_output.cif(th->urg && ntohs(th->urg_ptr) < win_size)
ntohs256net/ipv4/udp.cntohs(ufh->uh.len),
ntohs615net/ipv4/udp.culen = ntohs(uh->len);
ntohs646net/ipv4/udp.cntohl(saddr),ntohs(uh->source),
ntohs647net/ipv4/udp.cntohl(daddr),ntohs(uh->dest),
ntohs664net/ipv4/udp.csk=get_sock_mcast(udp_prot.sock_array[ntohs(uh->dest)&(SOCK_ARRAY_SIZE-1)], uh->dest,
ntohs465net/ipx/af_ipx.cswitch (ntohs(ipx->ipx_dest.sock)) 
ntohs1228net/ipx/af_ipx.cif ((err = ntohs(sk->protinfo.af_ipx.port)) == 0x453 || err == 0x452)  
ntohs1324net/ipx/af_ipx.cswitch (ntohs(frame)) {
ntohs1695net/ipx/af_ipx.cwhile (ipxitf_find_socket(intrfc, ntohs(socketNum)) != NULL)
ntohs1702net/ipx/af_ipx.creturn  ntohs(socketNum);
ntohs1729net/ipx/af_ipx.cif(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser())
ntohs1940net/ipx/af_ipx.cp->node[3],p->node[4],p->node[5],ntohs(p->sock));
ntohs1945net/ipx/af_ipx.cstr,p->ipx_checksum,ntohs(p->ipx_pktsize),ntohs(p->ipx_pktsize),
ntohs1952net/ipx/af_ipx.cint len = ntohs(p->ipx_pktsize);
ntohs2078net/ipx/af_ipx.ctruesize=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet);