Home
last modified time | relevance | path

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

/openbmc/phosphor-networkd/test/
H A Dmock_syscall.cpp33 std::map<std::string, InterfaceInfo> mock_if; variable
38 mock_if.clear(); in mock_clear()
47 for (const auto& [_, iinfo] : mock_if) in mock_addIF()
54 mock_if.emplace(info.name.value(), info); in mock_addIF()
99 for (const auto& [name, i] : mock_if) in sendmsg_link_dump()
167 auto it = mock_if.find(req->ifr_name); in ioctl()
168 if (it == mock_if.end()) in ioctl()
178 auto it = mock_if.find(req->ifr_name); in ioctl()
179 if (it == mock_if.end()) in ioctl()