mirror of
https://github.com/openvswitch/ovs
synced 2025-10-19 14:37:21 +00:00
netlink-socket: New function for draining the receive buffer.
This will be used in an upcoming patch. Reviewed by Justin Pettit.
This commit is contained in:
@@ -58,6 +58,8 @@ int nl_sock_recv(struct nl_sock *, struct ofpbuf **, bool wait);
|
||||
int nl_sock_transact(struct nl_sock *, const struct ofpbuf *request,
|
||||
struct ofpbuf **reply);
|
||||
|
||||
int nl_sock_drain(struct nl_sock *);
|
||||
|
||||
void nl_sock_wait(const struct nl_sock *, short int events);
|
||||
|
||||
/* Table dumping. */
|
||||
|
Reference in New Issue
Block a user