X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn.h;h=1a0bc60e4136d87f3c0b7de2643bb95f52abfa59;hb=e879d33e8398219d5c9af8fd565c97303f126809;hp=59713275edb56314ee11f1b8068107001d86da9d;hpb=f125905cdd3dc0339ad968c0a70128807884b400;p=openvswitch diff --git a/lib/vconn.h b/lib/vconn.h index 59713275..1a0bc60e 100644 --- a/lib/vconn.h +++ b/lib/vconn.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ #include #include "openvswitch/types.h" +#include "openflow/openflow.h" #ifdef __cplusplus extern "C" { @@ -54,7 +55,9 @@ int vconn_transact_multiple_noreply(struct vconn *, struct list *requests, void vconn_run(struct vconn *); void vconn_run_wait(struct vconn *); -int vconn_open_block(const char *name, int min_version, struct vconn **); +int vconn_open_block(const char *name, enum ofp_version min_version, + struct vconn **); +int vconn_connect_block(struct vconn *); int vconn_send_block(struct vconn *, struct ofpbuf *); int vconn_recv_block(struct vconn *, struct ofpbuf **);