summaryrefslogtreecommitdiff
path: root/lib/rconn.h
diff options
context:
space:
mode:
authorMehak Mahajan <mmahajan@nicira.com>2012-03-10 15:58:10 -0800
committerMehak Mahajan <mmahajan@nicira.com>2012-03-23 18:13:08 -0700
commitf125905cdd3dc0339ad968c0a70128807884b400 (patch)
treeab389d41b625f2d9e5c820bdac80ec2df825ff8a /lib/rconn.h
parent11460e2316b88f0bd0ea0005d94338d800ea16bd (diff)
downloadopenvswitch-f125905cdd3dc0339ad968c0a70128807884b400.tar.gz
Allow configuring DSCP on controller and manager connections.
The changes allow the user to specify a separate dscp value for the controller connection and the manager connection. The value will take effect on resetting the connections. If no value is specified a default value of 192 is chosen for each of the connections. Feature #10074 Requested-by: Rajiv Ramanathan <rramanathan@nicira.com> Signed-off-by: Mehak Mahajan <mmahajan@nicira.com>
Diffstat (limited to 'lib/rconn.h')
-rw-r--r--lib/rconn.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rconn.h b/lib/rconn.h
index d0326e65a..eea054f37 100644
--- a/lib/rconn.h
+++ b/lib/rconn.h
@@ -37,8 +37,9 @@
struct vconn;
struct rconn_packet_counter;
-struct rconn *rconn_create(int inactivity_probe_interval, int max_backoff);
-
+struct rconn *rconn_create(int inactivity_probe_interval,
+ int max_backoff, uint8_t dscp);
+void rconn_set_dscp(struct rconn *rc, uint8_t dscp);
void rconn_set_max_backoff(struct rconn *, int max_backoff);
int rconn_get_max_backoff(const struct rconn *);
void rconn_set_probe_interval(struct rconn *, int inactivity_probe_interval);