Home
last modified time | relevance | path

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

/system/netd/tests/
Dtun_interface.cpp77 mIfName = ifName; in init()
78 if (mIfName.empty()) { in init()
79 mIfName = StringPrintf("netd%x", arc4random()); in init()
81 mIfName.resize(9); in init()
86 strlcpy(ifr.ifr_name, mIfName.c_str(), sizeof(ifr.ifr_name)); in init()
114 ifc_disable(mIfName.c_str()); in destroy()
140 if (ifc_add_address(mIfName.c_str(), addr.c_str(), prefixlen)) return -errno; in addAddress()
Dtun_interface.h35 const std::string& name() const { return mIfName; } in name()
45 std::string mIfName; variable