Home
last modified time | relevance | path

Searched refs:plat_prefix (Results 1 – 5 of 5) sorted by relevance

/external/android-clat/
Dconfig.c175 status = plat_prefix(Global_Clatd_Config.plat_from_dns64_hostname,net_id,&tmp_ptr); in dns64_detection()
300 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix, in read_config() argument
337 if(plat_prefix) { // plat subnet is coming from the command line in read_config()
338 if(inet_pton(AF_INET6, plat_prefix, &Global_Clatd_Config.plat_subnet) <= 0) { in read_config()
339 logmsg(ANDROID_LOG_FATAL,"invalid IPv6 address specified for plat prefix: %s", plat_prefix); in read_config()
Dclatd.c284 void configure_interface(const char *uplink_interface, const char *plat_prefix, struct tun_data *tu… in configure_interface() argument
287 if(!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix, net_id)) { in configure_interface()
439 char *uplink_interface = NULL, *plat_prefix = NULL, *net_id_str = NULL, *mark_str = NULL; in main() local
450 plat_prefix = optarg; in main()
510 configure_interface(uplink_interface, plat_prefix, &tunnel, net_id); in main()
Ddns64.h21 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix);
Dconfig.h42 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix,
Ddns64.c38 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix) { in plat_prefix() function