tag | line | file | source code |
htons | 108 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 127 | drivers/net/3c509.c | phys_addr[i] = htons(read_eeprom(ioaddr, i)); |
htons | 160 | drivers/net/3c509.c | phys_addr[i] = htons(id_read_eeprom(i)); |
htons | 1801 | drivers/net/ppp.c | return(htons(ETH_P_IP)); |
htons | 513 | drivers/net/slhc.c | thp->check = htons(x); |
htons | 545 | drivers/net/slhc.c | thp->urg_ptr = htons(x); |
htons | 552 | drivers/net/slhc.c | thp->window = htons( ntohs(thp->window) + x); |
htons | 572 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
htons | 574 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
htons | 586 | drivers/net/slhc.c | ip->tot_len = htons(len); |
htons | 514 | drivers/net/slip.c | return htons(ETH_P_AX25); |
htons | 516 | drivers/net/slip.c | return htons(ETH_P_IP); |
htons | 528 | 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 | 290 | net/inet/arp.c | arp->ar_hrd = htons(dev->type); |
htons | 292 | net/inet/arp.c | arp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP); |
htons | 294 | net/inet/arp.c | arp->ar_pro = htons(ETH_P_IP); |
htons | 298 | net/inet/arp.c | arp->ar_op = htons(type); |
htons | 509 | net/inet/arp.c | if(arp->ar_pro != htons(AX25_P_IP)) |
htons | 517 | net/inet/arp.c | if(arp->ar_pro != htons(ETH_P_IP)) |
htons | 573 | net/inet/arp.c | if(arp->ar_op == htons(ARPOP_REPLY)) |
htons | 1133 | net/inet/arp.c | arp_packet_type.type=htons(ETH_P_ARP); |
htons | 121 | net/inet/dev.c | if(pt->type == htons(ETH_P_ALL)) |
htons | 143 | net/inet/dev.c | if (pt->type == htons(ETH_P_ALL)) |
htons | 180 | net/inet/dev.c | if (pt->type == htons(ETH_P_ALL)) |
htons | 213 | net/inet/dev.c | if (pt1->next->type == pt->type && pt->type != htons(ETH_P_ALL)) |
htons | 696 | net/inet/dev.c | if (ptype->type == type || ptype->type == htons(ETH_P_ALL)) |
htons | 700 | 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 | 878 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
htons | 1223 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
htons | 1229 | net/inet/ip.c | iph->frag_off |= htons(IP_MF); |
htons | 1691 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
htons | 1847 | net/inet/ip.c | iph->id = htons(ip_id_count++); |
htons | 2029 | net/inet/ip.c | ip_packet_type.type=htons(ETH_P_IP); |
htons | 158 | net/inet/ipx.c | htons(s->ipx_source_addr.sock)); |
htons | 162 | net/inet/ipx.c | htons(s->ipx_dest_addr.sock)); |
htons | 281 | net/inet/ipx.c | dlink_type = htons(ETH_P_IPX); |
htons | 284 | net/inet/ipx.c | dlink_type = htons(ETH_P_802_2); |
htons | 287 | net/inet/ipx.c | dlink_type = htons(ETH_P_SNAP); |
htons | 290 | net/inet/ipx.c | dlink_type = htons(ETH_P_802_3); |
htons | 666 | net/inet/ipx.c | if (ipx_find_socket(htons(socketNum)) == NULL) { |
htons | 673 | net/inet/ipx.c | return htons(foundNum); |
htons | 862 | net/inet/ipx.c | if(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) |
htons | 1034 | net/inet/ipx.c | if(htons(sipx.sipx_port)<0x4000 && !suser()) |
htons | 1127 | net/inet/ipx.c | ipx->ipx_pktsize=htons(len+sizeof(ipx_packet)); |
htons | 1346 | net/inet/ipx.c | ipx_dix_packet_type.type=htons(ETH_P_IPX); |
htons | 1350 | 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 | 118 | net/inet/rarp.c | rarp_packet_type.type=htons(ETH_P_RARP); |
htons | 189 | net/inet/rarp.c | if (rarp->ar_op != htons(ARPOP_RREQUEST)) |
htons | 201 | net/inet/rarp.c | (rarp->ar_pro != htons(AX25_P_IP) && dev->type == ARPHRD_AX25) || |
htons | 203 | net/inet/rarp.c | (rarp->ar_pro != htons(ETH_P_IP) && dev->type != ARPHRD_AX25) |
htons | 757 | net/inet/tcp.c | th->window = htons(sk->window); |
htons | 302 | net/inet/udp.c | uh->len = htons(len + sizeof(struct udphdr)); |