taglinefilesource code
htons143drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
htons162drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
htons206drivers/net/3c509.cphys_addr[i] = htons(id_read_eeprom(i));
htons2414drivers/net/arcnet.ccase ARC_P_IP:    return htons(ETH_P_IP);
htons2415drivers/net/arcnet.ccase ARC_P_ARP:    return htons(ETH_P_ARP);
htons2416drivers/net/arcnet.ccase ARC_P_RARP:  return htons(ETH_P_RARP);
htons2417drivers/net/arcnet.ccase ARC_P_IPX:    return htons(ETH_P_IPX);
htons2418drivers/net/arcnet.ccase ARC_P_ATALK:   return htons(ETH_P_ATALK); /* untested appletalk */
htons2428drivers/net/arcnet.creturn htons(ETH_P_IP);
htons951drivers/net/de620.cif (wrd != htons(0x0080)) /* Valid D-Link ether sequence? */
htons1004drivers/net/ibmtr.copen_sap->max_i_field=htons(MAX_I_FIELD);
htons1029drivers/net/ibmtr.copen_adapter->open_options=htons(OPEN_PASS_BCON_MAC);
htons1030drivers/net/ibmtr.copen_adapter->num_rcv_buf=htons(NUM_RCV_BUF);
htons1031drivers/net/ibmtr.copen_adapter->rcv_buf_len=htons(RCV_BUF_LEN);
htons1032drivers/net/ibmtr.copen_adapter->dhb_length=htons(DHB_LENGTH);
htons1079drivers/net/ibmtr.cxmit_resp->frame_length=htons(0x11);
htons1124drivers/net/ibmtr.cxmit_resp->frame_length=htons(ti->current_skb->len
htons568drivers/net/pi2.cskb->protocol=htons(ETH_P_AX25);
htons873drivers/net/plip.cif (eth->h_proto != htons(ETH_P_IP)) {
htons1300drivers/net/ppp.creturn ppp_rcv_rx (ppp, htons (ETH_P_IP), data, count);
htons1315drivers/net/ppp.creturn ppp_rcv_rx (ppp, htons (ETH_P_IPX), data, count);
htons3173drivers/net/ppp.ccase htons (ETH_P_IPX):
htons3177drivers/net/ppp.ccase htons (ETH_P_IP):
htons3262drivers/net/ppp.ccase htons (ETH_P_IP):
htons3263drivers/net/ppp.ccase htons (ETH_P_IPX):
htons3284drivers/net/ppp.creturn (htons (ETH_P_IP));
htons712drivers/net/seeq8005.coutw( htons(length + 4), SEEQ_BUFFER);
htons541drivers/net/slhc.cthp->check = htons(x);
htons573drivers/net/slhc.cthp->urg_ptr = htons(x);
htons580drivers/net/slhc.cthp->window = htons( ntohs(thp->window) + x);
htons600drivers/net/slhc.cip->id = htons (ntohs (ip->id) + x);
htons602drivers/net/slhc.cip->id = htons (ntohs (ip->id) + 1);
htons614drivers/net/slhc.cip->tot_len = htons(len);
htons389drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
htons391drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
htons540drivers/net/slip.cif (sl->mode & SL_MODE_AX25 && type != htons(ETH_P_AX25))  {
htons239drivers/net/tunnel.ciph->tot_len = htons(skb2->len);
htons469drivers/scsi/eata.cconfig.len = (ushort) htons((ushort)510);
htons696drivers/scsi/eata_pio.ccppadlen=(htons(gc->cppadlen)+1)/2)) == NULL)
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);
htons60net/802/tr.ctrllc->ethertype=htons(type);
htons77net/802/tr.cif(trllc->ethertype != htons(ETH_P_IP)) {
htons78net/802/tr.cprintk("tr_rebuild_header: Don't know how to resolve type %04X addresses ?\n",(unsigned int)htons(  trllc->ethertype));
htons130net/802/tr.ctrh->rcf=htons((((sizeof(trh->rcf)) << 8) & TR_RCF_LEN_MASK)  
htons147net/802/tr.ctrh->rcf^=htons(TR_RCF_DIR_BIT);  
htons148net/802/tr.ctrh->rcf&=htons(0x1fff);  /* Issam Chehab <ichehab@madge1.demon.co.uk> */
htons155net/802/tr.ctrh->rcf=htons((((sizeof(trh->rcf)) << 8) & TR_RCF_LEN_MASK)  
htons200net/802/tr.cif (!(trh->rcf & htons(TR_RCF_BROADCAST_MASK))) {
htons127net/appletalk/aarp.ceah->hw_type  =  htons(AARP_HW_TYPE_ETHERNET);
htons128net/appletalk/aarp.ceah->pa_type  =  htons(ETH_P_ATALK);
htons131net/appletalk/aarp.ceah->function  =  htons(AARP_REQUEST);
htons187net/appletalk/aarp.ceah->hw_type  =  htons(AARP_HW_TYPE_ETHERNET);
htons188net/appletalk/aarp.ceah->pa_type  =  htons(ETH_P_ATALK);
htons191net/appletalk/aarp.ceah->function  =  htons(AARP_REPLY);
htons251net/appletalk/aarp.ceah->hw_type  =  htons(AARP_HW_TYPE_ETHERNET);
htons252net/appletalk/aarp.ceah->pa_type  =  htons(ETH_P_ATALK);
htons255net/appletalk/aarp.ceah->function  =  htons(AARP_PROBE);
htons372net/appletalk/ddp.catif->address.s_net=htons(probe_net);
htons522net/appletalk/ddp.catrtr_default.gateway.s_net=htons(0);
htons771net/appletalk/ddp.cif(nr->nr_firstnet==htons(0) && nr->nr_lastnet==htons(0xFFFE)) 
htons787net/appletalk/ddp.csa->sat_addr.s_net=htons(ct);
htons942net/appletalk/ddp.creturn htons((unsigned short)sum);
htons1188net/appletalk/ddp.cif ( ap == NULL || ap->s_net == htons( ATADDR_ANYNET ))
htons1221net/appletalk/ddp.cif(addr->sat_addr.s_net==htons(ATADDR_ANYNET))
htons2191net/ax25/af_ax25.cax25_packet_type.type = htons(ETH_P_AX25);
htons2193net/ax25/af_ax25.cbpq_packet_type.type  = htons(ETH_P_BPQ);
htons147net/core/dev.cif(pt->type==htons(ETH_P_ALL))
htons169net/core/dev.cif(pt->type==htons(ETH_P_ALL))
htons100net/ethernet/eth.ceth->h_proto = htons(type);
htons102net/ethernet/eth.ceth->h_proto = htons(len);
htons148net/ethernet/eth.cif(eth->h_proto != htons(ETH_P_IP)) 
htons212net/ethernet/eth.creturn htons(ETH_P_802_3);
htons217net/ethernet/eth.creturn htons(ETH_P_802_2);
htons253net/ethernet/eth.cif(eth->h_proto!=htons(ETH_P_IP))
htons377net/ipv4/arp.carp->ar_hrd = htons(dev->type);
htons380net/ipv4/arp.carp->ar_pro = (dev->type == ARPHRD_AX25 || dev->type == ARPHRD_NETROM) ? htons(AX25_P_IP) : htons(ETH_P_IP);
htons382net/ipv4/arp.carp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP);
htons385net/ipv4/arp.carp->ar_pro = htons(ETH_P_IP);
htons389net/ipv4/arp.carp->ar_op = htons(type);
htons642net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons651net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons660net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons668net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons725net/ipv4/arp.cif(arp->ar_op == htons(ARPOP_REPLY))
htons1466net/ipv4/arp.carp_packet_type.type=htons(ETH_P_ARP);
htons286net/ipv4/icmp.cif(iph->frag_off&htons(IP_OFFSET))
htons59net/ipv4/ip_forward.ciph->tot_len  =  htons(skb->len);
htons60net/ipv4/ip_forward.ciph->id    =  htons(ip_id_count++);
htons143net/ipv4/ip_forward.ciph->check = htons(iph->check);
htons324net/ipv4/ip_fragment.ciph->tot_len = htons((iph->ihl * 4) + count);
htons679net/ipv4/ip_fragment.ciph->frag_off = htons((offset >> 3));
htons696net/ipv4/ip_fragment.ciph->frag_off |= htons(IP_MF);
htons547net/ipv4/ip_fw.cms->mport = htons(masq_port++);
htons660net/ipv4/ip_fw.cms->sport    = htons(port);  /* derived from PORT cmd */
htons667net/ipv4/ip_fw.cms->dport    = htons(FTP_DPORT_TBD);  /* ftp-data */
htons735net/ipv4/ip_fw.ciph->tot_len = htons(diff+ntohs(iph->tot_len));
htons752net/ipv4/ip_fw.ciph->tot_len = htons(skb->len + diff);
htons854net/ipv4/ip_fw.cif (portptr[1]==htons(21)) 
htons929net/ipv4/ip_fw.c(ms->dport==htons(FTP_DPORT_TBD) || portptr[0]==ms->dport) &&
htons937net/ipv4/ip_fw.cif(ms->dport==htons(FTP_DPORT_TBD))
htons294net/ipv4/ip_input.cif (iph->frag_off & htons(IP_MF))
htons300net/ipv4/ip_input.cif (iph->frag_off & htons(IP_OFFSET))
htons360net/ipv4/ip_output.ciph->id      = htons(ip_id_count++);
htons707net/ipv4/ip_output.ciph->tot_len = htons(length);
htons708net/ipv4/ip_output.ciph->id=htons(ip_id_count++);
htons809net/ipv4/ip_output.cid = htons(ip_id_count++);
htons890net/ipv4/ip_output.ciph->tot_len = htons(fraglen - fragheaderlen + iph->ihl*4);
htons892net/ipv4/ip_output.ciph->frag_off = htons(offset>>3);
htons911net/ipv4/ip_output.cmf = htons(IP_MF);
htons1109net/ipv4/ip_output.cip_packet_type.type=htons(ETH_P_IP);
htons280net/ipv4/ipmr.cskb->ip_hdr->tot_len=htons(skb->len);      /* Fix the length */
htons187net/ipv4/rarp.crarp_packet_type.type=htons(ETH_P_RARP);
htons223net/ipv4/rarp.cif (rarp->ar_op != htons(ARPOP_RREQUEST))
htons235net/ipv4/rarp.c(rarp->ar_pro != htons(AX25_P_IP) && dev->type == ARPHRD_AX25) ||
htons237net/ipv4/rarp.c(rarp->ar_pro != htons(ETH_P_IP) && dev->type != ARPHRD_AX25)
htons167net/ipv4/raw.ciph->tot_len=htons(fraglen);  /* This is right as you cant frag
htons173net/ipv4/raw.ciph->id = htons(ip_id_count++);
htons675net/ipv4/tcp.ciph->id = htons(ip_id_count++);
htons1637net/ipv4/tcp.cth->window = htons(sk->window);
htons5334net/ipv4/tcp.cth->urg_ptr = htons(urg_ptr);
htons5335net/ipv4/tcp.cnth->urg_ptr = htons(win_size);
htons306net/ipv4/udp.cufh.uh.len = htons(ulen);
htons309net/ipv4/udp.cufh.other = (htons(ulen) << 16) + IPPROTO_UDP*256;
htons698net/ipx/af_ipx.ccase IPX_FRAME_ETHERII: return htons(ETH_P_IPX);
htons699net/ipx/af_ipx.ccase IPX_FRAME_8022: return htons(ETH_P_802_2);
htons700net/ipx/af_ipx.ccase IPX_FRAME_SNAP: return htons(ETH_P_SNAP);
htons701net/ipx/af_ipx.ccase IPX_FRAME_8023: return htons(ETH_P_802_3);
htons726net/ipx/af_ipx.cdlink_type = htons(ETH_P_IPX);
htons730net/ipx/af_ipx.cdlink_type = htons(ETH_P_802_2);
htons734net/ipx/af_ipx.cdlink_type = htons(ETH_P_SNAP);
htons738net/ipx/af_ipx.cdlink_type = htons(ETH_P_802_3);
htons826net/ipx/af_ipx.cswitch (htons(dlink_type)) {
htons1064net/ipx/af_ipx.cipx->ipx_pktsize=htons(len+sizeof(ipx_packet));
htons1233net/ipx/af_ipx.chtons(s->ipx_port));
htons1243net/ipx/af_ipx.chtons(s->ipx_dest_addr.sock));
htons1715net/ipx/af_ipx.cif(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) {
htons2042net/ipx/af_ipx.cipx_dix_packet_type.type=htons(ETH_P_IPX);
htons2046net/ipx/af_ipx.cipx_8023_packet_type.type=htons(ETH_P_802_3);
htons64net/netrom/nr_dev.cskb->protocol = htons(ETH_P_IP);