taglinefilesource code
ntohs36arch/alpha/lib/checksum.c((unsigned long) ntohs(len) << 16) +
ntohs1946drivers/block/ide.c*pp = ntohs(*pp);
ntohs224drivers/net/at1700.c((unsigned short *)dev->dev_addr)[i] = ntohs(eeprom_val);
ntohs276drivers/net/atp.cntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i)));
ntohs638drivers/net/ibmtr.cunsigned char *check_reason=ti->mmio + ntohs(*(unsigned short *)(ti->mmio + ACA_OFFSET + ACA_RW +WWCR_EVEN));
ntohs695drivers/net/ibmtr.cti->srb=ti->sram+ntohs(open_response->srb_addr);
ntohs696drivers/net/ibmtr.cti->ssb=ti->sram+ntohs(open_response->ssb_addr);
ntohs697drivers/net/ibmtr.cti->arb=ti->sram+ntohs(open_response->arb_addr);
ntohs698drivers/net/ibmtr.cti->asb=ti->sram+ntohs(open_response->asb_addr);
ntohs812drivers/net/ibmtr.cDPRINTK("DLC_STATUS new status: %02X on station %02X\n",ntohs(dlc_status->status),ntohs(dlc_status->station_id));
ntohs822drivers/net/ibmtr.cunsigned short ring_status=ntohs(ring_stat_change->ring_status);
ntohs920drivers/net/ibmtr.cti->init_srb=ti->sram+ntohs(*(unsigned short *)(ti->mmio+ ACA_OFFSET + WRBR_EVEN));
ntohs921drivers/net/ibmtr.cSET_PAGE(ntohs(*(unsigned short *)(ti->mmio+ ACA_OFFSET + WRBR_EVEN)));
ntohs932drivers/net/ibmtr.cDPRINTK("ntohs(srb_init_response->encoded_address): %04X\n",ntohs(((struct srb_init_response *)ti->init_srb)->encoded_address));
ntohs934drivers/net/ibmtr.cencoded_addr=(unsigned char *)(ti->sram + ntohs(((struct srb_init_response *)ti->init_srb)->encoded_address));
ntohs939drivers/net/ibmtr.cntohs(((struct srb_init_response *)ti->init_srb)->encoded_address),  
ntohs1070drivers/net/ibmtr.cdhb=ti->sram+ntohs(xmit_req->dhb_address);
ntohs1108drivers/net/ibmtr.chdr_len=((ntohs(trhdr->rcf)
ntohs1151drivers/net/ibmtr.crbuffer=(struct rec_buf *)(ti->sram+ntohs(rec_req->rec_buf_addr));
ntohs1165drivers/net/ibmtr.cDPRINTK("llc: %p rec_buf_addr: %04X ti->sram: %p\n",llc,ntohs(rec_req->rec_buf_addr),ti->sram);
ntohs1193drivers/net/ibmtr.cif(!(skb=dev_alloc_skb(ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr)))) {
ntohs1201drivers/net/ibmtr.cskb_put(skb,ntohs(rec_req->frame_len)-lan_hdr_len+sizeof(struct trh_hdr));
ntohs1217drivers/net/ibmtr.crbuffer_len=ntohs(rbuffer->buf_len)-lan_hdr_len;
ntohs1226drivers/net/ibmtr.cfor(rbuffer=(struct rec_buf *)(ti->sram+ntohs(rbuffer->buf_ptr)-2);
ntohs1227drivers/net/ibmtr.cmemcpy(data,&(rbuffer->data),rbuffer_len=ntohs(rbuffer->buf_len)),rbuffer->buf_ptr;
ntohs1228drivers/net/ibmtr.cdata+=rbuffer_len,rbuffer=(struct rec_buf *)(ti->sram+ntohs(rbuffer->buf_ptr)-2))
ntohs1230drivers/net/ibmtr.cDPRINTK("buf_ptr: %d,data =%p\n",ntohs(rbuffer->buf_ptr),data);
ntohs659drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
ntohs1773drivers/net/ppp.clen = ntohs( ((struct iphdr *)(skb->data)) -> tot_len );
ntohs494drivers/net/seeq8005.cnext_packet = ntohs(inw(SEEQ_BUFFER));
ntohs259drivers/net/slhc.cif(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) ||
ntohs371drivers/net/slhc.cdeltaS = ntohs(th->urg_ptr);
ntohs381drivers/net/slhc.cif((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
ntohs407drivers/net/slhc.cntohs(cs->cs_ip.tot_len) == hlen)
ntohs419drivers/net/slhc.cdeltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs426drivers/net/slhc.cif(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs433drivers/net/slhc.cdeltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id);
ntohs443drivers/net/slhc.cdeltaA = ntohs(th->check);
ntohs552drivers/net/slhc.ci = ntohs(ip->tot_len) - hdrlen;
ntohs560drivers/net/slhc.cntohs(ip->tot_len) - hdrlen);
ntohs576drivers/net/slhc.cthp->window = htons( ntohs(thp->window) + x);
ntohs596drivers/net/slhc.cip->id = htons (ntohs (ip->id) + x);
ntohs598drivers/net/slhc.cip->id = htons (ntohs (ip->id) + 1);
ntohs117drivers/net/tunnel.cprintk("--- total packet len: %d\n", ntohs(ip->tot_len));
ntohs1640drivers/net/wavelan.cprintk("%s: ntohs(length/type)=0x%04x\n", dev->name, ntohs(ltype));
ntohs489drivers/scsi/eata.csh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size);
ntohs491drivers/scsi/eata.csh[j]->can_queue = (ushort) ntohs(info.queue_size);
ntohs400drivers/scsi/eata_dma.cx = ntohs(*sho)/2;        
ntohs809drivers/scsi/eata_dma.cgc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND);
ntohs914drivers/scsi/eata_dma.cif(ntohs(gc->queuesiz) == 0) {
ntohs915drivers/scsi/eata_dma.cgc->queuesiz = ntohs(64);
ntohs921drivers/scsi/eata_dma.c* ntohs(gc->queuesiz));
ntohs941drivers/scsi/eata_dma.cmemset(hd->ccb, 0, sizeof(struct eata_ccb) * ntohs(gc->queuesiz));
ntohs1016drivers/scsi/eata_dma.csh->can_queue = ntohs(gc->queuesiz);
ntohs1035drivers/scsi/eata_dma.cif (gc->SG_64K == TRUE && ntohs(gc->SGsiz) == 64 && hd->bustype != IS_ISA){
ntohs1039drivers/scsi/eata_dma.csh->sg_tablesize = ntohs(gc->SGsiz);
ntohs1043drivers/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);
ntohs636drivers/scsi/eata_pio.cgc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND);
ntohs723drivers/scsi/eata_pio.csize = sizeof(hostdata) + (sizeof(struct eata_ccb) * ntohs(gc->queuesiz));
ntohs728drivers/scsi/eata_pio.cmemset(hd->ccb, 0, (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)));
ntohs18include/asm-alpha/byteorder.hextern unsigned short int  ntohs(unsigned short int);
ntohs18include/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));
ntohs20include/asm-mips/byteorder.hextern unsigned short int  ntohs(unsigned short int);
ntohs13include/asm-sparc/byteorder.hextern unsigned short int  ntohs(unsigned short int);
ntohs144net/802/tr.cif((ntohs(entry->rcf) & TR_RCF_LEN_MASK) >> 8) {
ntohs594net/appletalk/aarp.cea->function=ntohs(ea->function);
ntohs326net/appletalk/ddp.cint netrange=ntohs(atif->nets.nr_lastnet)-ntohs(atif->nets.nr_firstnet)+1;
ntohs327net/appletalk/ddp.cint probe_net=ntohs(atif->address.s_net);
ntohs340net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet);
ntohs342net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet) + (jiffies%netrange);
ntohs386net/appletalk/ddp.cif(probe_net>ntohs(atif->nets.nr_lastnet))
ntohs387net/appletalk/ddp.cprobe_net=ntohs(atif->nets.nr_firstnet);
ntohs563net/appletalk/ddp.cif ( riface == NULL && ntohs( ga->sat_addr.s_net ) >=
ntohs564net/appletalk/ddp.cntohs( iface->nets.nr_firstnet ) &&
ntohs565net/appletalk/ddp.cntohs( ga->sat_addr.s_net ) <=
ntohs566net/appletalk/ddp.cntohs( iface->nets.nr_lastnet ))
ntohs759net/appletalk/ddp.climit=ntohs(nr->nr_lastnet);
ntohs760net/appletalk/ddp.cif(limit-ntohs(nr->nr_firstnet) > 256)
ntohs765net/appletalk/ddp.cfor(ct=ntohs(nr->nr_firstnet);ct<=limit;ct++)
ntohs832net/appletalk/ddp.cntohs(iface->address.s_net),iface->address.s_node,
ntohs833net/appletalk/ddp.cntohs(iface->nets.nr_firstnet),ntohs(iface->nets.nr_lastnet),
ntohs865net/appletalk/ddp.cntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags,
ntohs871net/appletalk/ddp.cntohs(rt->target.s_net),rt->target.s_node,
ntohs872net/appletalk/ddp.cntohs(rt->gateway.s_net), rt->gateway.s_node, rt->flags,
ntohs1362net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
ntohs1433net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));    /* Mend the byte order */
ntohs1573net/appletalk/ddp.c*((__u16 *)ddp)=ntohs(*((__u16 *)ddp));
ntohs155net/core/dev.chash=ntohs(pt->type)&15;
ntohs175net/core/dev.cpt1=&ptype_base[ntohs(pt->type)&15];
ntohs688net/core/dev.cfor (ptype = ptype_base[ntohs(type)&15]; ptype != NULL; ptype = ptype->next) 
ntohs193net/ethernet/eth.cif (ntohs(eth->h_proto) >= 1536)
ntohs260net/ethernet/eth.cip_length = ntohs(iph->tot_len) - sizeof(struct iphdr);
ntohs475net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs748net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs876net/ipv4/af_inet.csnum = ntohs(addr->sin_port);
ntohs933net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs1382net/ipv4/af_inet.chnum = ntohs(num);
ntohs1474net/ipv4/af_inet.chnum = ntohs(num);
ntohs620net/ipv4/arp.cdev->type != ntohs(arp->ar_hrd) || 
ntohs357net/ipv4/icmp.cin_ntoa(iph->daddr), ntohs(iph->protocol));
ntohs696net/ipv4/ip.coffset = ntohs(iph->frag_off);
ntohs741net/ipv4/ip.cend = offset + ntohs(iph->tot_len) - ihl;
ntohs901net/ipv4/ip.cleft = ntohs(iph->tot_len) - hlen;  /* Space per frame */
ntohs910net/ipv4/ip.cif (ntohs(iph->frag_off) & IP_DF)
ntohs944net/ipv4/ip.coffset = (ntohs(iph->frag_off) & IP_OFFSET) << 3;
ntohs1107net/ipv4/ip.ciph->check = ntohs(iph->check) + 0x0100;
ntohs1378net/ipv4/ip.c|| skb->len < ntohs(iph->tot_len))
ntohs1391net/ipv4/ip.cskb_trim(skb,ntohs(iph->tot_len));
ntohs1690net/ipv4/ip.c(ntohs(iph->tot_len) - (iph->ihl * 4)),
ntohs1752net/ipv4/ip.cint len=ntohs(skb->ip_hdr->tot_len);
ntohs1837net/ipv4/ip.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
ntohs1866net/ipv4/ip.cif(ntohs(iph->tot_len)> dev->mtu)
ntohs222net/ipv4/ip_fw.coffset = ntohs(ip->frag_off) & IP_OFFSET;
ntohs242net/ipv4/ip_fw.cif(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len))
ntohs249net/ipv4/ip_fw.celse if(ntohs(ip->tot_len)<8+(ip->ihl<<2))
ntohs270net/ipv4/ip_fw.csrc_port=ntohs(tcp->source);
ntohs271net/ipv4/ip_fw.cdst_port=ntohs(tcp->dest);
ntohs285net/ipv4/ip_fw.csrc_port=ntohs(udp->source);
ntohs286net/ipv4/ip_fw.cdst_port=ntohs(udp->dest);
ntohs458net/ipv4/ip_fw.cf->fw_bcnt+=ntohs(ip->tot_len);
ntohs496net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport));
ntohs648net/ipv4/ip_fw.cport = ntohs(ms->mport);
ntohs759net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs760net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs839net/ipv4/ip_fw.cprintk("O-routed from %lX:%X over %s\n",ntohl(dev->pa_addr),ntohs(ms->mport),dev->name);
ntohs863net/ipv4/ip_fw.cif (ntohs(portptr[1]) < PORT_MASQ_BEGIN ||
ntohs864net/ipv4/ip_fw.cntohs(portptr[1]) > PORT_MASQ_END)
ntohs870net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs871net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs914net/ipv4/ip_fw.cprintk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1]));
ntohs1576net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport),
ntohs1577net/ipv4/ip_fw.cntohl(ms->dst),ntohs(ms->dport),
ntohs1578net/ipv4/ip_fw.cntohs(ms->mport),
ntohs94net/ipv4/proc.cdestp = ntohs(destp);
ntohs95net/ipv4/proc.csrcp  = ntohs(srcp);
ntohs213net/ipv4/rarp.cif (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) 
ntohs120net/ipv4/raw.cskb_trim(skb,ntohs(skb->ip_hdr->tot_len));
ntohs666net/ipv4/tcp.csize = ntohs(iph->tot_len) - (iph->ihl<<2);
ntohs719net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs1409net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs1572net/ipv4/tcp.ct1->window = ntohs(sk->window);
ntohs1921net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
ntohs2057net/ipv4/tcp.ct1->window = ntohs(sk->window);
ntohs2573net/ipv4/tcp.ct1->window = ntohs(sk->window=tcp_select_window(sk));
ntohs2813net/ipv4/tcp.csk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr));
ntohs3106net/ipv4/tcp.ct1->window = ntohs(newsk->window);
ntohs3276net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs3323net/ipv4/tcp.cif (ntohs(th->window) > sk->max_window) 
ntohs3325net/ipv4/tcp.csk->max_window = ntohs(th->window);
ntohs3385net/ipv4/tcp.cif (after(sk->window_seq, ack+ntohs(th->window))) 
ntohs3409net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs3465net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs4321net/ipv4/tcp.cu32 ptr = ntohs(th->urg_ptr);
ntohs5206net/ipv4/tcp.cnth->window = ntohs(tcp_select_window(sk));
ntohs5245net/ipv4/tcp.curg_ptr = ntohs(th->urg_ptr);
ntohs5256net/ipv4/tcp.cif(th->urg && ntohs(th->urg_ptr) < win_size)
ntohs5307net/ipv4/tcp.ct1->window = ntohs(tcp_select_window(sk));
ntohs249net/ipv4/udp.cntohs(ufh->uh.len),
ntohs596net/ipv4/udp.culen = ntohs(uh->len);
ntohs626net/ipv4/udp.cntohl(saddr),ntohs(uh->source),
ntohs627net/ipv4/udp.cntohl(daddr),ntohs(uh->dest),
ntohs644net/ipv4/udp.csk=get_sock_mcast(udp_prot.sock_array[ntohs(uh->dest)&(SOCK_ARRAY_SIZE-1)], uh->dest,
ntohs362net/ipx/af_ipx.cswitch (ntohs(ipx->ipx_dest.sock)) {
ntohs1112net/ipx/af_ipx.cswitch (ntohs(frame)) {
ntohs1458net/ipx/af_ipx.cwhile (ipxitf_find_socket(intrfc, ntohs(socketNum)) != NULL)
ntohs1465net/ipx/af_ipx.creturn  ntohs(socketNum);
ntohs1492net/ipx/af_ipx.cif(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser())
ntohs1635net/ipx/af_ipx.cp->node[3],p->node[4],p->node[5],ntohs(p->sock));
ntohs1640net/ipx/af_ipx.cstr,p->ipx_checksum,ntohs(p->ipx_pktsize),ntohs(p->ipx_pktsize),
ntohs1647net/ipx/af_ipx.cint len = ntohs(p->ipx_pktsize);
ntohs1771net/ipx/af_ipx.ctruesize=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet);