Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dport-tun.c124 const char *tunbase = "tun"; in sys_tun_open() local
131 tunbase = "tap"; in sys_tun_open()
137 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in sys_tun_open()
142 tunbase, tun); in sys_tun_open()
171 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d", tunbase, tun); in sys_tun_open()
/external/openssh/
Dmisc.c725 const char *tunbase = "tun"; in tun_open()
728 tunbase = "tap"; in tun_open()
732 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in tun_open()
737 tunbase, tun); in tun_open()
754 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d", tunbase, tun); in tun_open()