X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn-provider.h;h=f245e4c1e853b3cce1a8784f811e82382ce12892;hb=67a4917b07031b387beafaedce413b4207214059;hp=0b25dee8d58c00d39fc07939559b30bc19c0b615;hpb=193456d581423f894e57e8463ff5049c0d802f0a;p=openvswitch diff --git a/lib/vconn-provider.h b/lib/vconn-provider.h index 0b25dee8..f245e4c1 100644 --- a/lib/vconn-provider.h +++ b/lib/vconn-provider.h @@ -39,12 +39,12 @@ struct vconn { uint32_t local_ip; uint16_t local_port; char *name; - bool reconnectable; }; void vconn_init(struct vconn *, struct vconn_class *, int connect_status, - uint32_t remote_ip, uint16_t remote_port, - const char *name, bool reconnectable); + const char *name); +void vconn_set_remote_ip(struct vconn *, uint32_t remote_ip); +void vconn_set_remote_port(struct vconn *, uint16_t remote_port); void vconn_set_local_ip(struct vconn *, uint32_t local_ip); void vconn_set_local_port(struct vconn *, uint16_t local_port); static inline void vconn_assert_class(const struct vconn *vconn,