Home
last modified time | relevance | path

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

/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dnet_handler.cpp32 listenFd.reset(::socket(AF_INET6, SOCK_STREAM, 0)); in open()
33 if (*listenFd < 0) in open()
36 (void)listenFd.release(); in open()
47 if (::bind(*listenFd, (struct sockaddr*)&listenAddr, sizeof(listenAddr)) < in open()
54 if (::listen(*listenFd, 1) < 0) in open()
65 listenFd.reset(); in close()
75 fds.fd = *listenFd; in copyFrom()
95 connFd.reset(::accept(*listenFd, nullptr, nullptr)); in copyFrom()
H A Dnet_handler.hpp22 NetDataHandler() : listenFd(std::nullopt), connFd(std::nullopt) {} in NetDataHandler()
40 Fd listenFd; member in ipmi_flash::NetDataHandler
/openbmc/bmcweb/http/
H A Dapp.hpp94 int listenFd = sd_listen_fds(0); in setupSocket() local
95 if (listenFd == 1) in setupSocket()