Searched refs:uplink_interface (Results 1 – 3 of 3) sorted by relevance
/external/android-clat/ |
D | clatd.c | 256 void configure_interface(const char *uplink_interface, const char *plat_prefix, struct tun_data *tu… in configure_interface() argument 259 if(!read_config("/system/etc/clatd.conf", uplink_interface, plat_prefix)) { in configure_interface() 385 char *uplink_interface = NULL, *plat_prefix = NULL; in main() local 393 uplink_interface = optarg; in main() 406 if(uplink_interface == NULL) { in main() 411 logmsg(ANDROID_LOG_INFO, "Starting clat version %s on %s", CLATD_VERSION, uplink_interface); in main() 441 configure_interface(uplink_interface, plat_prefix, &tunnel); in main() 453 logmsg(ANDROID_LOG_INFO,"Shutting down clat on %s", uplink_interface); in main()
|
D | config.h | 42 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix);
|
D | config.c | 227 int read_config(const char *file, const char *uplink_interface, const char *plat_prefix) { in read_config() argument 244 …strncpy(Global_Clatd_Config.default_pdp_interface, uplink_interface, sizeof(Global_Clatd_Config.de… in read_config()
|