tag | line | file | source code |
htons | 104 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 124 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 157 | drivers/net/3c509.c | phys_addr[i] = htons(id_read_eeprom(i)); |
htons | 522 | drivers/net/slhc.c | thp->check = htons(x); |
htons | 555 | drivers/net/slhc.c | thp->urg_ptr = htons(x); |
htons | 563 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
htons | 586 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
htons | 588 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
htons | 600 | drivers/net/slhc.c | ip->tot_len = htons(len); |
htons | 122 | include/linux/in.h | extern unsigned short int htons(unsigned short int); |
htons | 170 | net/inet/arp.c | len = htons(arp->ar_op); |
htons | 177 | net/inet/arp.c | len = htons(arp->ar_hrd); |
htons | 181 | net/inet/arp.c | printk(" pro = 0x%04X\n", htons(arp->ar_pro)); |
htons | 332 | net/inet/arp.c | arp2->ar_op = htons(ARPOP_REPLY); |
htons | 649 | net/inet/arp.c | arp->ar_hrd = htons(dev->type); |
htons | 651 | net/inet/arp.c | arp->ar_pro = htons(ETH_P_IP); |
htons | 653 | net/inet/arp.c | arp->ar_pro = htons(0xCC); |
htons | 656 | net/inet/arp.c | arp->ar_op = htons(ARPOP_REQUEST); |
htons | 108 | net/inet/eth.c | eth->h_proto = htons(type); |
htons | 158 | net/inet/eth.c | if(eth->h_proto!=htons(ETH_P_ARP)) /* This ntohs kind of helps a bit! */ |
htons | 185 | net/inet/eth.c | return(htons(ETH_P_802_3)); |
htons | 281 | net/inet/ip.c | iph->id = htons(count++); |
htons | 814 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
htons | 1061 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
htons | 1065 | net/inet/ip.c | iph->frag_off |= htons(IP_MF); |
htons | 1126 | net/inet/sock.c | sk->dummy_th.source = htons(sk->num); |
htons | 799 | net/inet/tcp.c | th->window = htons(sk->window); |
htons | 284 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |