tag | line | file | source code |
ntohs | 211 | drivers/net/at1700.c | station_address[i] = ntohs(eeprom_val); |
ntohs | 309 | drivers/net/atp.c | ntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i))); |
ntohs | 231 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
ntohs | 234 | drivers/net/slhc.c | ntohs(ip->frag_off), ip->frag_off)); |
ntohs | 349 | drivers/net/slhc.c | deltaS = ntohs(th->urg_ptr); |
ntohs | 360 | drivers/net/slhc.c | if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ |
ntohs | 386 | drivers/net/slhc.c | ntohs(cs->cs_ip.tot_len) == hlen) |
ntohs | 400 | drivers/net/slhc.c | deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
ntohs | 407 | drivers/net/slhc.c | if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
ntohs | 414 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
ntohs | 424 | drivers/net/slhc.c | deltaA = ntohs(th->check); |
ntohs | 537 | drivers/net/slhc.c | i = ntohs(ip->tot_len) - hdrlen; |
ntohs | 545 | drivers/net/slhc.c | ntohs(ip->tot_len) - hdrlen); |
ntohs | 563 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
ntohs | 586 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
ntohs | 588 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
ntohs | 92 | drivers/net/slip.c | ntohl(th->seq), ntohl(th->ack_seq), ntohs(ip->tot_len)); |
ntohs | 98 | drivers/net/slip.c | dlen = ntohs(ip->tot_len); |
ntohs | 99 | drivers/net/slip.c | doff = ((ntohs(ip->frag_off) & IPF_F_OFFSET) << 3); |
ntohs | 108 | drivers/net/slip.c | if (doff != 0 || (ntohs(ip->frag_off) & IPF_MF)) |
ntohs | 109 | drivers/net/slip.c | printk(" id %u offs %u", ntohs(ip->id), doff); |
ntohs | 111 | drivers/net/slip.c | if (ntohs(ip->frag_off) & IPF_DF) printk(" DF"); |
ntohs | 112 | drivers/net/slip.c | if (ntohs(ip->frag_off) & IPF_MF) printk(" MF"); |
ntohs | 574 | drivers/net/slip.c | size = ntohs(size); |
ntohs | 120 | include/linux/in.h | extern unsigned short int ntohs(unsigned short int); |
ntohs | 92 | net/inet/eth.c | printk("TYPE = %04X\n", ntohs(eth->h_proto)); |
ntohs | 184 | net/inet/eth.c | if(ntohs(eth->h_proto)<1536) |
ntohs | 160 | net/inet/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
ntohs | 98 | net/inet/ip.c | ip->ihl, ip->version, ip->tos, ntohs(ip->tot_len)); |
ntohs | 109 | net/inet/ip.c | len = ntohs(ip->tot_len) - (4 * ip->ihl); |
ntohs | 327 | net/inet/ip.c | opt->security = ntohs(*(unsigned short *)buff); |
ntohs | 329 | net/inet/ip.c | opt->compartment = ntohs(*(unsigned short *)buff); |
ntohs | 331 | net/inet/ip.c | opt->handling = ntohs(*(unsigned short *)buff); |
ntohs | 333 | net/inet/ip.c | opt->tcc = ((*buff) << 16) + ntohs(*(unsigned short *)(buff+1)); |
ntohs | 835 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
ntohs | 866 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ntohs | 994 | net/inet/ip.c | left = ntohs(iph->tot_len) - hlen; |
ntohs | 1005 | net/inet/ip.c | if (ntohs(iph->frag_off) & IP_DF) |
ntohs | 1018 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
ntohs | 1247 | net/inet/ip.c | if (ntohs(iph->frag_off) & 0x1fff) |
ntohs | 1344 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ntohs | 1395 | net/inet/ip.c | iph->tot_len = ntohs(skb->len-dev->hard_header_len); |
ntohs | 84 | net/inet/proc.c | destp = ntohs(destp); |
ntohs | 85 | net/inet/proc.c | srcp = ntohs(srcp); |
ntohs | 724 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 933 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1036 | net/inet/sock.c | snum = ntohs(addr.sin_port); |
ntohs | 1087 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1310 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1333 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1359 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1387 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1417 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1444 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1697 | net/inet/sock.c | hnum = ntohs(num); |
ntohs | 130 | net/inet/tcp.c | ntohs(th->source), ntohs(th->dest), |
ntohs | 136 | net/inet/tcp.c | ntohs(th->window), ntohs(th->check), ntohs(th->urg_ptr)); |
ntohs | 538 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
ntohs | 753 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1040 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg_ptr = ntohs(copy); |
ntohs | 1154 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1515 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 1687 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ntohs | 1904 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
ntohs | 2060 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 2192 | net/inet/tcp.c | ack, ntohs(th->window), sk->rcv_ack_seq, sk->window_seq)); |
ntohs | 2194 | net/inet/tcp.c | if (ntohs(th->window) > sk->max_window) { |
ntohs | 2195 | net/inet/tcp.c | sk->max_window = ntohs(th->window); |
ntohs | 2217 | net/inet/tcp.c | if (after(sk->window_seq, ack+ntohs(th->window))) { |
ntohs | 2235 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 2278 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 2804 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
ntohs | 2986 | net/inet/tcp.c | if(sk->saddr == sin.sin_addr.s_addr && sk->num==ntohs(sin.sin_port)) |
ntohs | 3614 | net/inet/tcp.c | t1->window = ntohs(tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 80 | net/inet/udp.c | printk("UDP: source = %d, dest = %d\n", ntohs(uh->source), ntohs(uh->dest)); |
ntohs | 81 | net/inet/udp.c | printk(" len = %d, check = %d\n", ntohs(uh->len), ntohs(uh->check)); |
ntohs | 153 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
ntohs | 228 | net/inet/udp.c | in_ntoa(sin->sin_addr.s_addr), ntohs(sin->sin_port), |