projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netlink-socket: New function for draining the receive buffer.
[openvswitch]
/
lib
/
netlink-socket.h
diff --git
a/lib/netlink-socket.h
b/lib/netlink-socket.h
index ad06d8118e8e94d8b7172d39e66ebbb9f3292dd9..6ed488050e9d0f10c40909769cb73806a7df0af0 100644
(file)
--- a/
lib/netlink-socket.h
+++ b/
lib/netlink-socket.h
@@
-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. */