taglinefilesource code
ntohs36arch/alpha/lib/checksum.c((unsigned long) ntohs(len) << 16) +
ntohs1960drivers/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);
ntohs656drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
ntohs2906drivers/net/ppp.clen = ntohs (len);
ntohs3000drivers/net/ppp.clen = ntohs (len);
ntohs494drivers/net/seeq8005.cnext_packet = ntohs(inw(SEEQ_BUFFER));
ntohs263drivers/net/slhc.cif(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) ||
ntohs375drivers/net/slhc.cdeltaS = ntohs(th->urg_ptr);
ntohs385drivers/net/slhc.cif((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){
ntohs411drivers/net/slhc.cntohs(cs->cs_ip.tot_len) == hlen)
ntohs423drivers/net/slhc.cdeltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs430drivers/net/slhc.cif(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){
ntohs437drivers/net/slhc.cdeltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id);
ntohs447drivers/net/slhc.cdeltaA = ntohs(th->check);
ntohs556drivers/net/slhc.ci = ntohs(ip->tot_len) - hdrlen;
ntohs564drivers/net/slhc.cntohs(ip->tot_len) - hdrlen);
ntohs580drivers/net/slhc.cthp->window = htons( ntohs(thp->window) + x);
ntohs600drivers/net/slhc.cip->id = htons (ntohs (ip->id) + x);
ntohs602drivers/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));
ntohs495drivers/scsi/eata.csh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size);
ntohs497drivers/scsi/eata.csh[j]->can_queue = (ushort) ntohs(info.queue_size);
ntohs422drivers/scsi/eata_dma.cx = ntohs(*sho)/2;        
ntohs832drivers/scsi/eata_dma.cgc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND);
ntohs936drivers/scsi/eata_dma.cif(ntohs(gc->queuesiz) == 0) {
ntohs937drivers/scsi/eata_dma.cgc->queuesiz = ntohs(64);
ntohs943drivers/scsi/eata_dma.c* ntohs(gc->queuesiz));
ntohs963drivers/scsi/eata_dma.cmemset(hd->ccb, 0, sizeof(struct eata_ccb) * ntohs(gc->queuesiz));
ntohs1039drivers/scsi/eata_dma.csh->can_queue = ntohs(gc->queuesiz);
ntohs1058drivers/scsi/eata_dma.cif (gc->SG_64K == TRUE && ntohs(gc->SGsiz) == 64 && hd->bustype != IS_ISA){
ntohs1062drivers/scsi/eata_dma.csh->sg_tablesize = ntohs(gc->SGsiz);
ntohs1066drivers/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);
ntohs643drivers/scsi/eata_pio.cgc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND);
ntohs730drivers/scsi/eata_pio.csize = sizeof(hostdata) + (sizeof(struct eata_ccb) * ntohs(gc->queuesiz));
ntohs735drivers/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) {
ntohs626net/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));
ntohs155net/core/dev.chash=ntohs(pt->type)&15;
ntohs175net/core/dev.cpt1=&ptype_base[ntohs(pt->type)&15];
ntohs682net/core/dev.cfor (ptype = ptype_base[ntohs(type)&15]; ptype != NULL; ptype = ptype->next) 
ntohs200net/ethernet/eth.cif (ntohs(eth->h_proto) >= 1536)
ntohs267net/ethernet/eth.cip_length = ntohs(iph->tot_len) - sizeof(struct iphdr);
ntohs499net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs773net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs907net/ipv4/af_inet.csnum = ntohs(addr->sin_port);
ntohs977net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs1464net/ipv4/af_inet.chnum = ntohs(num);
ntohs1556net/ipv4/af_inet.chnum = ntohs(num);
ntohs620net/ipv4/arp.cdev->type != ntohs(arp->ar_hrd) || 
ntohs359net/ipv4/icmp.cin_ntoa(iph->daddr), ntohs(iph->protocol));
ntohs140net/ipv4/ip_forward.ciph->check = ntohs(iph->check) + 0x0100;
ntohs250net/ipv4/ip_forward.cif (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) {
ntohs352net/ipv4/ip_fragment.coffset = ntohs(iph->frag_off);
ntohs405net/ipv4/ip_fragment.cend = offset + ntohs(iph->tot_len) - ihl;
ntohs563net/ipv4/ip_fragment.cleft = ntohs(iph->tot_len) - hlen;  /* Space per frame */
ntohs572net/ipv4/ip_fragment.cif (ntohs(iph->frag_off) & IP_DF)
ntohs603net/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);
ntohs499net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport));
ntohs675net/ipv4/ip_fw.cport = ntohs(ms->mport);
ntohs735net/ipv4/ip_fw.ciph->tot_len = htons(diff+ntohs(iph->tot_len));
ntohs800net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs801net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs880net/ipv4/ip_fw.cprintk("O-routed from %lX:%X over %s\n",ntohl(dev->pa_addr),ntohs(ms->mport),dev->name);
ntohs904net/ipv4/ip_fw.cif (ntohs(portptr[1]) < PORT_MASQ_BEGIN ||
ntohs905net/ipv4/ip_fw.cntohs(portptr[1]) > PORT_MASQ_END)
ntohs911net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs912net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs941net/ipv4/ip_fw.cprintk("demasq : Filled out dport entry (%d) based on initial connect attempt from FTP deamon\n",ntohs(ms->dport));
ntohs983net/ipv4/ip_fw.cprintk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1]));
ntohs1645net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport),
ntohs1646net/ipv4/ip_fw.cntohl(ms->dst),ntohs(ms->dport),
ntohs1647net/ipv4/ip_fw.cntohs(ms->mport),
ntohs242net/ipv4/ip_input.c|| skb->len < ntohs(iph->tot_len))
ntohs255net/ipv4/ip_input.cskb_trim(skb,ntohs(iph->tot_len));
ntohs530net/ipv4/ip_input.c(ntohs(iph->tot_len) - (iph->ihl * 4)),
ntohs66net/ipv4/ip_output.cint len=ntohs(skb->ip_hdr->tot_len);
ntohs347net/ipv4/ip_output.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
ntohs376net/ipv4/ip_output.cif(ntohs(iph->tot_len)> dev->mtu)
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));
ntohs668net/ipv4/tcp.csize = ntohs(iph->tot_len) - (iph->ihl<<2);
ntohs721net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs1411net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs1574net/ipv4/tcp.ct1->window = ntohs(sk->window);
ntohs1956net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
ntohs2094net/ipv4/tcp.ct1->window = ntohs(sk->window);
ntohs2658net/ipv4/tcp.ct1->window = ntohs(sk->window=tcp_select_window(sk));
ntohs2867net/ipv4/tcp.csk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr));
ntohs3177net/ipv4/tcp.ct1->window = ntohs(newsk->window);
ntohs3347net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs3394net/ipv4/tcp.cif (ntohs(th->window) > sk->max_window) 
ntohs3396net/ipv4/tcp.csk->max_window = ntohs(th->window);
ntohs3456net/ipv4/tcp.cif (after(sk->window_seq, ack+ntohs(th->window))) 
ntohs3480net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs3536net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs4392net/ipv4/tcp.cu32 ptr = ntohs(th->urg_ptr);
ntohs5289net/ipv4/tcp.cnth->window = ntohs(tcp_select_window(sk));
ntohs5328net/ipv4/tcp.curg_ptr = ntohs(th->urg_ptr);
ntohs5339net/ipv4/tcp.cif(th->urg && ntohs(th->urg_ptr) < win_size)
ntohs5390net/ipv4/tcp.ct1->window = ntohs(tcp_select_window(sk));
ntohs249net/ipv4/udp.cntohs(ufh->uh.len),
ntohs623net/ipv4/udp.culen = ntohs(uh->len);
ntohs653net/ipv4/udp.cntohl(saddr),ntohs(uh->source),
ntohs654net/ipv4/udp.cntohl(daddr),ntohs(uh->dest),
ntohs671net/ipv4/udp.csk=get_sock_mcast(udp_prot.sock_array[ntohs(uh->dest)&(SOCK_ARRAY_SIZE-1)], uh->dest,
ntohs363net/ipx/af_ipx.cswitch (ntohs(ipx->ipx_dest.sock)) {
ntohs1155net/ipx/af_ipx.cswitch (ntohs(frame)) {
ntohs1501net/ipx/af_ipx.cwhile (ipxitf_find_socket(intrfc, ntohs(socketNum)) != NULL)
ntohs1508net/ipx/af_ipx.creturn  ntohs(socketNum);
ntohs1535net/ipx/af_ipx.cif(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser())
ntohs1678net/ipx/af_ipx.cp->node[3],p->node[4],p->node[5],ntohs(p->sock));
ntohs1683net/ipx/af_ipx.cstr,p->ipx_checksum,ntohs(p->ipx_pktsize),ntohs(p->ipx_pktsize),
ntohs1690net/ipx/af_ipx.cint len = ntohs(p->ipx_pktsize);
ntohs1833net/ipx/af_ipx.ctruesize=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet);