recvoob receives only OOB message from the socket This is used for TX timestamp read of MSG_ERRQUEUE where we couldn't care less about other data. This is partially based on Recvmsg https://github.com/golang/go/blob/2ebe77a2fda1ee9ff6fd9a3e08933ad1ebaea039/src/syscall/syscall_linux.go#L647
(connFd int, oob []byte)
| 250 | n, err := poll(fds, &timeout, nil) |
| 251 | if errors.Is(err, syscall.EINTR) { |
| 252 | continue |
| 253 | } |
| 254 | if err != nil { |
| 255 | return err |
| 256 | } |
| 257 | if n == 0 { |
| 258 | return syscall.ETIMEDOUT |
| 259 | } |
| 260 | return nil |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | // recvoob receives only OOB message from the socket |
| 265 | // This is used for TX timestamp read of MSG_ERRQUEUE where we couldn't care less about other data. |
| 266 | // This is partially based on Recvmsg |
no outgoing calls
no test coverage detected
searching dependent graphs…