taglinefilesource code
ntohs36arch/alpha/lib/checksum.c((unsigned long) ntohs(len) << 16) +
ntohs1723drivers/block/ide-cd.ctoc->hdr.toc_length = ntohs (toc->hdr.toc_length);
ntohs2041drivers/block/ide.c*pp = ntohs(*pp);
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);
ntohs626drivers/net/ibmtr.cunsigned char *check_reason=ti->mmio + ntohs(*(unsigned short *)(ti->mmio + ACA_OFFSET + ACA_RW +WWCR_EVEN));
ntohs683drivers/net/ibmtr.cti->srb=ti->sram+ntohs(open_response->srb_addr);
ntohs684drivers/net/ibmtr.cti->ssb=ti->sram+ntohs(open_response->ssb_addr);
ntohs685drivers/net/ibmtr.cti->arb=ti->sram+ntohs(open_response->arb_addr);
ntohs686drivers/net/ibmtr.cti->asb=ti->sram+ntohs(open_response->asb_addr);
ntohs800drivers/net/ibmtr.cDPRINTK("DLC_STATUS new status: %02X on station %02X\n",ntohs(dlc_status->status),ntohs(dlc_status->station_id));
ntohs810drivers/net/ibmtr.cunsigned short ring_status=ntohs(ring_stat_change->ring_status);
ntohs908drivers/net/ibmtr.cti->init_srb=ti->sram+ntohs(*(unsigned short *)(ti->mmio+ ACA_OFFSET + WRBR_EVEN));
ntohs909drivers/net/ibmtr.cSET_PAGE(ntohs(*(unsigned short *)(ti->mmio+ ACA_OFFSET + WRBR_EVEN)));
ntohs920drivers/net/ibmtr.cDPRINTK("ntohs(srb_init_response->encoded_address): %04X\n",ntohs(((struct srb_init_response *)ti->init_srb)->encoded_address));
ntohs922drivers/net/ibmtr.cencoded_addr=(unsigned char *)(ti->sram + ntohs(((struct srb_init_response *)ti->init_srb)->encoded_address));
ntohs927drivers/net/ibmtr.cntohs(((struct srb_init_response *)ti->init_srb)->encoded_address),  
ntohs1060drivers/net/ibmtr.cdhb=ti->sram+ntohs(xmit_req->dhb_address);
ntohs1098drivers/net/ibmtr.chdr_len=((ntohs(trhdr->rcf)
ntohs1141drivers/net/ibmtr.crbuffer=(struct rec_buf *)(ti->sram+ntohs(rec_req->rec_buf_addr));
ntohs1155drivers/net/ibmtr.cDPRINTK("llc: %p rec_buf_addr: %04X ti->sram: %p\n",llc,ntohs(rec_req->rec_buf_addr),ti->sram);
ntohs1183drivers/net/ibmtr.cif(!(skb=dev_alloc_skb(ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr)))) {
ntohs1191drivers/net/ibmtr.cskb_put(skb,ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr));
ntohs1207drivers/net/ibmtr.crbuffer_len=ntohs(rbuffer->buf_len)-lan_hdr_len;
ntohs1216drivers/net/ibmtr.cfor(rbuffer=(struct rec_buf *)(ti->sram+ntohs(rbuffer->buf_ptr)-2);
ntohs1217drivers/net/ibmtr.cmemcpy(data,&(rbuffer->data),rbuffer_len=ntohs(rbuffer->buf_len)),rbuffer->buf_ptr;
ntohs1218drivers/net/ibmtr.cdata+=rbuffer_len,rbuffer=(struct rec_buf *)(ti->sram+ntohs(rbuffer->buf_ptr)-2))
ntohs1220drivers/net/ibmtr.cDPRINTK("buf_ptr: %d,data =%p\n",ntohs(rbuffer->buf_ptr),data);
ntohs657drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
ntohs2899drivers/net/ppp.clen = ntohs (len);
ntohs2993drivers/net/ppp.clen = ntohs (len);
ntohs1410drivers/net/pt.cskb->protocol = ntohs(ETH_P_AX25);
ntohs490drivers/net/seeq8005.cnext_packet = ntohs(inw(SEEQ_BUFFER));
ntohs256drivers/net/slhc.cif(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) ||
ntohs368drivers/net/slhc.cdeltaS = ntohs(th->urg_ptr);
ntohs378drivers/net/slhc.cif((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
ntohs404drivers/net/slhc.cntohs(cs->cs_ip.tot_len) == hlen)
ntohs416drivers/net/slhc.cdeltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs423drivers/net/slhc.cif(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs430drivers/net/slhc.cdeltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id);
ntohs440drivers/net/slhc.cdeltaA = ntohs(th->check);
ntohs549drivers/net/slhc.ci = ntohs(ip->tot_len) - hdrlen;
ntohs557drivers/net/slhc.cntohs(ip->tot_len) - hdrlen);
ntohs573drivers/net/slhc.cthp->window = htons( ntohs(thp->window) + x);
ntohs593drivers/net/slhc.cip->id = htons (ntohs (ip->id) + x);
ntohs595drivers/net/slhc.cip->id = htons (ntohs (ip->id) + 1);
ntohs112drivers/net/tunnel.cprintk("--- total packet len: %d\n", ntohs(ip->tot_len));
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)));
ntohs140fs/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));
ntohs114fs/ncpfs/sock.cntohs(sender.sipx_port),
ntohs308fs/ncpfs/sock.cntohs(server->m.serv_addr.sipx_port));
ntohs214fs/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) {
ntohs627net/appletalk/aarp.cea->function=ntohs(ea->function);
ntohs339net/appletalk/ddp.cint netrange=ntohs(atif->nets.nr_lastnet)-ntohs(atif->nets.nr_firstnet)+1;
ntohs340net/appletalk/ddp.cint probe_net=ntohs(atif->address.s_net);
ntohs353net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet);
ntohs355net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet) + (jiffies%netrange);
ntohs399net/appletalk/ddp.cif(probe_net>ntohs(atif->nets.nr_lastnet))
ntohs400net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet);
ntohs577net/appletalk/ddp.cif ( riface == NULL && ntohs( ga->sat_addr.s_net ) >= ntohs( iface->nets.nr_firstnet ) &&
ntohs578net/appletalk/ddp.cntohs( ga->sat_addr.s_net ) <=  ntohs( iface->nets.nr_lastnet ))
ntohs779net/appletalk/ddp.climit=ntohs(nr->nr_lastnet);
ntohs780net/appletalk/ddp.cif(limit-ntohs(nr->nr_firstnet) > 256)
ntohs785net/appletalk/ddp.cfor(ct=ntohs(nr->nr_firstnet);ct<=limit;ct++)
ntohs852net/appletalk/ddp.cntohs(iface->address.s_net),iface->address.s_node,
ntohs853net/appletalk/ddp.cntohs(iface->nets.nr_firstnet),ntohs(iface->nets.nr_lastnet),
ntohs885net/appletalk/ddp.cntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags,
ntohs891net/appletalk/ddp.cntohs(rt->target.s_net),rt->target.s_node,
ntohs892net/appletalk/ddp.cntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags,
ntohs1382net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
ntohs1474net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));    /* Mend the byte order */
ntohs1614net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
ntohs159net/core/dev.chash=ntohs(pt->type)&15;
ntohs179net/core/dev.cpt1=&ptype_base[ntohs(pt->type)&15];
ntohs706net/core/dev.cfor (ptype = ptype_base[ntohs(type)&15]; ptype != NULL; ptype = ptype->next) 
ntohs200net/ethernet/eth.cif (ntohs(eth->h_proto) >= 1536)
ntohs287net/ethernet/eth.cip_length = ntohs(iph->tot_len) - sizeof(struct iphdr);
ntohs505net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs707net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs848net/ipv4/af_inet.csnum = ntohs(addr->sin_port);
ntohs918net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs1316net/ipv4/af_inet.chnum = ntohs(num);
ntohs1408net/ipv4/af_inet.chnum = ntohs(num);
ntohs797net/ipv4/arp.cdev->type != ntohs(arp->ar_hrd) || 
ntohs909net/ipv4/arp.cif (dev->type != ntohs(arp->ar_hrd) || dev->flags & IFF_NOARP)
ntohs360net/ipv4/icmp.cin_ntoa(iph->daddr), ntohs(iph->protocol));
ntohs371net/ipv4/icmp.cunsigned short old_mtu = ntohs(iph->tot_len);
ntohs372net/ipv4/icmp.cunsigned short new_mtu = ntohs(icmph->un.echo.sequence);
ntohs143net/ipv4/ip_forward.ciph->check = ntohs(iph->check) + 0x0100;
ntohs246net/ipv4/ip_forward.cif (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) 
ntohs434net/ipv4/ip_fragment.coffset = ntohs(iph->frag_off);
ntohs487net/ipv4/ip_fragment.cend = offset + ntohs(iph->tot_len) - ihl;
ntohs645net/ipv4/ip_fragment.cleft = ntohs(iph->tot_len) - hlen;  /* Space per frame */
ntohs654net/ipv4/ip_fragment.cif (ntohs(iph->frag_off) & IP_DF)
ntohs685net/ipv4/ip_fragment.coffset = (ntohs(iph->frag_off) & IP_OFFSET) << 3;
ntohs225net/ipv4/ip_fw.coffset = ntohs(ip->frag_off) & IP_OFFSET;
ntohs245net/ipv4/ip_fw.cif(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len))
ntohs252net/ipv4/ip_fw.celse if(ntohs(ip->tot_len)<8+(ip->ihl<<2))
ntohs273net/ipv4/ip_fw.csrc_port=ntohs(tcp->source);
ntohs274net/ipv4/ip_fw.cdst_port=ntohs(tcp->dest);
ntohs288net/ipv4/ip_fw.csrc_port=ntohs(udp->source);
ntohs289net/ipv4/ip_fw.cdst_port=ntohs(udp->dest);
ntohs461net/ipv4/ip_fw.cf->fw_bcnt+=ntohs(ip->tot_len);
ntohs514net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport));
ntohs690net/ipv4/ip_fw.cport = ntohs(ms->mport);
ntohs750net/ipv4/ip_fw.ciph->tot_len = htons(diff+ntohs(iph->tot_len));
ntohs815net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs816net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs895net/ipv4/ip_fw.cprintk("O-routed from %lX:%X over %s\n",ntohl(dev->pa_addr),ntohs(ms->mport),dev->name);
ntohs919net/ipv4/ip_fw.cif (ntohs(portptr[1]) < PORT_MASQ_BEGIN ||
ntohs920net/ipv4/ip_fw.cntohs(portptr[1]) > PORT_MASQ_END)
ntohs926net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs927net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs956net/ipv4/ip_fw.cprintk("demasq : Filled out dport entry (%d) based on initial connect attempt from FTP deamon\n",ntohs(ms->dport));
ntohs998net/ipv4/ip_fw.cprintk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1]));
ntohs1664net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport),
ntohs1665net/ipv4/ip_fw.cntohl(ms->dst),ntohs(ms->dport),
ntohs1666net/ipv4/ip_fw.cntohs(ms->mport),
ntohs247net/ipv4/ip_input.c|| skb->len < ntohs(iph->tot_len))
ntohs260net/ipv4/ip_input.cskb_trim(skb,ntohs(iph->tot_len));
ntohs547net/ipv4/ip_input.c(ntohs(iph->tot_len) - (iph->ihl * 4)),
ntohs70net/ipv4/ip_output.cint len=ntohs(skb->ip_hdr->tot_len);
ntohs366net/ipv4/ip_output.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
ntohs395net/ipv4/ip_output.cif(ntohs(iph->tot_len)> dev->mtu)
ntohs94net/ipv4/proc.cdestp = ntohs(destp);
ntohs95net/ipv4/proc.csrcp  = ntohs(srcp);
ntohs208net/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);
ntohs670net/ipv4/tcp.csize = ntohs(iph->tot_len) - (iph->ihl<<2);
ntohs690net/ipv4/tcp.cif (rt && ntohs(iph->tot_len) > rt->rt_mtu)
ntohs738net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs1112net/ipv4/tcp.cunsigned short new_mtu = ntohs(iph->id);
ntohs1633net/ipv4/tcp.ct1->window = ntohs(sk->window);
ntohs2026net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
ntohs2883net/ipv4/tcp.csk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr));
ntohs3202net/ipv4/tcp.ct1->window = ntohs(newsk->window);
ntohs3426net/ipv4/tcp.cif (ntohs(th->window) > sk->max_window) 
ntohs3428net/ipv4/tcp.csk->max_window = ntohs(th->window);
ntohs3488net/ipv4/tcp.cif (after(sk->window_seq, ack+ntohs(th->window))) 
ntohs3512net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs3568net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs4427net/ipv4/tcp.cu32 ptr = ntohs(th->urg_ptr);
ntohs5364net/ipv4/tcp.cif(th->urg && ntohs(th->urg_ptr) < win_size)
ntohs256net/ipv4/udp.cntohs(ufh->uh.len),
ntohs618net/ipv4/udp.culen = ntohs(uh->len);
ntohs648net/ipv4/udp.cntohl(saddr),ntohs(uh->source),
ntohs649net/ipv4/udp.cntohl(daddr),ntohs(uh->dest),
ntohs666net/ipv4/udp.csk=get_sock_mcast(udp_prot.sock_array[ntohs(uh->dest)&(SOCK_ARRAY_SIZE-1)], uh->dest,
ntohs370net/ipx/af_ipx.cswitch (ntohs(ipx->ipx_dest.sock)) 
ntohs1198net/ipx/af_ipx.cswitch (ntohs(frame)) {
ntohs1544net/ipx/af_ipx.cwhile (ipxitf_find_socket(intrfc, ntohs(socketNum)) != NULL)
ntohs1551net/ipx/af_ipx.creturn  ntohs(socketNum);
ntohs1578net/ipx/af_ipx.cif(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser())
ntohs1721net/ipx/af_ipx.cp->node[3],p->node[4],p->node[5],ntohs(p->sock));
ntohs1726net/ipx/af_ipx.cstr,p->ipx_checksum,ntohs(p->ipx_pktsize),ntohs(p->ipx_pktsize),
ntohs1733net/ipx/af_ipx.cint len = ntohs(p->ipx_pktsize);
ntohs1854net/ipx/af_ipx.ctruesize=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet);