Searched refs:plat_prefix (Results 1 – 7 of 7) sorted by relevance
/external/android-clat/ |
D | main.c | 58 char *uplink_interface = NULL, *plat_prefix = NULL, *net_id_str = NULL, *mark_str = NULL; in main() local 70 plat_prefix = optarg; in main() 128 mark_str ? mark_str : "(none)", plat_prefix ? plat_prefix : "(none)", in main() 145 configure_interface(uplink_interface, plat_prefix, v4_addr, v6_addr, &tunnel, net_id); in main()
|
D | config.c | 183 status = plat_prefix(Global_Clatd_Config.plat_from_dns64_hostname, net_id, &tmp_ptr); in dns64_detection() 309 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix, in read_config() argument 343 if (plat_prefix) { // plat subnet is coming from the command line in read_config() 344 if (inet_pton(AF_INET6, plat_prefix, &Global_Clatd_Config.plat_subnet) <= 0) { in read_config() 345 logmsg(ANDROID_LOG_FATAL, "invalid IPv6 address specified for plat prefix: %s", plat_prefix); in read_config()
|
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 | clatd.h | 46 void configure_interface(const char *uplink_interface, const char *plat_prefix, const char *v4_addr,
|
D | dns64.c | 40 int plat_prefix(const char *ipv4_name, unsigned net_id, struct in6_addr *prefix) { in plat_prefix() function
|
D | clatd.c | 356 void configure_interface(const char *uplink_interface, const char *plat_prefix, const char *v4_addr, in configure_interface() argument 359 if (!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix, net_id)) { in configure_interface()
|