* Check that the kernel sends an appropriate ACK in response * to an tap_nl_send(). * * @param[in] nlsk_fd * The netlink socket file descriptor used for communication. * * @return * 0 on success, -1 otherwise with errno set. */
| 214 | * 0 on success, -1 otherwise with errno set. |
| 215 | */ |
| 216 | int |
| 217 | tap_nl_recv_ack(int nlsk_fd) |
| 218 | { |
| 219 | return tap_nl_recv(nlsk_fd, NULL, NULL); |
| 220 | } |
| 221 | |
| 222 | /** |
| 223 | * Receive a message from the kernel on the netlink socket, following an |
no test coverage detected