Messages in this thread | | | Date | Thu, 15 Apr 2004 09:08:40 +0100 (BST) | From | Anton Altaparmakov <> | Subject | Re: LDM code query |
| |
On Thu, 15 Apr 2004, Nasir Hossain wrote: > can someone tell me what this macro does : > > __be64_to_cpu() > __be32_to_cpu() > __be16_to_cpu() > > something to do with big endian (i guess). > > found this while going thru the ldmutil (LDM) code.
You guess correctly. These macros convert big endian numbers to cpu format, just like the __leXX_to_cpu() convert little endian to cpu format.
Best regards,
Anton -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |