Searched refs:plat_prefix (Results 1 – 5 of 5) sorted by relevance
/external/android-clat/ |
D | config.c | 175 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()
|
D | clatd.c | 284 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()
|
D | dns64.h | 21 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix);
|
D | config.h | 42 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix,
|
D | dns64.c | 38 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix) { in plat_prefix() function
|