Home
last modified time | relevance | path

Searched refs:uplink_interface (Results 1 – 3 of 3) sorted by relevance

/external/android-clat/
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
447 uplink_interface = optarg; in main()
467 if(uplink_interface == NULL) { in main()
482 len = snprintf(tunnel.device4, sizeof(tunnel.device4), "%s%s", DEVICEPREFIX, uplink_interface); in main()
489 CLATD_VERSION, uplink_interface, in main()
510 configure_interface(uplink_interface, plat_prefix, &tunnel, net_id); in main()
512 update_clat_ipv6_address(&tunnel, uplink_interface); in main()
522 logmsg(ANDROID_LOG_INFO,"Shutting down clat on %s", uplink_interface); in main()
Dconfig.h42 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix,
Dconfig.c300 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix, in read_config() argument
319 Global_Clatd_Config.default_pdp_interface = strdup(uplink_interface); in read_config()