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));
htons2369drivers/net/arcnet.ccase ARC_P_IP:    return htons(ETH_P_IP);
htons2370drivers/net/arcnet.ccase ARC_P_ARP:    return htons(ETH_P_ARP);
htons2371drivers/net/arcnet.ccase ARC_P_RARP:  return htons(ETH_P_RARP);
htons2372drivers/net/arcnet.ccase ARC_P_IPX:    return htons(ETH_P_IPX);
htons2373drivers/net/arcnet.ccase ARC_P_ATALK:   return htons(ETH_P_ATALK); /* untested appletalk */
htons2383drivers/net/arcnet.creturn htons(ETH_P_IP);
htons943drivers/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
htons570drivers/net/pi2.cskb->protocol=htons(ETH_P_AX25);
htons845drivers/net/plip.cif (eth->h_proto != htons(ETH_P_IP)) {
htons1158drivers/net/ppp.cskb->protocol=htons(ETH_P_IP);
htons711drivers/net/seeq8005.coutw( htons(length + 4), SEEQ_BUFFER);
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);
htons327drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
htons329drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
htons478drivers/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);
htons463drivers/scsi/eata.cconfig.len = (ushort) htons((ushort)510);
htons702drivers/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);
htons79net/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))) {
htons126net/appletalk/aarp.ceah->hw_type  =  htons(AARP_HW_TYPE_ETHERNET);
htons127net/appletalk/aarp.ceah->pa_type  =  htons(ETH_P_ATALK);
htons130net/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);
htons349net/appletalk/ddp.catif->address.s_net=htons(probe_net);
htons500net/appletalk/ddp.catrtr_default.gateway.s_net=htons(0);
htons744net/appletalk/ddp.cif(nr->nr_firstnet==htons(0) && nr->nr_lastnet==htons(0xFFFE)) {
htons757net/appletalk/ddp.csa->sat_addr.s_net=htons(ct);
htons912net/appletalk/ddp.creturn htons((unsigned short)sum);
htons1156net/appletalk/ddp.cif ( ap == NULL || ap->s_net == htons( ATADDR_ANYNET ))
htons1189net/appletalk/ddp.cif(addr->sat_addr.s_net==htons(ATADDR_ANYNET))
htons1984net/ax25/af_ax25.cax25_packet_type.type = htons(ETH_P_AX25);
htons1986net/ax25/af_ax25.cbpq_packet_type.type  = htons(ETH_P_BPQ);
htons138net/core/dev.cif(pt->type==htons(ETH_P_ALL))
htons160net/core/dev.cif(pt->type==htons(ETH_P_ALL))
htons98net/ethernet/eth.ceth->h_proto = htons(type);
htons100net/ethernet/eth.ceth->h_proto = htons(len);
htons146net/ethernet/eth.cif(eth->h_proto != htons(ETH_P_IP)) 
htons205net/ethernet/eth.creturn htons(ETH_P_802_3);
htons210net/ethernet/eth.creturn htons(ETH_P_802_2);
htons247net/ethernet/eth.cif(eth->h_proto!=htons(ETH_P_IP))
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);
htons595net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons604net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons613net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons621net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons677net/ipv4/arp.cif(arp->ar_op == htons(ARPOP_REPLY))
htons1410net/ipv4/arp.carp_packet_type.type=htons(ETH_P_ARP);
htons636net/ipv4/ip.ciph->tot_len = htons((iph->ihl * 4) + count);
htons985net/ipv4/ip.ciph->frag_off = htons((offset >> 3));
htons991net/ipv4/ip.ciph->frag_off |= htons(IP_MF);
htons1071net/ipv4/ip.ciph->check = htons(iph->check);
htons1462net/ipv4/ip.cif (iph->frag_off & htons(IP_MF))
htons1468net/ipv4/ip.cif (iph->frag_off & htons(IP_OFFSET))
htons1788net/ipv4/ip.ciph->id      = htons(ip_id_count++);
htons2488net/ipv4/ip.ciph->tot_len = htons(length);
htons2489net/ipv4/ip.ciph->id=htons(ip_id_count++);
htons2562net/ipv4/ip.cid = htons(ip_id_count++);
htons2637net/ipv4/ip.ciph->tot_len = htons(fraglen - fragheaderlen + iph->ihl*4);
htons2639net/ipv4/ip.ciph->frag_off = htons(offset>>3);
htons2658net/ipv4/ip.cmf = htons(IP_MF);
htons2797net/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++);
htons486net/ipv4/tcp.ciph->id = htons(ip_id_count++);
htons1449net/ipv4/tcp.cth->window = htons(sk->window);
htons5065net/ipv4/tcp.cth->urg_ptr = htons(urg_ptr);
htons5066net/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));
htons1649net/ipx/af_ipx.cif(htons(ipx->ipx_pktsize)<sizeof(ipx_packet)) {
htons1936net/ipx/af_ipx.cipx_dix_packet_type.type=htons(ETH_P_IPX);
htons1940net/ipx/af_ipx.cipx_8023_packet_type.type=htons(ETH_P_802_3);
htons63net/netrom/nr_dev.cskb->protocol = htons(ETH_P_IP);