tag | line | file | source code |
htonl | 1144 | drivers/block/ide-cd.c | stl_u (htonl (frame), (unsigned int *) &pc.c[2]); |
htonl | 1146 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = htonl (frame); |
htonl | 1932 | drivers/block/ide-cd.c | stl_u(htonl (lba), (unsigned int *) &pc.c[2]); |
htonl | 1934 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = htonl (lba); |
htonl | 1301 | drivers/net/dgrs.c | dgrs_ipxnet = htonl( ipxnet ); |
htonl | 1301 | drivers/net/dgrs_driver.c | dgrs_ipxnet = htonl( ipxnet ); |
htonl | 551 | drivers/net/slhc.c | thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); |
htonl | 552 | drivers/net/slhc.c | thp->seq = htonl( ntohl(thp->seq) + i); |
htonl | 557 | drivers/net/slhc.c | thp->seq = htonl( ntohl(thp->seq) + |
htonl | 580 | drivers/net/slhc.c | thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); |
htonl | 586 | drivers/net/slhc.c | thp->seq = htonl( ntohl(thp->seq) + x); |
htonl | 1257 | drivers/net/tulip.c | htonl((*(int*)dev->dev_addr) & 0xFFFFFF))) |
htonl | 600 | drivers/scsi/eata.c | cpp->sglist[k].address = htonl((unsigned int) sgpnt[k].address); |
htonl | 601 | drivers/scsi/eata.c | cpp->sglist[k].num_bytes = htonl((unsigned int) sgpnt[k].length); |
htonl | 604 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) cpp->sglist); |
htonl | 605 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
htonl | 668 | drivers/scsi/eata.c | cpp->sp_addr = htonl((unsigned int) spp); |
htonl | 690 | drivers/scsi/eata.c | cpp->sense_addr = htonl((unsigned int) SCpnt->sense_buffer); |
htonl | 698 | drivers/scsi/eata.c | cpp->data_address = htonl((unsigned int) SCpnt->request_buffer); |
htonl | 699 | drivers/scsi/eata.c | cpp->data_len = htonl(SCpnt->request_bufflen); |
htonl | 537 | drivers/scsi/eata_dma.c | ccb->cp_dataDMA = htonl(virt_to_bus(ccb->sg_list)); |
htonl | 539 | drivers/scsi/eata_dma.c | ccb->cp_datalen = htonl(cmd->use_sg * sizeof(struct eata_sg_list)); |
htonl | 542 | drivers/scsi/eata_dma.c | ccb->sg_list[i].data = htonl(virt_to_bus(sl->address)); |
htonl | 543 | drivers/scsi/eata_dma.c | ccb->sg_list[i].len = htonl((u32) sl->length); |
htonl | 547 | drivers/scsi/eata_dma.c | ccb->cp_datalen = htonl(cmd->request_bufflen); |
htonl | 548 | drivers/scsi/eata_dma.c | ccb->cp_dataDMA = htonl(virt_to_bus(cmd->request_buffer)); |
htonl | 552 | drivers/scsi/eata_dma.c | ccb->cp_reqDMA = htonl(virt_to_bus(cmd->sense_buffer)); |
htonl | 562 | drivers/scsi/eata_dma.c | ccb->cp_statDMA = htonl(virt_to_bus(&(hd->sp))); |
htonl | 830 | drivers/scsi/eata_dma.c | blinkindicator = htonl(0x54504442); |
htonl | 869 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(56); |
htonl | 870 | drivers/scsi/eata_dma.c | cp->cp_dataDMA = htonl(virt_to_bus(buff)); |
htonl | 871 | drivers/scsi/eata_dma.c | cp->cp_statDMA = htonl(virt_to_bus(sp)); |
htonl | 949 | drivers/scsi/eata_dma.c | if (htonl(EATA_SIGNATURE) == buf->signature) { |
htonl | 349 | drivers/scsi/eata_pio.c | cp->cp_datalen = htonl((ulong)cmd->request_bufflen); |
htonl | 351 | drivers/scsi/eata_pio.c | cp->cp_reqDMA = htonl(0); |
htonl | 360 | drivers/scsi/eata_pio.c | cp->cp_statDMA = htonl(0); |
htonl | 554 | drivers/scsi/eata_pio.c | cp.cp_datalen = htonl(254); |
htonl | 555 | drivers/scsi/eata_pio.c | cp.cp_dataDMA = htonl(0); |
htonl | 617 | drivers/scsi/eata_pio.c | if (htonl(EATA_SIGNATURE) == buf->signature) { |
htonl | 700 | drivers/scsi/eata_pio.c | cplen =(htonl(gc->cplen )+1)/2, |
htonl | 43 | fs/affs/amigaffs.c | return htonl(dir_front->hashtable[i]); |
htonl | 95 | fs/affs/amigaffs.c | nextkey = htonl(((ULONG *)bh->b_data)[startoffset]); |
htonl | 153 | fs/affs/amigaffs.c | nextkey = htonl(((ULONG *)bh->b_data)[offset]); |
htonl | 183 | fs/affs/amigaffs.c | *ptype = htonl(((LONG *)data)[0]); |
htonl | 185 | fs/affs/amigaffs.c | *stype = htonl(((LONG *)data)[bsize - 1]); |
htonl | 190 | fs/affs/amigaffs.c | sum += htonl(*p++); |
htonl | 201 | fs/affs/amigaffs.c | ocs = htonl (((ULONG *)data)[cspos]); |
htonl | 203 | fs/affs/amigaffs.c | ((ULONG *)data)[cspos] = htonl(ocs); |
htonl | 220 | fs/affs/amigaffs.c | ds->ds_Days = htonl(days); |
htonl | 221 | fs/affs/amigaffs.c | ds->ds_Minute = htonl(minute); |
htonl | 222 | fs/affs/amigaffs.c | ds->ds_Tick = htonl(secs * 50); |
htonl | 78 | fs/affs/bitmap.c | ((ULONG *)bm->bm_bh->b_data)[0] = ntohl(htonl(((ULONG *)bm->bm_bh->b_data)[0]) - blk); |
htonl | 118 | fs/affs/bitmap.c | w = htonl(bm[i]); |
htonl | 145 | fs/affs/bitmap.c | w -= htonl(bm[i]); |
htonl | 146 | fs/affs/bitmap.c | bm[0] = ntohl(htonl(bm[0]) + w); |
htonl | 139 | fs/affs/dir.c | i = htonl(((struct dir_front *)dir_bh->b_data)->hashtable[hash_pos]); |
htonl | 157 | fs/affs/dir.c | i = htonl(FILE_END(fh_bh->b_data,inode)->hash_chain); |
htonl | 145 | fs/affs/file.c | key = htonl(FILE_END(bh->b_data,inode)->extension); |
htonl | 195 | fs/affs/file.c | j = htonl(((struct file_front *)bh->b_data)->block_count); |
htonl | 227 | fs/affs/file.c | key = htonl(FILE_END(bh->b_data,inode)->extension); |
htonl | 257 | fs/affs/file.c | key = htonl(AFFS_BLOCK(bh->b_data,inode,block)); |
htonl | 439 | fs/affs/file.c | ptype = htonl(((struct file_front *)bh->b_data)->primary_type); |
htonl | 440 | fs/affs/file.c | stype = htonl(FILE_END(bh->b_data,inode)->secondary_type); |
htonl | 457 | fs/affs/file.c | key = htonl(*keyp); |
htonl | 467 | fs/affs/file.c | key = htonl(*keyp); |
htonl | 469 | fs/affs/file.c | ((struct file_front *)bh->b_data)->block_count = htonl(first); |
htonl | 524 | fs/affs/file.c | ptype = htonl(((struct file_front *)bh->b_data)->primary_type); |
htonl | 525 | fs/affs/file.c | stype = htonl(FILE_END(bh->b_data,inode)->secondary_type); |
htonl | 543 | fs/affs/file.c | key = htonl(*keyp); |
htonl | 553 | fs/affs/file.c | key = htonl(*keyp); |
htonl | 555 | fs/affs/file.c | ((struct file_front *)bh->b_data)->block_count = htonl(first); |
htonl | 44 | fs/affs/inode.c | ROOT_END_S(sb->u.affs_sb.s_root_bh->b_data,sb)->bm_flag = htonl(1); |
htonl | 72 | fs/affs/inode.c | ROOT_END_S(sb->u.affs_sb.s_root_bh->b_data,sb)->bm_flag = htonl(clean); |
htonl | 362 | fs/affs/inode.c | chksum = htonl(*(ULONG *)bb->b_data); |
htonl | 460 | fs/affs/inode.c | bb = affs_bread(s->s_dev,htonl(bm[i]),s->s_blocksize); |
htonl | 465 | fs/affs/inode.c | mapidx, htonl(bm[i]), |
htonl | 497 | fs/affs/inode.c | key = htonl(bm[stype]); /* Next block of bitmap pointers */ |
htonl | 616 | fs/affs/inode.c | prot = (htonl(file_end->protect) & ~0x10) ^ FIBF_OWNER; |
htonl | 619 | fs/affs/inode.c | inode->u.affs_i.i_parent = htonl(file_end->parent); |
htonl | 657 | fs/affs/inode.c | switch (htonl(file_end->secondary_type)) { |
htonl | 662 | fs/affs/inode.c | if (htonl(file_end->secondary_type) == ST_USERDIR || |
htonl | 676 | fs/affs/inode.c | inode->u.affs_i.i_original = htonl(file_end->original); |
htonl | 682 | fs/affs/inode.c | inode->u.affs_i.i_original = htonl(file_end->original); |
htonl | 693 | fs/affs/inode.c | inode->i_size = htonl(file_end->byte_size); |
htonl | 702 | fs/affs/inode.c | = (htonl(file_end->created.ds_Days) * (24 * 60 * 60) + |
htonl | 703 | fs/affs/inode.c | htonl(file_end->created.ds_Minute) * 60 + |
htonl | 704 | fs/affs/inode.c | htonl(file_end->created.ds_Tick) / 50 + |
htonl | 740 | fs/affs/inode.c | if (file_end->secondary_type == htonl(ST_ROOT)) { |
htonl | 138 | fs/affs/namei.c | key = htonl(FILE_END(bh->b_data,dir)->hash_chain); |
htonl | 162 | fs/affs/namei.c | ino = htonl(FILE_END(bh->b_data,dir)->original); |
htonl | 628 | fs/affs/namei.c | htonl(FILE_END(old_bh->b_data,old_dir)->secondary_type)); |
htonl | 656 | fs/affs/namei.c | type = htonl(FILE_END(bh->b_data,inode)->secondary_type); |
htonl | 658 | fs/affs/namei.c | key = htonl(LINK_END(bh->b_data,inode)->original); |
htonl | 671 | fs/affs/namei.c | if ((key = htonl(FILE_END(bh->b_data,inode)->link_chain))) { |
htonl | 710 | fs/affs/namei.c | key = htonl(FILE_END(nbh->b_data,inode)->link_chain); |
htonl | 721 | fs/affs/namei.c | FILE_END(nbh->b_data,inode)->original = htonl(link_key); |
htonl | 569 | fs/ncpfs/ncplib_kernel.c | ncp_add_dword(server, htonl(offset)); |
htonl | 596 | fs/ncpfs/ncplib_kernel.c | ncp_add_dword(server, htonl(offset)); |
htonl | 105 | fs/ncpfs/sock.c | htonl(sender.sipx_network), |
htonl | 253 | fs/ncpfs/sock.c | htonl(sender.sipx_network), |
htonl | 377 | fs/ncpfs/sock.c | htonl(server->m.serv_addr.sipx_network), |
htonl | 535 | fs/nfs/nfsroot.c | sa.sin_addr.s_addr = htonl(addr); |
htonl | 555 | fs/nfs/nfsroot.c | sa.sin_addr.s_addr = htonl(addr); |
htonl | 1589 | fs/nfs/nfsroot.c | *p++ = htonl(program); |
htonl | 1590 | fs/nfs/nfsroot.c | *p++ = htonl(version); |
htonl | 1591 | fs/nfs/nfsroot.c | *p++ = htonl(IPPROTO_UDP); |
htonl | 1649 | fs/nfs/nfsroot.c | *p++ = htonl(len); |
htonl | 119 | fs/nfs/proc.c | *p++ = htonl(len); |
htonl | 150 | fs/nfs/proc.c | *p++ = htonl(len); |
htonl | 188 | fs/nfs/proc.c | *p++ = htonl(sattr->mode); |
htonl | 189 | fs/nfs/proc.c | *p++ = htonl(sattr->uid); |
htonl | 190 | fs/nfs/proc.c | *p++ = htonl(sattr->gid); |
htonl | 191 | fs/nfs/proc.c | *p++ = htonl(sattr->size); |
htonl | 192 | fs/nfs/proc.c | *p++ = htonl(sattr->atime.seconds); |
htonl | 193 | fs/nfs/proc.c | *p++ = htonl(sattr->atime.useconds); |
htonl | 194 | fs/nfs/proc.c | *p++ = htonl(sattr->mtime.seconds); |
htonl | 195 | fs/nfs/proc.c | *p++ = htonl(sattr->mtime.useconds); |
htonl | 387 | fs/nfs/proc.c | *p++ = htonl(offset); |
htonl | 388 | fs/nfs/proc.c | *p++ = htonl(count); |
htonl | 389 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
htonl | 433 | fs/nfs/proc.c | *p++ = htonl(offset); |
htonl | 434 | fs/nfs/proc.c | *p++ = htonl(count); |
htonl | 435 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
htonl | 509 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
htonl | 510 | fs/nfs/proc.c | *p++ = htonl(offset); |
htonl | 511 | fs/nfs/proc.c | *p++ = htonl(count); /* traditional, could be any value */ |
htonl | 819 | fs/nfs/proc.c | *p++ = htonl(cookie); |
htonl | 820 | fs/nfs/proc.c | *p++ = htonl(size); |
htonl | 910 | fs/nfs/proc.c | *p++ = htonl(++xid); |
htonl | 911 | fs/nfs/proc.c | *p++ = htonl(RPC_CALL); |
htonl | 912 | fs/nfs/proc.c | *p++ = htonl(RPC_VERSION); |
htonl | 913 | fs/nfs/proc.c | *p++ = htonl(program); |
htonl | 914 | fs/nfs/proc.c | *p++ = htonl(version); |
htonl | 915 | fs/nfs/proc.c | *p++ = htonl(procedure); |
htonl | 916 | fs/nfs/proc.c | *p++ = htonl(RPC_AUTH_UNIX); |
htonl | 918 | fs/nfs/proc.c | *p++ = htonl(CURRENT_TIME); /* traditional, could be anything */ |
htonl | 920 | fs/nfs/proc.c | *p++ = htonl(uid); |
htonl | 921 | fs/nfs/proc.c | *p++ = htonl(gid); |
htonl | 924 | fs/nfs/proc.c | *p++ = htonl(groups[i]); |
htonl | 925 | fs/nfs/proc.c | *p2 = htonl(i); |
htonl | 926 | fs/nfs/proc.c | *p1 = htonl((p - (p1 + 1)) << 2); |
htonl | 927 | fs/nfs/proc.c | *p++ = htonl(RPC_AUTH_NULL); |
htonl | 928 | fs/nfs/proc.c | *p++ = htonl(0); |
htonl | 288 | fs/nfs/rpcsock.c | if (ptr[1] != htonl(RPC_CALL) || ptr[2] != htonl(RPC_VERSION)) { |
htonl | 19 | include/asm-alpha/byteorder.h | extern unsigned long int htonl(unsigned long int); |
htonl | 24 | include/asm-i386/byteorder.h | extern unsigned long int htonl(unsigned long int); |
htonl | 24 | include/asm-mips/byteorder.h | extern unsigned long int htonl(unsigned long int); |
htonl | 20 | include/asm-ppc/byteorder.h | extern unsigned long int htonl(unsigned long int); |
htonl | 10 | include/linux/amigaffs.h | #define AFFS_GET_HASHENTRY(data,hashkey) htonl(((struct dir_front *)data)->hashtable[hashkey]) |
htonl | 71 | include/linux/igmp.h | #define IGMP_ALL_HOSTS htonl(0xE0000001L) |
htonl | 72 | include/linux/igmp.h | #define IGMP_ALL_ROUTER htonl(0xE0000002L) |
htonl | 73 | include/linux/igmp.h | #define IGMP_LOCAL_GROUP htonl(0xE0000000L) |
htonl | 74 | include/linux/igmp.h | #define IGMP_LOCAL_GROUP_MASK htonl(0xFFFFFF00L) |
htonl | 125 | include/linux/in.h | #define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000)) |
htonl | 126 | include/linux/in.h | #define MULTICAST(x) (((x) & htonl(0xf0000000)) == htonl(0xe0000000)) |
htonl | 914 | net/bridge/br.c | skb->h.eth->h_proto = htonl(0x8038); /* XXX verify */ |
htonl | 296 | net/ipv4/arp.c | #define HASH(paddr) (htonl(paddr) & (ARP_TABLE_SIZE - 1)) |
htonl | 58 | net/ipv4/devinet.c | return(htonl(IN_CLASSA_NET)); |
htonl | 60 | net/ipv4/devinet.c | return(htonl(IN_CLASSB_NET)); |
htonl | 62 | net/ipv4/devinet.c | return(htonl(IN_CLASSC_NET)); |
htonl | 94 | net/ipv4/devinet.c | addr == htonl(0x7FFFFFFFL)) |
htonl | 104 | net/ipv4/devinet.c | if ((addr & mask) == htonl(0x7F000000L)) |
htonl | 107 | net/ipv4/devinet.c | if ((addr & htonl(0x7F000000L)) == htonl(0x7F000000L)) |
htonl | 864 | net/ipv4/icmp.c | times[1] = htonl((tv.tv_sec % 86400) * 1000 + tv.tv_usec / 1000); |
htonl | 260 | net/ipv4/ip_forward.c | icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(dev2->mtu), dev); |
htonl | 473 | net/ipv4/ip_input.c | if(brd==IS_MULTICAST && (iph->daddr&htonl(0xFFFFFF00))!=htonl(0xE0000000)) |
htonl | 239 | net/ipv4/ip_masq_app.c | th->seq = htonl(seq + ms_seq->delta); |
htonl | 244 | net/ipv4/ip_masq_app.c | th->seq = htonl(seq + ms_seq->previous_delta); |
htonl | 272 | net/ipv4/ip_masq_app.c | th->ack_seq = htonl(ack_seq-ms_seq->delta); |
htonl | 277 | net/ipv4/ip_masq_app.c | th->ack_seq = htonl(ack_seq-ms_seq->previous_delta); |
htonl | 108 | net/ipv4/ip_masq_ftp.c | printk("protocol %d %lX:%X %X:%X\n", iph->protocol, htonl(from), htons(port), iph->daddr, 0); |
htonl | 112 | net/ipv4/ip_masq_ftp.c | htonl(from), htons(port), |
htonl | 120 | net/ipv4/ip_masq_ftp.c | htonl(from), htons(port), |
htonl | 169 | net/ipv4/ip_masq_irc.c | htonl(s_addr),htons(s_port), |
htonl | 54 | net/ipv4/ip_options.c | midtime = htonl((tv.tv_sec % 86400) * 1000 + tv.tv_usec / 1000); |
htonl | 427 | net/ipv4/ip_options.c | midtime = htonl((tv.tv_sec % 86400) * 1000 + tv.tv_usec / 1000); |
htonl | 509 | net/ipv4/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
htonl | 180 | net/ipv4/route.c | return htonl(~((1<<logmask)-1)); |
htonl | 829 | net/ipv4/tcp.c | th->seq = htonl(sk->write_seq); |
htonl | 830 | net/ipv4/tcp.c | th->ack_seq = htonl(sk->acked_seq); |
htonl | 1930 | net/ipv4/tcp.c | t1->seq = htonl(buff->seq); |
htonl | 185 | net/ipv4/tcp_output.c | th->ack_seq = htonl(sk->acked_seq); |
htonl | 352 | net/ipv4/tcp_output.c | th->ack_seq = htonl(sk->acked_seq); |
htonl | 500 | net/ipv4/tcp_output.c | th->ack_seq = htonl(sk->acked_seq); |
htonl | 625 | net/ipv4/tcp_output.c | t1->ack_seq = htonl(ntohl(th->seq)+1); |
htonl | 700 | net/ipv4/tcp_output.c | t1->seq = htonl(buff->seq); |
htonl | 701 | net/ipv4/tcp_output.c | t1->ack_seq = htonl(sk->acked_seq); |
htonl | 792 | net/ipv4/tcp_output.c | t1->ack_seq = htonl(newsk->acked_seq); |
htonl | 928 | net/ipv4/tcp_output.c | t1->seq = htonl(sk->sent_seq); |
htonl | 929 | net/ipv4/tcp_output.c | t1->ack_seq = htonl(sk->acked_seq); |
htonl | 1048 | net/ipv4/tcp_output.c | nth->ack_seq = htonl(sk->acked_seq); |
htonl | 1106 | net/ipv4/tcp_output.c | t1->seq = htonl(sk->sent_seq-1); |
htonl | 1108 | net/ipv4/tcp_output.c | t1->ack_seq = htonl(sk->acked_seq); |
htonl | 89 | net/ipv4/utils.c | return(htonl(l)); |
htonl | 760 | net/ipx/af_ipx.c | htonl(ipx->ipx_source.net), |
htonl | 1507 | net/ipx/af_ipx.c | htonl(s->protinfo.af_ipx.intrfc->if_netnum), |
htonl | 1517 | net/ipx/af_ipx.c | htonl(i->if_netnum), |
htonl | 1525 | net/ipx/af_ipx.c | htonl(s->protinfo.af_ipx.dest_addr.net), |