Defines | Enumerations | Functions
if2ip.h File Reference
#include "curl_setup.h"
Include dependency graph for if2ip.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define IPV6_SCOPE_GLOBAL   0 /* Global scope. */

Definition at line 27 of file if2ip.h.

#define IPV6_SCOPE_LINKLOCAL   1 /* Link-local scope. */

Definition at line 28 of file if2ip.h.

#define IPV6_SCOPE_NODELOCAL   3 /* Loopback. */

Definition at line 30 of file if2ip.h.

#define IPV6_SCOPE_SITELOCAL   2 /* Site-local scope (deprecated). */

Definition at line 29 of file if2ip.h.


Enumeration Type Documentation

Enumerator:
IF2IP_NOT_FOUND 
IF2IP_AF_NOT_SUPPORTED 
IF2IP_FOUND 

Definition at line 36 of file if2ip.h.


Function Documentation

if2ip_result_t Curl_if2ip ( int  af,
unsigned int  remote_scope,
unsigned int  remote_scope_id,
const char *  interf,
char *  buf,
int  buf_size 
)

Definition at line 259 of file if2ip.c.

bool Curl_if_is_interface_name ( const char *  interf)

Definition at line 252 of file if2ip.c.

unsigned int Curl_ipv6_scope ( const struct sockaddr *  sa)

Definition at line 64 of file if2ip.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08