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 | 1705 | drivers/net/ppp.c | len = ntohs( ((struct iphdr *)(skb->data)) -> tot_len ); |
ntohs | 235 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
ntohs | 347 | drivers/net/slhc.c | deltaS = ntohs(th->urg_ptr); |
ntohs | 357 | drivers/net/slhc.c | if((deltaS = ntohs(th->window) - ntohs(oth->window)) != 0){ |
ntohs | 383 | drivers/net/slhc.c | ntohs(cs->cs_ip.tot_len) == hlen) |
ntohs | 395 | drivers/net/slhc.c | deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
ntohs | 402 | drivers/net/slhc.c | if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ |
ntohs | 409 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
ntohs | 419 | drivers/net/slhc.c | deltaA = ntohs(th->check); |
ntohs | 528 | drivers/net/slhc.c | i = ntohs(ip->tot_len) - hdrlen; |
ntohs | 536 | drivers/net/slhc.c | ntohs(ip->tot_len) - hdrlen); |
ntohs | 552 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
ntohs | 572 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
ntohs | 574 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
ntohs | 494 | drivers/net/slip.c | size=ntohs(size); |
ntohs | 120 | include/linux/in.h | extern unsigned short int ntohs(unsigned short int); |
ntohs | 406 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 638 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 748 | net/inet/af_inet.c | snum = ntohs(addr.sin_port); |
ntohs | 802 | net/inet/af_inet.c | sk->dummy_th.source = ntohs(sk->num); |
ntohs | 1287 | net/inet/af_inet.c | hnum = ntohs(num); |
ntohs | 491 | net/inet/arp.c | dev->type != ntohs(arp->ar_hrd) || |
ntohs | 185 | net/inet/eth.c | if (ntohs(eth->h_proto) >= 1536) |
ntohs | 236 | net/inet/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
ntohs | 344 | net/inet/ip.c | opt->security = ntohs(*(unsigned short *)buff); |
ntohs | 346 | net/inet/ip.c | opt->compartment = ntohs(*(unsigned short *)buff); |
ntohs | 348 | net/inet/ip.c | opt->handling = ntohs(*(unsigned short *)buff); |
ntohs | 350 | net/inet/ip.c | opt->tcc = ((*buff) << 16) + ntohs(*(unsigned short *)(buff+1)); |
ntohs | 906 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
ntohs | 951 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ntohs | 1107 | net/inet/ip.c | left = ntohs(iph->tot_len) - hlen; /* Space per frame */ |
ntohs | 1116 | net/inet/ip.c | if (ntohs(iph->frag_off) & IP_DF) |
ntohs | 1147 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
ntohs | 1469 | net/inet/ip.c | skb->len=ntohs(iph->tot_len); |
ntohs | 1495 | net/inet/ip.c | if (ntohs(iph->frag_off) & 0x1fff) |
ntohs | 1613 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ntohs | 1684 | net/inet/ip.c | iph->tot_len = ntohs(skb->len-dev->hard_header_len); |
ntohs | 1851 | net/inet/ip.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 706 | net/inet/ipx.c | if(ntohs(addr.sipx_port)<0x4000 && !suser()) |
ntohs | 921 | net/inet/ipx.c | incoming_size = skb->len - ntohs(ipx->ipx_pktsize); |
ntohs | 927 | net/inet/ipx.c | skb2=alloc_skb(ntohs(ipx->ipx_pktsize) + outgoing_size, |
ntohs | 936 | net/inet/ipx.c | skb2->len=ntohs(ipx->ipx_pktsize) + outgoing_size; |
ntohs | 944 | net/inet/ipx.c | ntohs(ipx->ipx_pktsize)); |
ntohs | 1221 | net/inet/ipx.c | copied=ntohs(ipx->ipx_pktsize) - sizeof(ipx_packet); |
ntohs | 86 | net/inet/proc.c | destp = ntohs(destp); |
ntohs | 87 | net/inet/proc.c | srcp = ntohs(srcp); |
ntohs | 179 | net/inet/rarp.c | if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd) |
ntohs | 490 | net/inet/tcp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_TCP*256) |
ntohs | 594 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 708 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1048 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg_ptr = ntohs(copy); |
ntohs | 1174 | net/inet/tcp.c | t1->window = ntohs(sk->window); |
ntohs | 1566 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 1759 | net/inet/tcp.c | sk->mtu=min(sk->mtu,ntohs(*(unsigned short *)ptr)); |
ntohs | 1983 | net/inet/tcp.c | t1->window = ntohs(newsk->window); |
ntohs | 2178 | net/inet/tcp.c | t1->window = ntohs(sk->window=tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 2264 | net/inet/tcp.c | th->window = ntohs(tcp_select_window(sk)); |
ntohs | 2327 | net/inet/tcp.c | if (ntohs(th->window) > sk->max_window) { |
ntohs | 2328 | net/inet/tcp.c | sk->max_window = ntohs(th->window); |
ntohs | 2354 | net/inet/tcp.c | if (after(sk->window_seq, ack+ntohs(th->window))) { |
ntohs | 2372 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 2410 | net/inet/tcp.c | sk->window_seq = ack + ntohs(th->window); |
ntohs | 2915 | net/inet/tcp.c | unsigned long ptr = ntohs(th->urg_ptr); |
ntohs | 3158 | net/inet/tcp.c | if(sk->saddr == sin.sin_addr.s_addr && sk->num==ntohs(sin.sin_port)) |
ntohs | 3800 | net/inet/tcp.c | t1->window = ntohs(tcp_select_window(sk)/*sk->prot->rspace(sk)*/); |
ntohs | 158 | net/inet/udp.c | : "0"(daddr), "c"(saddr), "d"((ntohs(len) << 16) + IPPROTO_UDP*256) |
ntohs | 593 | net/inet/udp.c | ulen = ntohs(uh->len); |