taglinefilesource code
htons141drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
htons160drivers/net/3c509.cphys_addr[i] = htons(read_eeprom(ioaddr, i));
htons204drivers/net/3c509.cphys_addr[i] = htons(id_read_eeprom(i));
htons2922drivers/net/arcnet.ccase ARC_P_IP:    return htons(ETH_P_IP);
htons2923drivers/net/arcnet.ccase ARC_P_ARP:    return htons(ETH_P_ARP);
htons2924drivers/net/arcnet.ccase ARC_P_RARP:  return htons(ETH_P_RARP);
htons2925drivers/net/arcnet.ccase ARC_P_IPX:    return htons(ETH_P_IPX);
htons2926drivers/net/arcnet.ccase ARC_P_ATALK:   return htons(ETH_P_ATALK); /* untested appletalk */
htons2936drivers/net/arcnet.creturn htons(ETH_P_IP);
htons2966drivers/net/arcnet.ccase ARC_P_IP_RFC1051:  return htons(ETH_P_IP);
htons2967drivers/net/arcnet.ccase ARC_P_ARP_RFC1051:  return htons(ETH_P_ARP);
htons2976drivers/net/arcnet.creturn htons(ETH_P_IP);
htons978drivers/net/de620.cif (!clone && (wrd != htons(0x0080))) /* Valid D-Link ether sequence? */
htons992drivers/net/ibmtr.copen_sap->max_i_field=htons(MAX_I_FIELD);
htons1019drivers/net/ibmtr.copen_adapter->open_options=htons(OPEN_PASS_BCON_MAC);
htons1020drivers/net/ibmtr.copen_adapter->num_rcv_buf=htons(NUM_RCV_BUF);
htons1021drivers/net/ibmtr.copen_adapter->rcv_buf_len=htons(RCV_BUF_LEN);
htons1022drivers/net/ibmtr.copen_adapter->dhb_length=htons(DHB_LENGTH);
htons1069drivers/net/ibmtr.cxmit_resp->frame_length=htons(0x11);
htons1114drivers/net/ibmtr.cxmit_resp->frame_length=htons(ti->current_skb->len
htons569drivers/net/pi2.cskb->protocol=htons(ETH_P_AX25);
htons867drivers/net/plip.cif (eth->h_proto != htons(ETH_P_IP)) {
htons1293drivers/net/ppp.creturn ppp_rcv_rx (ppp, htons (ETH_P_IP), data, count);
htons1308drivers/net/ppp.creturn ppp_rcv_rx (ppp, htons (ETH_P_IPX), data, count);
htons3166drivers/net/ppp.ccase htons (ETH_P_IPX):
htons3170drivers/net/ppp.ccase htons (ETH_P_IP):
htons3255drivers/net/ppp.ccase htons (ETH_P_IP):
htons3256drivers/net/ppp.ccase htons (ETH_P_IPX):
htons3277drivers/net/ppp.creturn (htons (ETH_P_IP));
htons708drivers/net/seeq8005.coutw( htons(length + 4), SEEQ_BUFFER);
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);
htons386drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
htons388drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
htons537drivers/net/slip.cif (sl->mode & SL_MODE_AX25 && type != htons(ETH_P_AX25))  {
htons234drivers/net/tunnel.ciph->tot_len = htons(skb2->len);
htons469drivers/scsi/eata.cconfig.len = (ushort) htons((ushort)510);
htons695drivers/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))
htons2117net/ax25/af_ax25.cax25_packet_type.type = htons(ETH_P_AX25);
htons2119net/ax25/af_ax25.cbpq_packet_type.type  = htons(ETH_P_BPQ);
htons142net/core/dev.cif(pt->type==htons(ETH_P_ALL))
htons164net/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))
htons378net/ipv4/arp.carp->ar_hrd = htons(dev->type);
htons381net/ipv4/arp.carp->ar_pro = (dev->type == ARPHRD_AX25 || dev->type == ARPHRD_NETROM) ? htons(AX25_P_IP) : htons(ETH_P_IP);
htons383net/ipv4/arp.carp->ar_pro = (dev->type != ARPHRD_AX25)? htons(ETH_P_IP) : htons(AX25_P_IP);
htons386net/ipv4/arp.carp->ar_pro = htons(ETH_P_IP);
htons390net/ipv4/arp.carp->ar_op = htons(type);
htons643net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons652net/ipv4/arp.cif(arp->ar_pro != htons(AX25_P_IP))
htons661net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons669net/ipv4/arp.cif(arp->ar_pro != htons(ETH_P_IP))
htons724net/ipv4/arp.cif(arp->ar_op == htons(ARPOP_REQUEST))
htons1453net/ipv4/arp.carp_packet_type.type=htons(ETH_P_ARP);
htons287net/ipv4/icmp.cif(iph->frag_off&htons(IP_OFFSET))
htons60net/ipv4/ip_forward.ciph->tot_len  =  htons(skb->len);
htons61net/ipv4/ip_forward.ciph->id    =  htons(ip_id_count++);
htons144net/ipv4/ip_forward.ciph->check = htons(iph->check);
htons397net/ipv4/ip_fragment.ciph->tot_len = htons((iph->ihl * 4) + count);
htons761net/ipv4/ip_fragment.ciph->frag_off = htons((offset >> 3));
htons778net/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))
htons363net/ipv4/ip_output.ciph->id      = htons(ip_id_count++);
htons711net/ipv4/ip_output.ciph->tot_len = htons(length);
htons712net/ipv4/ip_output.ciph->id=htons(ip_id_count++);
htons813net/ipv4/ip_output.cid = htons(ip_id_count++);
htons894net/ipv4/ip_output.ciph->tot_len = htons(fraglen - fragheaderlen + iph->ihl*4);
htons896net/ipv4/ip_output.ciph->frag_off = htons(offset>>3);
htons915net/ipv4/ip_output.cmf = htons(IP_MF);
htons1113net/ipv4/ip_output.cip_packet_type.type=htons(ETH_P_IP);
htons278net/ipv4/ipmr.cskb->ip_hdr->tot_len=htons(skb->len);      /* Fix the length */
htons182net/ipv4/rarp.crarp_packet_type.type=htons(ETH_P_RARP);
htons218net/ipv4/rarp.cif (rarp->ar_op != htons(ARPOP_RREQUEST))
htons230net/ipv4/rarp.c(rarp->ar_pro != htons(AX25_P_IP) && dev->type == ARPHRD_AX25) ||
htons232net/ipv4/rarp.c(rarp->ar_pro != htons(ETH_P_IP) && dev->type != ARPHRD_AX25)
htons169net/ipv4/raw.ciph->tot_len=htons(fraglen);  /* This is right as you cant frag
htons175net/ipv4/raw.ciph->id = htons(ip_id_count++);
htons677net/ipv4/tcp.ciph->id = htons(ip_id_count++);
htons1639net/ipv4/tcp.cth->window = htons(sk->window);
htons5293net/ipv4/tcp.cth->urg_ptr = htons(urg_ptr);
htons5294net/ipv4/tcp.cnth->urg_ptr = htons(win_size);
htons307net/ipv4/udp.cufh.uh.len = htons(ulen);
htons310net/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)) {
htons1970net/ipx/af_ipx.cipx_dix_packet_type.type=htons(ETH_P_IPX);
htons1974net/ipx/af_ipx.cipx_8023_packet_type.type=htons(ETH_P_802_3);
htons64net/netrom/nr_dev.cskb->protocol = htons(ETH_P_IP);