It will be used later for dynamic dscp change to listening socket.
Signed-off-by: Isaku Yamahata <[email protected]>
---
lib/socket-util.c | 2 +-
lib/socket-util.h | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lib/socket-util.c b/lib/socket-util.c
index 7c40ab8..e32c03d 100644
--- a/lib/socket-util.c
+++ b/lib/socket-util.c
@@ -92,7 +92,7 @@ xset_nonblocking(int fd)
}
}
-static int
+int
set_dscp(int fd, uint8_t dscp)
{
int val;
diff --git a/lib/socket-util.h b/lib/socket-util.h
index a0e7970..bacb236 100644
--- a/lib/socket-util.h
+++ b/lib/socket-util.h
@@ -27,6 +27,7 @@
int set_nonblocking(int fd);
void xset_nonblocking(int fd);
+int set_dscp(int fd, uint8_t dscp);
int get_max_fds(void);
--
1.7.1.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev