Make the secure channel and controller send out keepalives.
[openvswitch] / include / rconn.h
index 4049e745fcd8d0207693fe9a4d98c9243ff1b156..17fcef82a3ab44e8c75e29bad6f784c532b1de53 100644 (file)
@@ -52,7 +52,8 @@
 
 struct vconn;
 
-struct rconn *rconn_new(const char *name, int txq_limit);
+struct rconn *rconn_new(const char *name, int txq_limit,
+                        int inactivity_probe_interval);
 struct rconn *rconn_new_from_vconn(const char *name, int txq_limit,
                                    struct vconn *);
 void rconn_destroy(struct rconn *);
@@ -62,9 +63,13 @@ void rconn_run_wait(struct rconn *);
 struct buffer *rconn_recv(struct rconn *);
 void rconn_recv_wait(struct rconn *);
 int rconn_send(struct rconn *, struct buffer *);
-void rconn_send_wait(struct rconn *);
+int rconn_force_send(struct rconn *, struct buffer *);
+bool rconn_is_full(const struct rconn *);
+unsigned int rconn_packets_sent(const struct rconn *);
 
 const char *rconn_get_name(const struct rconn *);
 bool rconn_is_alive(const struct rconn *);
+bool rconn_is_connected(const struct rconn *);
+int rconn_disconnected_duration(const struct rconn *);
 
 #endif /* rconn.h */