Searched refs:isTap (Results 1 – 2 of 2) sorted by relevance
32 int init(const std::string& ifName, bool isTap);37 int init(bool isTap) { return init("", isTap); } in init() argument
51 int TunInterface::init(const std::string& ifName, bool isTap) { in init() argument83 flags = IFF_NO_PI | (isTap ? IFF_TAP : IFF_TUN); in init()