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
Initial implementation of sFlow.
[sliver-openvswitch.git]
/
ofproto
/
collectors.c
diff --git
a/ofproto/collectors.c
b/ofproto/collectors.c
index
f7cb1db
..
4589f32
100644
(file)
--- a/
ofproto/collectors.c
+++ b/
ofproto/collectors.c
@@
-121,3
+121,9
@@
collectors_send(const struct collectors *c, const void *payload, size_t n)
}
}
}
+
+int
+collectors_count(const struct collectors *c)
+{
+ return c->n_fds;
+}