Home
last modified time | relevance | path

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

/openthread-3.4.0/src/posix/platform/
Dhdlc_interface.cpp134 , mSockFd(-1) in HdlcInterface()
148 VerifyOrExit(mSockFd == -1, error = OT_ERROR_ALREADY); in Init()
154 mSockFd = OpenFile(aRadioUrl); in Init()
155 VerifyOrExit(mSockFd != -1, error = OT_ERROR_INVALID_ARGS); in Init()
160 mSockFd = ForkPty(aRadioUrl); in Init()
161 VerifyOrExit(mSockFd != -1, error = OT_ERROR_INVALID_ARGS); in Init()
185 rval = read(mSockFd, buffer, sizeof(buffer)); in Read()
229 ssize_t rval = write(mSockFd, aFrame, aLength); in Write()
303 FD_SET(mSockFd, &read_fds); in WaitForFrame()
304 FD_SET(mSockFd, &error_fds); in WaitForFrame()
[all …]
Dhdlc_interface.hpp267 int mSockFd; member in ot::Posix::HdlcInterface