X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstream.h;h=d2f2ebb75bba2fb3c34b92c80db1de2b981b7123;hb=3e34fbdd62bcd79dad4f62ba6ec920d8f3be71bb;hp=c1f3adb6b33ddbdc38ff26dadbd2f0a662d8d418;hpb=f125905cdd3dc0339ad968c0a70128807884b400;p=openvswitch diff --git a/lib/stream.h b/lib/stream.h index c1f3adb6..d2f2ebb7 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 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,7 @@ 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); /* Convenience functions. */ @@ -82,6 +83,7 @@ bool stream_parse_target_with_default_ports(const char *target, uint16_t default_tcp_port, uint16_t default_ssl_port, struct sockaddr_in *sin); +int stream_or_pstream_needs_probes(const char *name); /* Error reporting. */