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));
htons2104drivers/net/arcnet.ccase ARC_P_IP:    return htons(ETH_P_IP);
htons2105drivers/net/arcnet.ccase ARC_P_ARP:    return htons(ETH_P_ARP);
htons2106drivers/net/arcnet.ccase ARC_P_RARP:  return htons(ETH_P_RARP);
htons2107drivers/net/arcnet.ccase ARC_P_IPX:    return htons(ETH_P_IPX);
htons2108drivers/net/arcnet.ccase ARC_P_ATALK:     return htons(ETH_P_ATALK);  /* Doesn't work yet */
htons2116drivers/net/arcnet.creturn htons(ETH_P_IP);
htons941drivers/net/de620.cif (wrd != htons(0x0080)) /* Valid D-Link ether sequence? */
htons889drivers/net/ibmtr.copen_sap->max_i_field=htons(MAX_I_FIELD);
htons914drivers/net/ibmtr.copen_adapter->open_options=htons(OPEN_PASS_BCON_MAC);
htons915drivers/net/ibmtr.copen_adapter->num_rcv_buf=htons(NUM_RCV_BUF);
htons916drivers/net/ibmtr.copen_adapter->rcv_buf_len=htons(RCV_BUF_LEN);
htons917drivers/net/ibmtr.copen_adapter->dhb_length=htons(DHB_LENGTH);
htons963drivers/net/ibmtr.cxmit_resp->frame_length=htons(0x11);
htons1008drivers/net/ibmtr.cxmit_resp->frame_length=htons(ti->current_skb->len
htons845drivers/net/plip.cif (eth->h_proto != htons(ETH_P_IP)) {
htons1159drivers/net/ppp.cskb->protocol=htons(ETH_P_IP);
htons535drivers/net/slhc.cthp->check = htons(x);
htons567drivers/net/slhc.cthp->urg_ptr = htons(x);
htons574drivers/net/slhc.cthp->window = htons( ntohs(thp->window) + x);
htons594drivers/net/slhc.cip->id = htons (ntohs (ip->id) + x);
htons596drivers/net/slhc.cip->id = htons (ntohs (ip->id) + 1);
htons608drivers/net/slhc.cip->tot_len = htons(len);
htons326drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
htons328drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
htons503drivers/net/slip.cif (((sl->mode & SL_MODE_AX25) || (sl->mode & SL_MODE_AX25VC)) && type != htons(ETH_P_AX25))  {
htons231drivers/net/tunnel.ciph->tot_len = htons(skb2->len);
htons459drivers/scsi/eata.cconfig.len = (ushort) htons((ushort)510);
htons20include/asm-alpha/byteorder.hextern unsigned short int  htons(unsigned short int);
htons20include/asm-i386/byteorder.hextern unsigned short int  htons(unsigned short int);
htons22include/asm-mips/byteorder.hextern unsigned short int  htons(unsigned short int);
htons15include/asm-sparc/byteorder.hextern unsigned short int  htons(unsigned short int);
htons72net/802/p8022.cp8022_packet_type.type=htons(ETH_P_802_2);
htons63net/802/psnap.cpsnap_packet_type.type=htons(ETH_P_SNAP);
htons59net/802/tr.ctrllc->ethertype=htons(type);
htons76net/802/tr.cif(trllc->ethertype != htons(ETH_P_IP)) {
htons77net/802/tr.cprintk("tr_rebuild_header: Don't know how to resolve type %04X addresses ?\n",(unsigned int)htons(  trllc->ethertype));
htons125net/802/tr.ctrh->rcf=htons((((sizeof(trh->rcf)) << 8) & TR_RCF_LEN_MASK)  
htons142net/802/tr.ctrh->rcf^=htons(TR_RCF_DIR_BIT);  
htons143net/802/tr.ctrh->rcf&=htons(0x1fff);  /* Issam Chehab <ichehab@madge1.demon.co.uk> */
htons150net/802/tr.ctrh->rcf=htons((((sizeof(trh->rcf)) << 8) & TR_RCF_LEN_MASK)  
htons195net/802/tr.cif (!(trh->rcf & htons(TR_RCF_BROADCAST_MASK))) {
htons125net/appletalk/aarp.ceah->hw_type  =  htons(AARP_HW_TYPE_ETHERNET);
htons126net/appletalk/aarp.ceah->pa_type  =  htons(ETH_P_ATALK);
htons129net/appletalk/aarp.ceah->function  =  htons(AARP_REQUEST);
htons185net/appletalk/aarp.ceah->hw_type  =  htons(AARP_HW_TYPE_ETHERNET);
htons186net/appletalk/aarp.ceah->pa_type  =  htons(ETH_P_ATALK);
htons189net/appletalk/aarp.ceah->function  =  htons(AARP_REPLY);
htons247net/appletalk/aarp.ceah->hw_type  =  htons(AARP_HW_TYPE_ETHERNET);
htons248net/appletalk/aarp.ceah->pa_type  =  htons(ETH_P_ATALK);
htons251net/appletalk/aarp.ceah->function  =  htons(AARP_PROBE);
htons347net/appletalk/ddp.catif->address.s_net=htons(probe_net);
htons498net/appletalk/ddp.catrtr_default.gateway.s_net=htons(0);
htons742net/appletalk/ddp.cif(nr->nr_firstnet==htons(0) && nr->nr_lastnet==htons(0xFFFE)) {
htons755net/appletalk/ddp.csa->sat_addr.s_net=htons(ct);
htons910net/appletalk/ddp.creturn htons((unsigned short)sum);
htons1154net/appletalk/ddp.cif ( ap == NULL || ap->s_net == htons( ATADDR_ANYNET ))
htons1187net/appletalk/ddp.cif(addr->sat_addr.s_net==htons(ATADDR_ANYNET))
htons1891net/ax25/af_ax25.cax25_packet_type.type = htons(ETH_P_AX25);
htons138net/core/dev.cif(pt->type==htons(ETH_P_ALL))
htons160net/core/dev.cif(pt->type==htons(ETH_P_ALL))
htons683net/core/dev.cif ((ptype->type == type || ptype->type == htons(ETH_P_ALL)) && (!ptype->dev || ptype->dev==skb->dev))
htons96net/ethernet/eth.ceth->h_proto = htons(type);
htons98net/ethernet/eth.ceth->h_proto = htons(len);
htons144net/ethernet/eth.cif(eth->h_proto != htons(ETH_P_IP)) 
htons193net/ethernet/eth.creturn htons(ETH_P_802_3);
htons195net/ethernet/eth.creturn htons(ETH_P_802_2);
htons349net/ipv4/arp.carp->ar_hrd = htons(dev->type);
htons352net/ipv4/arp.carp->ar_pro = (dev->type == ARPHRD_AX25 || dev->type == ARPHRD_NETROM) ? htons(AX25_P_IP) : htons(ETH_P_IP);
htons354net/ipv4/arp.carp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP);
htons357net/ipv4/arp.carp->ar_pro = htons(ETH_P_IP);
htons361net/ipv4/arp.carp->ar_op = htons(type);
htons603net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons612net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons621net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons629net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons685net/ipv4/arp.cif(arp->ar_op == htons(ARPOP_REPLY))
htons1385net/ipv4/arp.carp_packet_type.type=htons(ETH_P_ARP);
htons664net/ipv4/ip.ciph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count);
htons1012net/ipv4/ip.ciph->frag_off = htons((offset >> 3));
htons1018net/ipv4/ip.ciph->frag_off |= htons(IP_MF);
htons1088net/ipv4/ip.ciph->check = htons(iph->check);
htons1771net/ipv4/ip.ciph->id      = htons(ip_id_count++);
htons2475net/ipv4/ip.cid = htons(ip_id_count++);
htons2545net/ipv4/ip.ciph->tot_len = htons(fraglen - fragheaderlen + iph->ihl*4);
htons2547net/ipv4/ip.ciph->frag_off = htons(offset>>3);
htons2566net/ipv4/ip.cmf = htons(IP_MF);
htons2692net/ipv4/ip.cip_packet_type.type=htons(ETH_P_IP);
htons486net/ipv4/ip_fw.cms->mport = htons(masq_port++);
htons579net/ipv4/ip_fw.cms->sport    = htons(port);  /* derived from PORT cmd */
htons581net/ipv4/ip_fw.cms->dport    = htons(20);  /* ftp-data */
htons733net/ipv4/ip_fw.cif (portptr[1]==htons(21)) 
htons97net/ipv4/rarp.crarp_packet_type.type=htons(ETH_P_RARP);
htons168net/ipv4/rarp.cif (rarp->ar_op != htons(ARPOP_RREQUEST))
htons180net/ipv4/rarp.c(rarp->ar_pro != htons(AX25_P_IP) && dev->type == ARPHRD_AX25) ||
htons182net/ipv4/rarp.c(rarp->ar_pro != htons(ETH_P_IP) && dev->type != ARPHRD_AX25)
htons147net/ipv4/raw.ciph->tot_len=htons(fraglen);  /* This is right as you cant frag
htons153net/ipv4/raw.ciph->id = htons(ip_id_count++);
htons472net/ipv4/tcp.ciph->id = htons(ip_id_count++);
htons1388net/ipv4/tcp.cth->window = htons(sk->window);
htons4980net/ipv4/tcp.cth->urg_ptr = htons(urg_ptr);
htons4981net/ipv4/tcp.cnth->urg_ptr = htons(win_size);
htons265net/ipv4/udp.cufh.uh.len = htons(ulen);
htons268net/ipv4/udp.cufh.other = (htons(ulen) << 16) + IPPROTO_UDP*256;
htons660net/ipx/af_ipx.ccase IPX_FRAME_ETHERII: return htons(ETH_P_IPX);
htons661net/ipx/af_ipx.ccase IPX_FRAME_8022: return htons(ETH_P_802_2);
htons662net/ipx/af_ipx.ccase IPX_FRAME_SNAP: return htons(ETH_P_SNAP);
htons663net/ipx/af_ipx.ccase IPX_FRAME_8023: return htons(ETH_P_802_3);
htons688net/ipx/af_ipx.cdlink_type = htons(ETH_P_IPX);
htons692net/ipx/af_ipx.cdlink_type = htons(ETH_P_802_2);
htons696net/ipx/af_ipx.cdlink_type = htons(ETH_P_SNAP);
htons700net/ipx/af_ipx.cdlink_type = htons(ETH_P_802_3);
htons788net/ipx/af_ipx.cswitch (htons(dlink_type)) {
htons1021net/ipx/af_ipx.cipx->ipx_pktsize=htons(len+sizeof(ipx_packet));
htons1181net/ipx/af_ipx.chtons(s->ipx_port));
htons1191net/ipx/af_ipx.chtons(s->ipx_dest_addr.sock));
htons1648net/ipx/af_ipx.cif(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) {
htons1935net/ipx/af_ipx.cipx_dix_packet_type.type=htons(ETH_P_IPX);
htons1939net/ipx/af_ipx.cipx_8023_packet_type.type=htons(ETH_P_802_3);
htons62net/netrom/nr_dev.cskb->protocol=htons(ETH_P_IP);