diff options
author | Mehak Mahajan <mmahajan@nicira.com> | 2012-03-10 15:58:10 -0800 |
---|---|---|
committer | Mehak Mahajan <mmahajan@nicira.com> | 2012-03-23 18:13:08 -0700 |
commit | f125905cdd3dc0339ad968c0a70128807884b400 (patch) | |
tree | ab389d41b625f2d9e5c820bdac80ec2df825ff8a /lib/vconn.h | |
parent | 11460e2316b88f0bd0ea0005d94338d800ea16bd (diff) |
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/vconn.h')
-rw-r--r-- | lib/vconn.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/vconn.h b/lib/vconn.h index 516e2d3a..59713275 100644 --- a/lib/vconn.h +++ b/lib/vconn.h @@ -33,7 +33,8 @@ void vconn_usage(bool active, bool passive, bool bootstrap); /* Active vconns: virtual connections to OpenFlow devices. */ int vconn_verify_name(const char *name); -int vconn_open(const char *name, int min_version, struct vconn **); +int vconn_open(const char *name, int min_version, + struct vconn **, uint8_t dscp); void vconn_close(struct vconn *); const char *vconn_get_name(const struct vconn *); ovs_be32 vconn_get_remote_ip(const struct vconn *); @@ -69,7 +70,7 @@ void vconn_send_wait(struct vconn *); /* Passive vconns: virtual listeners for incoming OpenFlow connections. */ int pvconn_verify_name(const char *name); -int pvconn_open(const char *name, struct pvconn **); +int pvconn_open(const char *name, struct pvconn **, uint8_t dscp); const char *pvconn_get_name(const struct pvconn *); void pvconn_close(struct pvconn *); int pvconn_accept(struct pvconn *, int min_version, struct vconn **); |