OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:plat_prefix
(Results
1 - 5
of
5
) sorted by null
/external/android-clat/
dns64.c
32
/* function:
plat_prefix
38
int
plat_prefix
(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix) {
function
51
logmsg(ANDROID_LOG_ERROR, "
plat_prefix
/dns(%s) status = %d/%s",
61
logmsg(ANDROID_LOG_WARN, "
plat_prefix
/unexpected address family: %d", result->ai_family);
dns64.h
21
int
plat_prefix
(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix);
config.h
41
int read_config(const char *file, const char *uplink_interface, const char *
plat_prefix
,
clatd.c
319
*
plat_prefix
- PLAT prefix to use
323
void configure_interface(const char *uplink_interface, const char *
plat_prefix
, struct tun_data *tunnel, unsigned net_id) {
326
if(!read_config("/system/etc/clatd.conf", uplink_interface,
plat_prefix
, net_id)) {
479
char *uplink_interface = NULL, *
plat_prefix
= NULL, *net_id_str = NULL, *mark_str = NULL;
local
490
plat_prefix
= optarg;
550
configure_interface(uplink_interface,
plat_prefix
, &tunnel, net_id);
config.c
175
status =
plat_prefix
(Global_Clatd_Config.plat_from_dns64_hostname,net_id,&tmp_ptr);
297
*
plat_prefix
- (optional) plat prefix to use, otherwise follow config file
300
int read_config(const char *file, const char *uplink_interface, const char *
plat_prefix
,
337
if(
plat_prefix
) { // plat subnet is coming from the command line
338
if(inet_pton(AF_INET6,
plat_prefix
, &Global_Clatd_Config.plat_subnet) <= 0) {
339
logmsg(ANDROID_LOG_FATAL,"invalid IPv6 address specified for plat prefix: %s",
plat_prefix
);
Completed in 2273 milliseconds