tag | line | file | source code |
ntohs | 203 | drivers/net/at1700.c | station_address[i] = ntohs(eeprom_val); |
ntohs | 271 | drivers/net/atp.c | ntohs(eeprom_op(ioaddr, EE_READ(sa_offset + i))); |
ntohs | 1720 | drivers/net/ppp.c | len = ntohs( ((struct iphdr *)(skb->data)) -> tot_len ); |
ntohs | 244 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
ntohs | 356 | drivers/net/slhc.c | deltaS = ntohs(th->urg_ptr); |
ntohs | 366 | drivers/net/slhc.c | if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ |
ntohs | 392 | drivers/net/slhc.c | ntohs(cs->cs_ip.tot_len) == hlen) |
ntohs | 404 | drivers/net/slhc.c | deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
ntohs | 411 | drivers/net/slhc.c | if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
ntohs | 418 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
ntohs | 428 | 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 | 561 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
ntohs | 581 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
ntohs | 583 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
ntohs | 120 | include/linux/in.h | extern unsigned short int ntohs(unsigned short int); |
ntohs | 424 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 661 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 768 | net/inet/af_inet.c | snum = ntohs(addr->sin_port); |
ntohs | 822 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1252 | net/inet/af_inet.c | hnum = ntohs(num); |
ntohs | 523 | net/inet/arp.c | dev->type != ntohs(arp->ar_hrd) || |
ntohs | 185 | net/inet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
ntohs | 238 | net/inet/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
ntohs | 347 | net/inet/ip.c | opt->security = ntohs(*(unsigned short *)buff); |
ntohs | 349 | net/inet/ip.c | opt->compartment = ntohs(*(unsigned short *)buff); |
ntohs | 351 | net/inet/ip.c | opt->handling = ntohs(*(unsigned short *)buff); |
ntohs | 353 | 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 | 1149 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
ntohs | 1471 | net/inet/ip.c | skb->len=ntohs(iph->tot_len); |
ntohs | 1497 | net/inet/ip.c | if (ntohs(iph->frag_off) & 0x1fff) |
ntohs | 1603 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ntohs | 1670 | net/inet/ip.c | iph->tot_len = ntohs(skb->len-dev->hard_header_len); |
ntohs | 1841 | net/inet/ip.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 674 | net/inet/ipx.c | if(ntohs(addr->sipx_port)<0x4000 && !suser()) |
ntohs | 876 | net/inet/ipx.c | incoming_size = skb->len - ntohs(ipx->ipx_pktsize); |
ntohs | 882 | net/inet/ipx.c | skb2=alloc_skb(ntohs(ipx->ipx_pktsize) + outgoing_size, |
ntohs | 891 | net/inet/ipx.c | skb2->len=ntohs(ipx->ipx_pktsize) + outgoing_size; |
ntohs | 899 | net/inet/ipx.c | ntohs(ipx->ipx_pktsize)); |
ntohs | 1161 | 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 | 157 | net/inet/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
ntohs | 588 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
ntohs | 713 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 831 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1175 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg_ptr = ntohs(copy); |
ntohs | 1297 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1715 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 1900 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ntohs | 2168 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
ntohs | 2380 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 2474 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 2544 | net/inet/tcp.c | if (ntohs(th->window) > sk->max_window) |
ntohs | 2546 | net/inet/tcp.c | sk->max_window = ntohs(th->window); |
ntohs | 2583 | net/inet/tcp.c | if (after(sk->window_seq, ack+ntohs(th->window))) |
ntohs | 2602 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 2650 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 3353 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
ntohs | 3597 | net/inet/tcp.c | if(sk->saddr == usin->sin_addr.s_addr && sk->num==ntohs(usin->sin_port)) |
ntohs | 4376 | net/inet/tcp.c | t1->window = ntohs(tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 161 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
ntohs | 571 | net/inet/udp.c | ulen = ntohs(uh->len); |