X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fstream.h;h=aa3fa9d48e69c182a54babba6f5cafc562341f3b;hb=77d14d9c7f9ce7245eff56aacd420646577892d0;hp=8ed0ff589327758e869501d48cedb8a4a8c2f968;hpb=8706009e555bb9fa04a5679e4be2c7c67506802b;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. */