X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstream.h;h=5c111f999e3de4423481d036d9d5302abb68467e;hb=fe13b0e71752a5eb30b21e7a09d2f9370bc02387;hp=51a765665af0377d94805f956355d3690b3f6a56;hpb=c55acc2eed76ae17667fa5f65f5f3c347b796926;p=openvswitch diff --git a/lib/stream.h b/lib/stream.h index 51a76566..5c111f99 100644 --- a/lib/stream.h +++ b/lib/stream.h @@ -23,6 +23,7 @@ #include #include "openvswitch/types.h" #include "vlog.h" +#include "socket-util.h" struct pstream; struct stream; @@ -75,7 +76,11 @@ int pstream_open_with_default_ports(const char *name, uint16_t default_ptcp_port, uint16_t default_pssl_port, struct pstream **); - +bool stream_parse_target_with_default_ports(const char *target, + uint16_t default_tcp_port, + uint16_t default_ssl_port, + struct sockaddr_in *sin); + /* Error reporting. */ enum stream_content_type {