OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:uplink_interface
(Results
1 - 3
of
3
) sorted by null
/external/android-clat/
config.h
42
int read_config(const char *file, const char *
uplink_interface
, const char *plat_prefix);
clatd.c
252
*
uplink_interface
- network interface to use to reach the ipv6 internet
256
void configure_interface(const char *
uplink_interface
, const char *plat_prefix, struct tun_data *tunnel) {
259
if(!read_config("/system/etc/clatd.conf",
uplink_interface
, plat_prefix)) {
385
char *
uplink_interface
= NULL, *plat_prefix = NULL;
local
393
uplink_interface
= optarg;
406
if(
uplink_interface
== NULL) {
411
logmsg(ANDROID_LOG_INFO, "Starting clat version %s on %s", CLATD_VERSION,
uplink_interface
);
441
configure_interface(
uplink_interface
, plat_prefix, &tunnel);
453
logmsg(ANDROID_LOG_INFO,"Shutting down clat on %s",
uplink_interface
);
config.c
224
*
uplink_interface
- interface to use to reach the internet and supplier of address space
227
int read_config(const char *file, const char *
uplink_interface
, const char *plat_prefix) {
244
strncpy(Global_Clatd_Config.default_pdp_interface,
uplink_interface
, sizeof(Global_Clatd_Config.default_pdp_interface));
Completed in 358 milliseconds