X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fstream.h;h=aa3fa9d48e69c182a54babba6f5cafc562341f3b;hb=2b13d312fc4d6e5eb1d0e3004fa523bb0c0ba544;hp=bd3901747ba28bc75fdde7b1a4fb204c69a95e42;hpb=f1936eb65178f796d26a8d265697af8c19dce8cd;p=sliver-openvswitch.git diff --git a/lib/stream.h b/lib/stream.h index bd3901747..aa3fa9d48 100644 --- a/lib/stream.h +++ b/lib/stream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2009, 2010, 2011, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -65,6 +65,9 @@ void pstream_close(struct pstream *); int pstream_accept(struct pstream *, struct stream **); int pstream_accept_block(struct pstream *, struct stream **); void pstream_wait(struct pstream *); +int pstream_set_dscp(struct pstream *, uint8_t dscp); + +ovs_be16 pstream_get_bound_port(const struct pstream *); /* Convenience functions. */