tag | line | file | source code |
htons | 115 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 135 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 168 | 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 | 165 | net/inet/arp.c | len = htons(arp->ar_op); |
htons | 172 | net/inet/arp.c | len = htons(arp->ar_hrd); |
htons | 176 | net/inet/arp.c | printk(" pro = 0x%04X\n", htons(arp->ar_pro)); |
htons | 306 | net/inet/arp.c | arp2->ar_op = htons(ARPOP_REPLY); |
htons | 605 | net/inet/arp.c | arp->ar_hrd = htons(dev->type); |
htons | 607 | net/inet/arp.c | arp->ar_pro = htons(ETH_P_IP); |
htons | 609 | net/inet/arp.c | arp->ar_pro = htons(0xCC); |
htons | 612 | net/inet/arp.c | arp->ar_op = htons(ARPOP_REQUEST); |
htons | 107 | net/inet/eth.c | eth->h_proto = htons(type); |
htons | 157 | net/inet/eth.c | if(eth->h_proto!=htons(ETH_P_ARP)) /* This ntohs kind of helps a bit! */ |
htons | 184 | net/inet/eth.c | return(htons(ETH_P_802_3)); |
htons | 266 | net/inet/ip.c | iph->id = htons(count++); |
htons | 798 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
htons | 1039 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
htons | 1043 | net/inet/ip.c | iph->frag_off |= htons(IP_MF); |
htons | 1053 | net/inet/sock.c | sk->dummy_th.source = htons(sk->num); |
htons | 686 | net/inet/tcp.c | th->window = htons(sk->window); |
htons | 283 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |