Macros | |
#define | IN6PTON_XDIGIT 0x00010000 |
#define | IN6PTON_DIGIT 0x00020000 |
#define | IN6PTON_COLON_MASK 0x00700000 |
#define | IN6PTON_COLON_1 0x00100000 /* single : requested */ |
#define | IN6PTON_COLON_2 0x00200000 /* second : requested */ |
#define | IN6PTON_COLON_1_2 0x00400000 /* :: requested */ |
#define | IN6PTON_DOT 0x00800000 /* . */ |
#define | IN6PTON_DELIM 0x10000000 |
#define | IN6PTON_NULL 0x20000000 /* first/tail */ |
#define | IN6PTON_UNKNOWN 0x40000000 |
Functions | |
int | in4_pton (const char *src, int srclen, uint8_t *dst, int delim, const char **end) |
int | in6_pton (const char *src, int srclen, uint8_t *dst, int delim, const char **end) |
#define IN6PTON_COLON_1 0x00100000 /* single : requested */ |
Referenced by in6_pton().
#define IN6PTON_COLON_1_2 0x00400000 /* :: requested */ |
Referenced by in6_pton().
#define IN6PTON_COLON_2 0x00200000 /* second : requested */ |
Referenced by in6_pton().
#define IN6PTON_COLON_MASK 0x00700000 |
Referenced by in4_pton(), and in6_pton().
#define IN6PTON_DELIM 0x10000000 |
Referenced by in4_pton(), and in6_pton().
#define IN6PTON_DIGIT 0x00020000 |
Referenced by in4_pton().
#define IN6PTON_DOT 0x00800000 /* . */ |
Referenced by in4_pton(), and in6_pton().
#define IN6PTON_NULL 0x20000000 /* first/tail */ |
Referenced by in6_pton().
#define IN6PTON_UNKNOWN 0x40000000 |
#define IN6PTON_XDIGIT 0x00010000 |
Referenced by in6_pton().
int in4_pton | ( | const char * | src, |
int | srclen, | ||
uint8_t * | dst, | ||
int | delim, | ||
const char ** | end | ||
) |
References IN6PTON_COLON_MASK, IN6PTON_DELIM, IN6PTON_DIGIT, IN6PTON_DOT, and s.
Referenced by in6_pton().
int in6_pton | ( | const char * | src, |
int | srclen, | ||
uint8_t * | dst, | ||
int | delim, | ||
const char ** | end | ||
) |
References in4_pton(), IN6PTON_COLON_1, IN6PTON_COLON_1_2, IN6PTON_COLON_2, IN6PTON_COLON_MASK, IN6PTON_DELIM, IN6PTON_DOT, IN6PTON_NULL, IN6PTON_XDIGIT, NULL, s, and state.