Home
last modified time | relevance | path

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

/openbmc/phosphor-networkd/test/
H A Dmock_syscall.cpp29 std::map<int, std::queue<std::string>> mock_rtnetlinks; variable
37 mock_rtnetlinks.clear(); in mock_clear()
210 mock_rtnetlinks[fd] = {}; in socket()
217 auto it = mock_rtnetlinks.find(fd); in close()
218 if (it != mock_rtnetlinks.end()) in close()
220 mock_rtnetlinks.erase(it); in close()
230 auto it = mock_rtnetlinks.find(sockfd); in sendmsg()
231 if (it == mock_rtnetlinks.end()) in sendmsg()
268 auto it = mock_rtnetlinks.find(sockfd); in recvmsg()
269 if (it == mock_rtnetlinks.end()) in recvmsg()