big_bswap.h

来自「linux下从网卡远程启动」· C头文件 代码 · 共 18 行

H
18
字号
#ifndef ETHERBOOT_BIG_BSWAP_H#define ETHERBOOT_BIG_BSWAP_H#define ntohl(x) 	(x)#define htonl(x) 	(x)#define ntohs(x) 	(x)#define htons(x) 	(x)#define cpu_to_le32(x)	__bswap_32(x)#define cpu_to_le16(x)	__bswap_16(x)#define cpu_to_be32(x)	(x)#define cpu_to_be16(x)	(x)#define le32_to_cpu(x)	__bswap_32(x)#define le16_to_cpu(x)	__bswap_16(x)#define be32_to_cpu(x)	(x)#define be16_to_cpu(x)	(x)#endif /* ETHERBOOT_BIG_BSWAP_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?