git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netlink: Expose method to get Netlink pid of a socket.
[sliver-openvswitch.git]
/
lib
/
netlink-socket.h
diff --git
a/lib/netlink-socket.h
b/lib/netlink-socket.h
index
3ea790c
..
ff24858
100644
(file)
--- a/
lib/netlink-socket.h
+++ b/
lib/netlink-socket.h
@@
-60,6
+60,8
@@
int nl_sock_drain(struct nl_sock *);
void nl_sock_wait(const struct nl_sock *, short int events);
+uint32_t nl_sock_pid(const struct nl_sock *);
+
/* Table dumping. */
struct nl_dump {
struct nl_sock *sock; /* Socket being dumped. */