#include "curl_setup.h"
Go to the source code of this file.
Defines | |
#define | IPV6_SCOPE_GLOBAL 0 /* Global scope. */ |
#define | IPV6_SCOPE_LINKLOCAL 1 /* Link-local scope. */ |
#define | IPV6_SCOPE_NODELOCAL 3 /* Loopback. */ |
#define | IPV6_SCOPE_SITELOCAL 2 /* Site-local scope (deprecated). */ |
Enumerations | |
enum | if2ip_result_t { IF2IP_NOT_FOUND = 0, IF2IP_AF_NOT_SUPPORTED = 1, IF2IP_FOUND = 2 } |
Functions | |
if2ip_result_t | Curl_if2ip (int af, unsigned int remote_scope, unsigned int remote_scope_id, const char *interf, char *buf, int buf_size) |
bool | Curl_if_is_interface_name (const char *interf) |
unsigned int | Curl_ipv6_scope (const struct sockaddr *sa) |
#define IPV6_SCOPE_GLOBAL 0 /* Global scope. */ |
#define IPV6_SCOPE_LINKLOCAL 1 /* Link-local scope. */ |
#define IPV6_SCOPE_NODELOCAL 3 /* Loopback. */ |
#define IPV6_SCOPE_SITELOCAL 2 /* Site-local scope (deprecated). */ |
enum if2ip_result_t |
if2ip_result_t Curl_if2ip | ( | int | af, |
unsigned int | remote_scope, | ||
unsigned int | remote_scope_id, | ||
const char * | interf, | ||
char * | buf, | ||
int | buf_size | ||
) |
bool Curl_if_is_interface_name | ( | const char * | interf | ) |
unsigned int Curl_ipv6_scope | ( | const struct sockaddr * | sa | ) |