|
XenevaOS
|
#include <linux/types.h>
Go to the source code of this file.
Macros | |
| #define | hex_asc_lo(x) hex_asc[((x) & 0x0f)] |
| #define | hex_asc_hi(x) hex_asc[((x) & 0xf0) >> 4] |
| #define | hex_asc_upper_lo(x) hex_asc_upper[((x) & 0x0f)] |
| #define | hex_asc_upper_hi(x) hex_asc_upper[((x) & 0xf0) >> 4] |
Functions | |
| int | hex_to_bin (unsigned char ch) |
| int __must_check | hex2bin (u8 *dst, const char *src, size_t count) |
| char * | bin2hex (char *dst, const void *src, size_t count) |
| bool | mac_pton (const char *s, u8 *mac) |
Variables | |
| const char | hex_asc [] |
| const char | hex_asc_upper [] |
| #define hex_asc_hi | ( | x | ) | hex_asc[((x) & 0xf0) >> 4] |
| #define hex_asc_lo | ( | x | ) | hex_asc[((x) & 0x0f)] |
| #define hex_asc_upper_hi | ( | x | ) | hex_asc_upper[((x) & 0xf0) >> 4] |
| #define hex_asc_upper_lo | ( | x | ) | hex_asc_upper[((x) & 0x0f)] |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |