taglinefilesource code
ntohs36arch/alpha/lib/checksum.c((unsigned long) ntohs(len) << 16) +
ntohs1937drivers/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);
ntohs2904drivers/net/ppp.clen = ntohs (len);
ntohs2998drivers/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) {
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];
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);
ntohs482net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs755net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs889net/ipv4/af_inet.csnum = ntohs(addr->sin_port);
ntohs946net/ipv4/af_inet.csk->dummy_th.source = ntohs(sk->num);
ntohs1395net/ipv4/af_inet.chnum = ntohs(num);
ntohs1487net/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));
ntohs1110net/ipv4/ip.coffset = ntohs(iph->frag_off);
ntohs1163net/ipv4/ip.cend = offset + ntohs(iph->tot_len) - ihl;
ntohs1321net/ipv4/ip.cleft = ntohs(iph->tot_len) - hlen;  /* Space per frame */
ntohs1330net/ipv4/ip.cif (ntohs(iph->frag_off) & IP_DF)
ntohs1361net/ipv4/ip.coffset = (ntohs(iph->frag_off) & IP_OFFSET) << 3;
ntohs1581net/ipv4/ip.ciph->check = ntohs(iph->check) + 0x0100;
ntohs1691net/ipv4/ip.cif (skb->len+encap > dev2->mtu && (ntohs(iph->frag_off) & IP_DF)) {
ntohs1935net/ipv4/ip.c|| skb->len < ntohs(iph->tot_len))
ntohs1948net/ipv4/ip.cskb_trim(skb,ntohs(iph->tot_len));
ntohs2219net/ipv4/ip.c(ntohs(iph->tot_len) - (iph->ihl * 4)),
ntohs2309net/ipv4/ip.cint len=ntohs(skb->ip_hdr->tot_len);
ntohs2389net/ipv4/ip.ciph->tot_len = ntohs(skb->len-(((unsigned char *)iph)-skb->data));
ntohs2418net/ipv4/ip.cif(ntohs(iph->tot_len)> dev->mtu)
ntohs224net/ipv4/ip_fw.coffset = ntohs(ip->frag_off) & IP_OFFSET;
ntohs244net/ipv4/ip_fw.cif(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len))
ntohs251net/ipv4/ip_fw.celse if(ntohs(ip->tot_len)<8+(ip->ihl<<2))
ntohs272net/ipv4/ip_fw.csrc_port=ntohs(tcp->source);
ntohs273net/ipv4/ip_fw.cdst_port=ntohs(tcp->dest);
ntohs287net/ipv4/ip_fw.csrc_port=ntohs(udp->source);
ntohs288net/ipv4/ip_fw.cdst_port=ntohs(udp->dest);
ntohs460net/ipv4/ip_fw.cf->fw_bcnt+=ntohs(ip->tot_len);
ntohs498net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport));
ntohs674net/ipv4/ip_fw.cport = ntohs(ms->mport);
ntohs734net/ipv4/ip_fw.ciph->tot_len = htons(diff+ntohs(iph->tot_len));
ntohs799net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs800net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs879net/ipv4/ip_fw.cprintk("O-routed from %lX:%X over %s\n",ntohl(dev->pa_addr),ntohs(ms->mport),dev->name);
ntohs903net/ipv4/ip_fw.cif (ntohs(portptr[1]) < PORT_MASQ_BEGIN ||
ntohs904net/ipv4/ip_fw.cntohs(portptr[1]) > PORT_MASQ_END)
ntohs910net/ipv4/ip_fw.cntohl(iph->saddr), ntohs(portptr[0]),
ntohs911net/ipv4/ip_fw.cntohl(iph->daddr), ntohs(portptr[1]));
ntohs940net/ipv4/ip_fw.cprintk("demasq : Filled out dport entry (%d) based on initial connect attempt from FTP deamon\n",ntohs(ms->dport));
ntohs982net/ipv4/ip_fw.cprintk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1]));
ntohs1644net/ipv4/ip_fw.cntohl(ms->src),ntohs(ms->sport),
ntohs1645net/ipv4/ip_fw.cntohl(ms->dst),ntohs(ms->dport),
ntohs1646net/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));
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);
ntohs1923net/ipv4/tcp.cskb->h.th->urg_ptr = ntohs(copy);
ntohs2059net/ipv4/tcp.ct1->window = ntohs(sk->window);
ntohs2575net/ipv4/tcp.ct1->window = ntohs(sk->window=tcp_select_window(sk));
ntohs2815net/ipv4/tcp.csk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr));
ntohs3125net/ipv4/tcp.ct1->window = ntohs(newsk->window);
ntohs3295net/ipv4/tcp.cth->window = ntohs(tcp_select_window(sk));
ntohs3342net/ipv4/tcp.cif (ntohs(th->window) > sk->max_window) 
ntohs3344net/ipv4/tcp.csk->max_window = ntohs(th->window);
ntohs3404net/ipv4/tcp.cif (after(sk->window_seq, ack+ntohs(th->window))) 
ntohs3428net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs3484net/ipv4/tcp.csk->window_seq = ack + ntohs(th->window);
ntohs4340net/ipv4/tcp.cu32 ptr = ntohs(th->urg_ptr);
ntohs5237net/ipv4/tcp.cnth->window = ntohs(tcp_select_window(sk));
ntohs5276net/ipv4/tcp.curg_ptr = ntohs(th->urg_ptr);
ntohs5287net/ipv4/tcp.cif(th->urg && ntohs(th->urg_ptr) < win_size)
ntohs5338net/ipv4/tcp.ct1->window = ntohs(tcp_select_window(sk));
ntohs249net/ipv4/udp.cntohs(ufh->uh.len),
ntohs602net/ipv4/udp.culen = ntohs(uh->len);
ntohs632net/ipv4/udp.cntohl(saddr),ntohs(uh->source),
ntohs633net/ipv4/udp.cntohl(daddr),ntohs(uh->dest),
ntohs650net/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);