X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvconn-stream.c;h=d707e063c302364bd33305e8946b9c9881ee90e9;hb=99b671839071cbf1c2a68d2c8e9403717d3a1556;hp=a9890b594b30231c0f739df8982f29a1deb8f660;hpb=12d685891c72d6009f0303edb94b3b6fabcd6228;p=sliver-openvswitch.git diff --git a/lib/vconn-stream.c b/lib/vconn-stream.c index a9890b594..d707e063c 100644 --- a/lib/vconn-stream.c +++ b/lib/vconn-stream.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,13 +78,13 @@ vconn_stream_new(struct stream *stream, int connect_status) * Returns 0 if successful, otherwise a positive errno value. */ static int vconn_stream_open(const char *name, char *suffix OVS_UNUSED, - struct vconn **vconnp) + struct vconn **vconnp, uint8_t dscp) { struct stream *stream; int error; error = stream_open_with_default_ports(name, OFP_TCP_PORT, OFP_SSL_PORT, - &stream); + &stream, dscp); if (!error) { error = stream_connect(stream); if (!error || error == EAGAIN) { @@ -311,14 +311,14 @@ pvconn_pstream_cast(struct pvconn *pvconn) * implementation never fails.) */ static int pvconn_pstream_listen(const char *name, char *suffix OVS_UNUSED, - struct pvconn **pvconnp) + struct pvconn **pvconnp, uint8_t dscp) { struct pvconn_pstream *ps; struct pstream *pstream; int error; error = pstream_open_with_default_ports(name, OFP_TCP_PORT, OFP_SSL_PORT, - &pstream); + &pstream, dscp); if (error) { return error; }