Home
last modified time | relevance | path

Searched refs:device4 (Results 1 – 2 of 2) sorted by relevance

/external/android-clat/
Dclatd.c142 status = add_address(tunnel->device4, AF_INET, &Global_Clatd_Config.ipv4_local_subnet, in configure_tun_ip()
151 logmsg(ANDROID_LOG_INFO, "Using IPv4 address %s on %s", addrstr, tunnel->device4); in configure_tun_ip()
153 if((status = if_up(tunnel->device4, Global_Clatd_Config.ipv4mtu)) < 0) { in configure_tun_ip()
311 error = tun_alloc(tunnel->device4, tunnel->fd4); in configure_interface()
482 len = snprintf(tunnel.device4, sizeof(tunnel.device4), "%s%s", DEVICEPREFIX, uplink_interface); in main()
483 if (len >= sizeof(tunnel.device4)) { in main()
484 logmsg(ANDROID_LOG_FATAL, "interface name too long '%s'", tunnel.device4); in main()
Dtun.h27 char device4[IFNAMSIZ]; member