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));
htons1785drivers/net/arcnet.ccase ARC_P_IP:    return htons(ETH_P_IP); /* what the heck is
htons1787drivers/net/arcnet.ccase ARC_P_ARP:    return htons(ETH_P_ARP);
htons1788drivers/net/arcnet.ccase ARC_P_RARP:  return htons(ETH_P_RARP);
htons1805drivers/net/arcnet.creturn htons(ETH_P_802_3);
htons1807drivers/net/arcnet.creturn htons(ETH_P_SNAP);
htons1809drivers/net/arcnet.creturn htons(ETH_P_802_2);
htons1812drivers/net/arcnet.creturn htons(ETH_P_IP);
htons940drivers/net/de620.cif (wrd != htons(0x0080)) /* Valid D-Link ether sequence? */
htons852drivers/net/plip.cif (eth->h_proto != htons(ETH_P_IP)) {
htons1827drivers/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);
htons442drivers/net/slip.creturn htons(ETH_P_AX25);
htons445drivers/net/slip.creturn htons(ETH_P_IP);
htons458drivers/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);
htons333net/inet/arp.carp->ar_hrd = htons(dev->type);
htons335net/inet/arp.carp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP);
htons337net/inet/arp.carp->ar_pro = htons(ETH_P_IP);
htons341net/inet/arp.carp->ar_op = htons(type);
htons576net/inet/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons585net/inet/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons641net/inet/arp.cif(arp->ar_op == htons(ARPOP_REPLY))
htons1273net/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);
htons1817net/inet/ip.ciph->id      = htons(ip_id_count++);
htons2402net/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));
htons1636net/inet/ipx.cif(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) {
htons1685net/inet/ipx.cif(htons(usipx->sipx_port)<IPX_MIN_EPHEMERAL_SOCKET && !suser())
htons1923net/inet/ipx.cipx_dix_packet_type.type=htons(ETH_P_IPX);
htons1927net/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));