netscope.h File Reference

Go to the source code of this file.

Defines

#define ISC_NETSCOPE_H   1

Functions

ISC_LANG_BEGINDECLS isc_result_t isc_netscope_pton (int af, char *scopename, void *addr, isc_uint32_t *zoneid)
 Convert a string of an IPv6 scope zone to zone index. If the conversion succeeds, 'zoneid' will store the index value.


Detailed Description

Definition in file netscope.h.


Define Documentation

#define ISC_NETSCOPE_H   1

Definition at line 21 of file netscope.h.


Function Documentation

ISC_LANG_BEGINDECLS isc_result_t isc_netscope_pton ( int  af,
char *  scopename,
void *  addr,
isc_uint32_t zoneid 
)

Convert a string of an IPv6 scope zone to zone index. If the conversion succeeds, 'zoneid' will store the index value.

XXXJT: when a standard interface for this purpose is defined, we should use it.

Returns:

Definition at line 33 of file netscope.c.

References AF_INET6, IN6_IS_ADDR_LINKLOCAL, ISC_R_FAILURE, ISC_R_SUCCESS, isc_string_touint64(), and zone.

Referenced by bind9_getaddresses(), and token_addr().


Generated on Tue Apr 28 17:41:15 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha