| tag | line | file | source code |
| ntohs | 1799 | drivers/net/arcnet.c | if (ntohs(eth->h_proto) >= 1536) |
| ntohs | 221 | drivers/net/at1700.c | ((unsigned short *)dev->dev_addr)[i] = ntohs(eeprom_val); |
| ntohs | 274 | drivers/net/atp.c | ntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i))); |
| ntohs | 1732 | drivers/net/ppp.c | len = ntohs( ((struct iphdr *)(skb->data)) -> tot_len ); |
| ntohs | 256 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
| ntohs | 368 | drivers/net/slhc.c | deltaS = ntohs(th->urg_ptr); |
| ntohs | 378 | drivers/net/slhc.c | if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ |
| ntohs | 404 | drivers/net/slhc.c | ntohs(cs->cs_ip.tot_len) == hlen) |
| ntohs | 416 | drivers/net/slhc.c | deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
| ntohs | 423 | drivers/net/slhc.c | if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
| ntohs | 430 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
| ntohs | 440 | drivers/net/slhc.c | deltaA = ntohs(th->check); |
| ntohs | 549 | drivers/net/slhc.c | i = ntohs(ip->tot_len) - hdrlen; |
| ntohs | 557 | drivers/net/slhc.c | ntohs(ip->tot_len) - hdrlen); |
| ntohs | 573 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
| ntohs | 593 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
| ntohs | 595 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
| ntohs | 1468 | drivers/net/wavelan.c | printk("%s: ntohs(length/type)=0x%04x\n", dev->name, ntohs(ltype)); |
| ntohs | 447 | drivers/scsi/eata.c | sh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size); |
| ntohs | 449 | drivers/scsi/eata.c | sh[j]->can_queue = (ushort) ntohs(info.queue_size); |
| ntohs | 674 | drivers/scsi/eata_dma.c | gc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND); |
| ntohs | 743 | drivers/scsi/eata_dma.c | if(ntohs(gc->queuesiz) == 0) { |
| ntohs | 744 | drivers/scsi/eata_dma.c | gc->queuesiz = ntohs(64); |
| ntohs | 750 | drivers/scsi/eata_dma.c | size = sizeof(hostdata) + ((sizeof(struct eata_ccb) * ntohs(gc->queuesiz))/ |
| ntohs | 763 | drivers/scsi/eata_dma.c | memset(hd->ccb, 0, (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)) / |
| ntohs | 796 | drivers/scsi/eata_dma.c | sh->can_queue = ntohs(gc->queuesiz) / (gc->MAX_CHAN + 1); |
| ntohs | 805 | drivers/scsi/eata_dma.c | sh->sg_tablesize = ntohs(gc->SGsiz); |
| ntohs | 808 | drivers/scsi/eata_dma.c | if (ntohs(gc->SGsiz) == 0) |
| ntohs | 10 | include/asm-alpha/byteorder.h | extern unsigned short int ntohs(unsigned short int); |
| ntohs | 10 | include/asm-i386/byteorder.h | extern unsigned short int ntohs(unsigned short int); |
| ntohs | 10 | include/asm-mips/byteorder.h | extern unsigned short int ntohs(unsigned short int); |
| ntohs | 10 | include/asm-sparc/byteorder.h | extern unsigned short int ntohs(unsigned short int); |
| ntohs | 448 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
| ntohs | 710 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
| ntohs | 823 | net/inet/af_inet.c | snum = ntohs(addr->sin_port); |
| ntohs | 877 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
| ntohs | 1334 | net/inet/af_inet.c | hnum = ntohs(num); |
| ntohs | 1426 | net/inet/af_inet.c | hnum = ntohs(num); |
| ntohs | 558 | net/inet/arp.c | dev->type != ntohs(arp->ar_hrd) || |
| ntohs | 187 | net/inet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
| ntohs | 135 | net/inet/icmp.c | if(ntohs(iph->frag_off)&IP_OFFSET) |
| ntohs | 292 | net/inet/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
| ntohs | 385 | net/inet/ip.c | opt->security = ntohs(*(unsigned short *)buff); |
| ntohs | 387 | net/inet/ip.c | opt->compartment = ntohs(*(unsigned short *)buff); |
| ntohs | 389 | net/inet/ip.c | opt->handling = ntohs(*(unsigned short *)buff); |
| ntohs | 391 | net/inet/ip.c | opt->tcc = ((*buff) << 16) + ntohs(*(unsigned short *)(buff+1)); |
| ntohs | 909 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
| ntohs | 954 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
| ntohs | 1109 | net/inet/ip.c | left = ntohs(iph->tot_len) - hlen; /* Space per frame */ |
| ntohs | 1118 | net/inet/ip.c | if (ntohs(iph->frag_off) & IP_DF) |
| ntohs | 1152 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
| ntohs | 1510 | net/inet/ip.c | skb->len=ntohs(iph->tot_len); |
| ntohs | 1537 | net/inet/ip.c | if (ntohs(iph->frag_off) & 0x1fff) |
| ntohs | 1705 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
| ntohs | 1810 | net/inet/ip.c | iph->tot_len = ntohs(skb->len-dev->hard_header_len); |
| ntohs | 150 | net/inet/ip_fw.c | printf(":%d ",ntohs(portptr[0])); |
| ntohs | 155 | net/inet/ip_fw.c | printf(":%d ",ntohs(portptr[1])); |
| ntohs | 175 | net/inet/ip_fw.c | f->b_cnt+=ntohs(ip->tot_len); |
| ntohs | 202 | net/inet/ip_fw.c | src_port=ntohs(portptr[0]); |
| ntohs | 203 | net/inet/ip_fw.c | dst_port=ntohs(portptr[1]); |
| ntohs | 210 | net/inet/ip_fw.c | src_port = ntohs(portptr[0]); |
| ntohs | 211 | net/inet/ip_fw.c | dst_port = ntohs(portptr[1]); |
| ntohs | 238 | net/inet/ip_fw.c | f->b_cnt+=ntohs(ip->tot_len); |
| ntohs | 293 | net/inet/ip_fw.c | printf(":%d ",ntohs(portptr[0])); |
| ntohs | 302 | net/inet/ip_fw.c | printf(":%d ",ntohs(portptr[1])); |
| ntohs | 357 | net/inet/ip_fw.c | f->b_cnt+=ntohs(ip->tot_len); |
| ntohs | 378 | net/inet/ip_fw.c | src_port=ntohs(portptr[0]); |
| ntohs | 379 | net/inet/ip_fw.c | dst_port=ntohs(portptr[1]); |
| ntohs | 386 | net/inet/ip_fw.c | src_port = ntohs(portptr[0]); |
| ntohs | 387 | net/inet/ip_fw.c | dst_port = ntohs(portptr[1]); |
| ntohs | 419 | net/inet/ip_fw.c | f->b_cnt+=ntohs(ip->tot_len); |
| ntohs | 354 | net/inet/ipx.c | switch (ntohs(ipx->ipx_dest.sock)) { |
| ntohs | 1076 | net/inet/ipx.c | switch (ntohs(frame)) { |
| ntohs | 1424 | net/inet/ipx.c | while (ipxitf_find_socket(intrfc, ntohs(socketNum)) != NULL) |
| ntohs | 1431 | net/inet/ipx.c | return ntohs(socketNum); |
| ntohs | 1458 | net/inet/ipx.c | if(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser()) |
| ntohs | 1590 | net/inet/ipx.c | p->node[3],p->node[4],p->node[5],ntohs(p->sock)); |
| ntohs | 1595 | net/inet/ipx.c | str,p->ipx_checksum,ntohs(p->ipx_pktsize),ntohs(p->ipx_pktsize), |
| ntohs | 1726 | net/inet/ipx.c | copied=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet); |
| ntohs | 88 | net/inet/proc.c | destp = ntohs(destp); |
| ntohs | 89 | net/inet/proc.c | srcp = ntohs(srcp); |
| ntohs | 158 | net/inet/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
| ntohs | 101 | net/inet/raw.c | skb->len = ntohs(skb->ip_hdr->tot_len); |
| ntohs | 455 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
| ntohs | 1031 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
| ntohs | 1194 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
| ntohs | 1360 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
| ntohs | 1716 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg_ptr = ntohs(copy); |
| ntohs | 1848 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
| ntohs | 2367 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)); |
| ntohs | 2611 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
| ntohs | 2903 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
| ntohs | 3074 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
| ntohs | 3121 | net/inet/tcp.c | if (ntohs(th->window) > sk->max_window) |
| ntohs | 3123 | net/inet/tcp.c | sk->max_window = ntohs(th->window); |
| ntohs | 3183 | net/inet/tcp.c | if (after(sk->window_seq, ack+ntohs(th->window))) |
| ntohs | 3207 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
| ntohs | 3263 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
| ntohs | 4119 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
| ntohs | 4959 | net/inet/tcp.c | t1->window = ntohs(tcp_select_window(sk)); |
| ntohs | 163 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
| ntohs | 590 | net/inet/udp.c | ulen = ntohs(uh->len); |
| ntohs | 605 | net/inet/udp.c | ntohl(saddr),ntohs(uh->source), |
| ntohs | 606 | net/inet/udp.c | ntohl(daddr),ntohs(uh->dest), |
| ntohs | 623 | net/inet/udp.c | sk=get_sock_mcast(udp_prot.sock_array[ntohs(uh->dest)&(SOCK_ARRAY_SIZE-1)], uh->dest, |