tag | line | file | source code |
ntohs | 2111 | 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 | 1731 | 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 | 1473 | drivers/net/wavelan.c | printk("%s: ntohs(length/type)=0x%04x\n", dev->name, ntohs(ltype)); |
ntohs | 467 | drivers/scsi/eata.c | sh[j]->sg_tablesize = (ushort) ntohs(info.scatt_size); |
ntohs | 469 | drivers/scsi/eata.c | sh[j]->can_queue = (ushort) ntohs(info.queue_size); |
ntohs | 686 | drivers/scsi/eata_dma.c | gc->scsi_id[1], ntohs(gc->queuesiz), ntohs(gc->SGsiz), gc->SECOND); |
ntohs | 755 | drivers/scsi/eata_dma.c | if(ntohs(gc->queuesiz) == 0) { |
ntohs | 756 | drivers/scsi/eata_dma.c | gc->queuesiz = ntohs(64); |
ntohs | 761 | drivers/scsi/eata_dma.c | size = sizeof(hostdata) + ((sizeof(struct eata_ccb) * ntohs(gc->queuesiz))/ |
ntohs | 774 | drivers/scsi/eata_dma.c | memset(hd->ccb, 0, (sizeof(struct eata_ccb) * ntohs(gc->queuesiz)) / |
ntohs | 807 | drivers/scsi/eata_dma.c | sh->can_queue = ntohs(gc->queuesiz) / (gc->MAX_CHAN + 1); |
ntohs | 816 | drivers/scsi/eata_dma.c | sh->sg_tablesize = ntohs(gc->SGsiz); |
ntohs | 819 | 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 | 455 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 717 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 848 | net/inet/af_inet.c | snum = ntohs(addr->sin_port); |
ntohs | 900 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1358 | net/inet/af_inet.c | hnum = ntohs(num); |
ntohs | 1450 | net/inet/af_inet.c | hnum = ntohs(num); |
ntohs | 559 | 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 | 1518 | net/inet/ip.c | skb->len=ntohs(iph->tot_len); |
ntohs | 1545 | net/inet/ip.c | if (ntohs(iph->frag_off) & 0x1fff) |
ntohs | 1713 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ntohs | 1818 | net/inet/ip.c | iph->tot_len = ntohs(skb->len-dev->hard_header_len); |
ntohs | 194 | net/inet/ip_fw.c | src_port=ntohs(tcp->source); |
ntohs | 195 | net/inet/ip_fw.c | dst_port=ntohs(tcp->dest); |
ntohs | 202 | net/inet/ip_fw.c | src_port=ntohs(udp->source); |
ntohs | 203 | net/inet/ip_fw.c | dst_port=ntohs(udp->dest); |
ntohs | 320 | net/inet/ip_fw.c | f->fw_bcnt+=ntohs(ip->tot_len); |
ntohs | 354 | net/inet/ipx.c | switch (ntohs(ipx->ipx_dest.sock)) { |
ntohs | 1088 | net/inet/ipx.c | switch (ntohs(frame)) { |
ntohs | 1434 | net/inet/ipx.c | while (ipxitf_find_socket(intrfc, ntohs(socketNum)) != NULL) |
ntohs | 1441 | net/inet/ipx.c | return ntohs(socketNum); |
ntohs | 1468 | net/inet/ipx.c | if(ntohs(addr->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser()) |
ntohs | 1600 | net/inet/ipx.c | p->node[3],p->node[4],p->node[5],ntohs(p->sock)); |
ntohs | 1605 | net/inet/ipx.c | str,p->ipx_checksum,ntohs(p->ipx_pktsize),ntohs(p->ipx_pktsize), |
ntohs | 1733 | 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 | 457 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 1034 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
ntohs | 1197 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 1363 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1719 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg_ptr = ntohs(copy); |
ntohs | 1851 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 2370 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)); |
ntohs | 2614 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ntohs | 2909 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
ntohs | 3078 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 3125 | net/inet/tcp.c | if (ntohs(th->window) > sk->max_window) |
ntohs | 3127 | net/inet/tcp.c | sk->max_window = ntohs(th->window); |
ntohs | 3187 | net/inet/tcp.c | if (after(sk->window_seq, ack+ntohs(th->window))) |
ntohs | 3211 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 3267 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 4123 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
ntohs | 4965 | 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, |