X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fstream.h;h=aa3fa9d48e69c182a54babba6f5cafc562341f3b;hb=2b13d312fc4d6e5eb1d0e3004fa523bb0c0ba544;hp=8ed0ff589327758e869501d48cedb8a4a8c2f968;hpb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;p=sliver-openvswitch.git diff --git a/lib/stream.h b/lib/stream.h index 8ed0ff589..aa3fa9d48 100644 --- a/lib/stream.h +++ b/lib/stream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011 Nicira, Inc. + * 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. */