Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dport-net.c213 const char *tunbase = "tun"; in sys_tun_open() local
223 tunbase = "tap"; in sys_tun_open()
229 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in sys_tun_open()
234 tunbase, tun); in sys_tun_open()
263 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d", tunbase, tun); in sys_tun_open()
/external/openssh/
Dmisc.c1136 const char *tunbase = "tun"; in tun_open()
1142 tunbase = "tap"; in tun_open()
1146 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in tun_open()
1151 tunbase, tun); in tun_open()
1168 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d", tunbase, tun); in tun_open()