X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fstream-provider.h;h=43c63e81beafdc671a95ca2c137eab5c94da9563;hb=bbb8dee92d639331e8bd81823638267dcc895396;hp=1db3735491d98e18b9b12d884f2afd9f081fe38f;hpb=cb22974d773942d66da42b700b8bca0db27a0920;p=sliver-openvswitch.git diff --git a/lib/stream-provider.h b/lib/stream-provider.h index 1db373549..43c63e81b 100644 --- a/lib/stream-provider.h +++ b/lib/stream-provider.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2012 Nicira, Inc. + * Copyright (c) 2009, 2010, 2012, 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. @@ -139,9 +139,11 @@ struct stream_class { struct pstream { const struct pstream_class *class; char *name; + ovs_be16 bound_port; }; void pstream_init(struct pstream *, const struct pstream_class *, const char *name); +void pstream_set_bound_port(struct pstream *, ovs_be16 bound_port); static inline void pstream_assert_class(const struct pstream *pstream, const struct pstream_class *class) {