Searched refs:tun_only (Results 1 – 2 of 2) sorted by relevance
14 int eth_iface_create(const char *dev_name, const char *if_name, bool tun_only);
41 int eth_iface_create(const char *dev_name, const char *if_name, bool tun_only) in eth_iface_create() argument54 ifr.ifr_flags = (tun_only ? IFF_TUN : IFF_TAP) | IFF_NO_PI; in eth_iface_create()