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));
htons2097drivers/net/arcnet.ccase ARC_P_IP:    return htons(ETH_P_IP);
htons2098drivers/net/arcnet.ccase ARC_P_ARP:    return htons(ETH_P_ARP);
htons2099drivers/net/arcnet.ccase ARC_P_RARP:  return htons(ETH_P_RARP);
htons2100drivers/net/arcnet.ccase ARC_P_IPX:    return htons(ETH_P_IPX);
htons2117drivers/net/arcnet.creturn htons(ETH_P_802_3);
htons2119drivers/net/arcnet.creturn htons(ETH_P_SNAP);
htons2121drivers/net/arcnet.creturn htons(ETH_P_802_2);
htons2124drivers/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))  {
htons452drivers/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);
htons334net/inet/arp.carp->ar_hrd = htons(dev->type);
htons336net/inet/arp.carp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP);
htons338net/inet/arp.carp->ar_pro = htons(ETH_P_IP);
htons342net/inet/arp.carp->ar_op = htons(type);
htons577net/inet/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons586net/inet/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons642net/inet/arp.cif(arp->ar_op == htons(ARPOP_REPLY))
htons1274net/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);
htons881net/inet/ip.ciph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count);
htons1228net/inet/ip.ciph->frag_off = htons((offset >> 3));
htons1234net/inet/ip.ciph->frag_off |= htons(IP_MF);
htons1825net/inet/ip.ciph->id      = htons(ip_id_count++);
htons2410net/inet/ip.cip_packet_type.type=htons(ETH_P_IP);
htons640net/inet/ipx.ccase IPX_FRAME_ETHERII: return htons(ETH_P_IPX);
htons641net/inet/ipx.ccase IPX_FRAME_8022: return htons(ETH_P_802_2);
htons642net/inet/ipx.ccase IPX_FRAME_SNAP: return htons(ETH_P_SNAP);
htons643net/inet/ipx.ccase IPX_FRAME_8023: return htons(ETH_P_802_3);
htons668net/inet/ipx.cdlink_type = htons(ETH_P_IPX);
htons672net/inet/ipx.cdlink_type = htons(ETH_P_802_2);
htons676net/inet/ipx.cdlink_type = htons(ETH_P_SNAP);
htons680net/inet/ipx.cdlink_type = htons(ETH_P_802_3);
htons771net/inet/ipx.cswitch (htons(dlink_type)) {
htons1006net/inet/ipx.cipx->ipx_pktsize=htons(len+sizeof(ipx_packet));
htons1166net/inet/ipx.chtons(s->ipx_port));
htons1176net/inet/ipx.chtons(s->ipx_dest_addr.sock));
htons1634net/inet/ipx.cif(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) {
htons1918net/inet/ipx.cipx_dix_packet_type.type=htons(ETH_P_IPX);
htons1922net/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)
htons442net/inet/tcp.ciph->id = htons(ip_id_count++);
htons1426net/inet/tcp.cth->window = htons(sk->window);
htons314net/inet/udp.cuh->len = htons(len + sizeof(struct udphdr));