tag | line | file | source code |
htons | 141 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 160 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 196 | drivers/net/3c509.c | phys_addr[i] = htons(id_read_eeprom(i)); |
htons | 922 | drivers/net/de620.c | if (wrd != htons(0x0080)) /* Valid D-Link ether sequence? */ |
htons | 436 | drivers/net/plip.c | if (eth->h_proto != htons(ETH_P_IP)) { |
htons | 1815 | drivers/net/ppp.c | return(htons(ETH_P_IP)); |
htons | 522 | drivers/net/slhc.c | thp->check = htons(x); |
htons | 554 | drivers/net/slhc.c | thp->urg_ptr = htons(x); |
htons | 561 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
htons | 581 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
htons | 583 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
htons | 595 | drivers/net/slhc.c | ip->tot_len = htons(len); |
htons | 489 | drivers/net/slip.c | return htons(ETH_P_AX25); |
htons | 491 | drivers/net/slip.c | return htons(ETH_P_IP); |
htons | 503 | drivers/net/slip.c | if((sl->mode&SL_MODE_AX25) && type!=htons(ETH_P_AX25)) |
htons | 122 | include/linux/in.h | extern unsigned short int htons(unsigned short int); |
htons | 315 | net/inet/arp.c | arp->ar_hrd = htons(dev->type); |
htons | 317 | net/inet/arp.c | arp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP); |
htons | 319 | net/inet/arp.c | arp->ar_pro = htons(ETH_P_IP); |
htons | 323 | net/inet/arp.c | arp->ar_op = htons(type); |
htons | 541 | net/inet/arp.c | if(arp->ar_pro != htons(AX25_P_IP)) |
htons | 549 | net/inet/arp.c | if(arp->ar_pro != htons(ETH_P_IP)) |
htons | 605 | net/inet/arp.c | if(arp->ar_op == htons(ARPOP_REPLY)) |
htons | 1173 | net/inet/arp.c | arp_packet_type.type=htons(ETH_P_ARP); |
htons | 127 | net/inet/dev.c | if(pt->type == htons(ETH_P_ALL)) |
htons | 149 | net/inet/dev.c | if (pt->type == htons(ETH_P_ALL)) |
htons | 186 | net/inet/dev.c | if (pt->type == htons(ETH_P_ALL)) |
htons | 219 | net/inet/dev.c | if (pt1->next->type == pt->type && pt->type != htons(ETH_P_ALL)) |
htons | 429 | net/inet/dev.c | if (ptype->type == htons(ETH_P_ALL)) { |
htons | 732 | net/inet/dev.c | if (ptype->type == type || ptype->type == htons(ETH_P_ALL)) |
htons | 736 | net/inet/dev.c | if (ptype->type == htons(ETH_P_ALL)) |
htons | 94 | net/inet/eth.c | eth->h_proto = htons(type); |
htons | 96 | net/inet/eth.c | eth->h_proto = htons(len); |
htons | 142 | net/inet/eth.c | if(eth->h_proto != htons(ETH_P_IP)) |
htons | 191 | net/inet/eth.c | return htons(ETH_P_802_3); |
htons | 193 | net/inet/eth.c | return htons(ETH_P_SNAP); |
htons | 195 | net/inet/eth.c | return htons(ETH_P_802_2); |
htons | 881 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
htons | 1225 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
htons | 1231 | net/inet/ip.c | iph->frag_off |= htons(IP_MF); |
htons | 1677 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
htons | 1837 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
htons | 2023 | net/inet/ip.c | ip_packet_type.type=htons(ETH_P_IP); |
htons | 161 | net/inet/ipx.c | htons(s->ipx_source_addr.sock)); |
htons | 165 | net/inet/ipx.c | htons(s->ipx_dest_addr.sock)); |
htons | 284 | net/inet/ipx.c | dlink_type = htons(ETH_P_IPX); |
htons | 287 | net/inet/ipx.c | dlink_type = htons(ETH_P_802_2); |
htons | 290 | net/inet/ipx.c | dlink_type = htons(ETH_P_SNAP); |
htons | 293 | net/inet/ipx.c | dlink_type = htons(ETH_P_802_3); |
htons | 646 | net/inet/ipx.c | while (ipx_find_socket(htons(socketNum)) != NULL) |
htons | 649 | net/inet/ipx.c | return htons(socketNum++); |
htons | 817 | net/inet/ipx.c | if(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) |
htons | 992 | net/inet/ipx.c | if(htons(usipx->sipx_port)<0x4000 && !suser()) |
htons | 1084 | net/inet/ipx.c | ipx->ipx_pktsize=htons(len+sizeof(ipx_packet)); |
htons | 1341 | net/inet/ipx.c | ipx_dix_packet_type.type=htons(ETH_P_IPX); |
htons | 1345 | net/inet/ipx.c | ipx_8023_packet_type.type=htons(ETH_P_802_3); |
htons | 71 | net/inet/p8022.c | p8022_packet_type.type=htons(ETH_P_802_2); |
htons | 96 | net/inet/rarp.c | rarp_packet_type.type=htons(ETH_P_RARP); |
htons | 167 | net/inet/rarp.c | if (rarp->ar_op != htons(ARPOP_RREQUEST)) |
htons | 179 | net/inet/rarp.c | (rarp->ar_pro != htons(AX25_P_IP) && dev->type == ARPHRD_AX25) || |
htons | 181 | net/inet/rarp.c | (rarp->ar_pro != htons(ETH_P_IP) && dev->type != ARPHRD_AX25) |
htons | 883 | net/inet/tcp.c | th->window = htons(sk->window); |
htons | 305 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |