📄 byteorder.h
字号:
#ifndef _PCMCIA_BYTEORDER_H
#define _PCMCIA_BYTEORDER_H
#include <linux/version.h>
#include_next <asm/byteorder.h>
#ifndef le16_to_cpu
#define le16_to_cpu(x) (x)
#define le16_to_cpup(x) (*(x))
#define le32_to_cpu(x) (x)
#define le32_to_cpup(x) (*(x))
#define cpu_to_le16(x) (x)
#define cpu_to_le32(x) (x)
#define be16_to_cpu(x) ntohs(x)
#define be16_to_cpup(x) ntohs(*(x))
#define be32_to_cpu(x) ntohl(x)
#define be32_to_cpup(x) ntohl(*(x))
#define cpu_to_be16(x) htons(x)
#define cpu_to_be32(x) htonl(x)
#define cpu_to_le16s(x) do { } while (0)
#define cpu_to_le32s(x) do { } while (0)
#define le16_to_cpus(x) do { } while (0)
#define le32_to_cpus(x) do { } while (0)
#endif
#endif /* _PCMCIA_BYTEORDER_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -