文章目录
参考
https://mzhan017.blog.csdn.net/article/details/118163317
Linux Kernel的里定义
其实是和平台相关的一个定义:arch/x86/include/uapi/asm/byteorder.h
这个文件里有定义使用little_endian.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_BYTEORDER_H
#define _ASM_X86_BYTEORDER_H