taglinefilesource code
htons141drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
htons160drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
htons196drivers/net/3c509.cphys_addr[i] = htons(id_read_eeprom(i));
htons2127drivers/net/arcnet.ccase ARC_P_IP:    return htons(ETH_P_IP);
htons2128drivers/net/arcnet.ccase ARC_P_ARP:    return htons(ETH_P_ARP);
htons2129drivers/net/arcnet.ccase ARC_P_RARP:  return htons(ETH_P_RARP);
htons2130drivers/net/arcnet.ccase ARC_P_IPX:    return htons(ETH_P_IPX);
htons2131drivers/net/arcnet.ccase ARC_P_ATALK:   return htons(ETH_P_ATALK); /* appletalk, not tested */
htons2147drivers/net/arcnet.creturn htons(ETH_P_802_3);
htons2149drivers/net/arcnet.creturn htons(ETH_P_SNAP);
htons2151drivers/net/arcnet.creturn htons(ETH_P_802_2);
htons2154drivers/net/arcnet.creturn htons(ETH_P_IP);
htons940drivers/net/de620.cif (wrd != htons(0x0080)) /* Valid D-Link ether sequence? */
htons855drivers/net/plip.cif (eth->h_proto != htons(ETH_P_IP)) {
htons1826drivers/net/ppp.creturn(htons(ETH_P_IP));
htons534drivers/net/slhc.cthp->check = htons(x);
htons566drivers/net/slhc.cthp->urg_ptr = htons(x);
htons573drivers/net/slhc.cthp->window = htons( ntohs(thp->window) + x);
htons593drivers/net/slhc.cip->id = htons (ntohs (ip->id) + x);
htons595drivers/net/slhc.cip->id = htons (ntohs (ip->id) + 1);
htons607drivers/net/slhc.cip->tot_len = htons(len);
htons469drivers/net/slip.creturn htons(ETH_P_AX25);
htons472drivers/net/slip.creturn htons(ETH_P_IP);
htons485drivers/net/slip.cif ((sl->mode & SL_MODE_AX25) && type != htons(ETH_P_AX25))  {
htons459drivers/scsi/eata.cconfig.len = (ushort) htons((ushort)510);
htons12include/asm-alpha/byteorder.hextern unsigned short int  htons(unsigned short int);
htons12include/asm-i386/byteorder.hextern unsigned short int  htons(unsigned short int);
htons12include/asm-mips/byteorder.hextern unsigned short int  htons(unsigned short int);
htons12include/asm-sparc/byteorder.hextern unsigned short int  htons(unsigned short int);
htons340net/inet/arp.carp->ar_hrd = htons(dev->type);
htons342net/inet/arp.carp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP);
htons344net/inet/arp.carp->ar_pro = htons(ETH_P_IP);
htons348net/inet/arp.carp->ar_op = htons(type);
htons589net/inet/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons598net/inet/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons654net/inet/arp.cif(arp->ar_op == htons(ARPOP_REPLY))
htons1287net/inet/arp.carp_packet_type.type=htons(ETH_P_ARP);
htons129net/inet/dev.cif(pt->type==htons(ETH_P_ALL))
htons143net/inet/dev.cif(pt->type==htons(ETH_P_ALL))
htons395net/inet/dev.cif (ptype->type == htons(ETH_P_ALL) &&
htons701net/inet/dev.cif ((ptype->type == type || ptype->type == htons(ETH_P_ALL)) && (!ptype->dev || ptype->dev==skb->dev))
htons96net/inet/eth.ceth->h_proto = htons(type);
htons98net/inet/eth.ceth->h_proto = htons(len);
htons144net/inet/eth.cif(eth->h_proto != htons(ETH_P_IP)) 
htons193net/inet/eth.creturn htons(ETH_P_802_3);
htons195net/inet/eth.creturn htons(ETH_P_802_2);
htons883net/inet/ip.ciph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count);
htons1230net/inet/ip.ciph->frag_off = htons((offset >> 3));
htons1236net/inet/ip.ciph->frag_off |= htons(IP_MF);
htons1833net/inet/ip.ciph->id      = htons(ip_id_count++);
htons2418net/inet/ip.cip_packet_type.type=htons(ETH_P_IP);
htons655net/inet/ipx.ccase IPX_FRAME_ETHERII: return htons(ETH_P_IPX);
htons656net/inet/ipx.ccase IPX_FRAME_8022: return htons(ETH_P_802_2);
htons657net/inet/ipx.ccase IPX_FRAME_SNAP: return htons(ETH_P_SNAP);
htons658net/inet/ipx.ccase IPX_FRAME_8023: return htons(ETH_P_802_3);
htons683net/inet/ipx.cdlink_type = htons(ETH_P_IPX);
htons687net/inet/ipx.cdlink_type = htons(ETH_P_802_2);
htons691net/inet/ipx.cdlink_type = htons(ETH_P_SNAP);
htons695net/inet/ipx.cdlink_type = htons(ETH_P_802_3);
htons783net/inet/ipx.cswitch (htons(dlink_type)) {
htons1016net/inet/ipx.cipx->ipx_pktsize=htons(len+sizeof(ipx_packet));
htons1176net/inet/ipx.chtons(s->ipx_port));
htons1186net/inet/ipx.chtons(s->ipx_dest_addr.sock));
htons1644net/inet/ipx.cif(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) {
htons1929net/inet/ipx.cipx_dix_packet_type.type=htons(ETH_P_IPX);
htons1933net/inet/ipx.cipx_8023_packet_type.type=htons(ETH_P_802_3);
htons72net/inet/p8022.cp8022_packet_type.type=htons(ETH_P_802_2);
htons63net/inet/psnap.cpsnap_packet_type.type=htons(ETH_P_SNAP);
htons97net/inet/rarp.crarp_packet_type.type=htons(ETH_P_RARP);
htons168net/inet/rarp.cif (rarp->ar_op != htons(ARPOP_RREQUEST))
htons180net/inet/rarp.c(rarp->ar_pro != htons(AX25_P_IP) && dev->type == ARPHRD_AX25) ||
htons182net/inet/rarp.c(rarp->ar_pro != htons(ETH_P_IP) && dev->type != ARPHRD_AX25)
htons445net/inet/tcp.ciph->id = htons(ip_id_count++);
htons1429net/inet/tcp.cth->window = htons(sk->window);
htons314net/inet/udp.cuh->len = htons(len + sizeof(struct udphdr));