tag | line | file | source code |
ntohs | 202 | drivers/net/at1700.c | station_address[i] = ntohs(eeprom_val); |
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 | 91 | drivers/net/slip.c | ntohl(th->seq), ntohl(th->ack_seq), ntohs(ip->tot_len)); |
ntohs | 97 | drivers/net/slip.c | dlen = ntohs(ip->tot_len); |
ntohs | 98 | drivers/net/slip.c | doff = ((ntohs(ip->frag_off) & IPF_F_OFFSET) << 3); |
ntohs | 107 | drivers/net/slip.c | if (doff != 0 || (ntohs(ip->frag_off) & IPF_MF)) |
ntohs | 108 | drivers/net/slip.c | printk(" id %u offs %u", ntohs(ip->id), doff); |
ntohs | 110 | drivers/net/slip.c | if (ntohs(ip->frag_off) & IPF_DF) printk(" DF"); |
ntohs | 111 | drivers/net/slip.c | if (ntohs(ip->frag_off) & IPF_MF) printk(" MF"); |
ntohs | 120 | include/linux/in.h | extern unsigned short int ntohs(unsigned short int); |
ntohs | 91 | net/inet/eth.c | printk("TYPE = %04X\n", ntohs(eth->h_proto)); |
ntohs | 183 | net/inet/eth.c | if(ntohs(eth->h_proto)<1536) |
ntohs | 160 | net/inet/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
ntohs | 83 | net/inet/ip.c | ip->ihl, ip->version, ip->tos, ntohs(ip->tot_len)); |
ntohs | 94 | net/inet/ip.c | len = ntohs(ip->tot_len) - (4 * ip->ihl); |
ntohs | 312 | net/inet/ip.c | opt->security = ntohs(*(unsigned short *)buff); |
ntohs | 314 | net/inet/ip.c | opt->compartment = ntohs(*(unsigned short *)buff); |
ntohs | 316 | net/inet/ip.c | opt->handling = ntohs(*(unsigned short *)buff); |
ntohs | 318 | net/inet/ip.c | opt->tcc = ((*buff) << 16) + ntohs(*(unsigned short *)(buff+1)); |
ntohs | 818 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
ntohs | 850 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ntohs | 970 | net/inet/ip.c | left = ntohs(iph->tot_len) - hlen; |
ntohs | 981 | net/inet/ip.c | if (ntohs(iph->frag_off) & IP_DF) |
ntohs | 999 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
ntohs | 1217 | net/inet/ip.c | if (ntohs(iph->frag_off) & 0x1fff) |
ntohs | 1308 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ntohs | 1358 | 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 | 689 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 864 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 963 | net/inet/sock.c | snum = ntohs(addr.sin_port); |
ntohs | 1014 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1237 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1260 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1286 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1314 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1344 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1371 | net/inet/sock.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1619 | net/inet/sock.c | hnum = ntohs(num); |
ntohs | 114 | net/inet/tcp.c | ntohs(th->source), ntohs(th->dest), |
ntohs | 120 | net/inet/tcp.c | ntohs(th->window), ntohs(th->check), ntohs(th->urg_ptr)); |
ntohs | 297 | net/inet/tcp.c | sum -= ntohs(skb->h.th->urg_ptr); /* Dont count urg data */ |
ntohs | 493 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
ntohs | 644 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 913 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg_ptr = ntohs(copy); |
ntohs | 1033 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1187 | net/inet/tcp.c | skb->h.th->urg_ptr = ntohs(skb->len); |
ntohs | 1189 | net/inet/tcp.c | amt = min(ntohs(skb->h.th->urg_ptr),len); |
ntohs | 1375 | net/inet/tcp.c | sk->copied_seq += ntohs(skb->h.th->urg_ptr); |
ntohs | 1376 | net/inet/tcp.c | offset += ntohs(skb->h.th->urg_ptr); |
ntohs | 1505 | net/inet/tcp.c | t1->window = ntohs(sk->prot->rspace(sk)); |
ntohs | 1672 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ntohs | 1864 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
ntohs | 2022 | net/inet/tcp.c | t1->window = ntohs(sk->prot->rspace(sk)); |
ntohs | 2144 | net/inet/tcp.c | ack, ntohs(th->window), sk->rcv_ack_seq, sk->window_seq)); |
ntohs | 2160 | net/inet/tcp.c | if (after(sk->window_seq, ack+ntohs(th->window))) { |
ntohs | 2178 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 2244 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 3382 | net/inet/tcp.c | t1->window = ntohs(sk->prot->rspace(sk)); |
ntohs | 79 | net/inet/udp.c | printk("UDP: source = %d, dest = %d\n", ntohs(uh->source), ntohs(uh->dest)); |
ntohs | 80 | net/inet/udp.c | printk(" len = %d, check = %d\n", ntohs(uh->len), ntohs(uh->check)); |
ntohs | 152 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
ntohs | 227 | net/inet/udp.c | in_ntoa(sin->sin_addr.s_addr), ntohs(sin->sin_port), |