X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn.h;h=9bd235ae61005234442d1a9c367c899368fcb3bd;hb=6f61c75b17a9906f88aae4b4a8fbdc12070cf34f;hp=9e012bcfbc413a24279f7b9be22e394033777ae3;hpb=193456d581423f894e57e8463ff5049c0d802f0a;p=openvswitch diff --git a/lib/vconn.h b/lib/vconn.h index 9e012bcf..9bd235ae 100644 --- a/lib/vconn.h +++ b/lib/vconn.h @@ -48,6 +48,9 @@ int vconn_send(struct vconn *, struct ofpbuf *); int vconn_recv_xid(struct vconn *, uint32_t xid, struct ofpbuf **); int vconn_transact(struct vconn *, struct ofpbuf *, struct ofpbuf **); +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_send_block(struct vconn *, struct ofpbuf *); int vconn_recv_block(struct vconn *, struct ofpbuf **); @@ -85,6 +88,9 @@ struct ofpbuf *make_del_flow(const flow_t *); struct ofpbuf *make_add_simple_flow(const flow_t *, uint32_t buffer_id, uint16_t out_port, uint16_t max_idle); +struct ofpbuf *make_packet_in(uint32_t buffer_id, uint16_t in_port, + uint8_t reason, + const struct ofpbuf *payload, int max_send_len); struct ofpbuf *make_packet_out(const struct ofpbuf *packet, uint32_t buffer_id, uint16_t in_port, const struct ofp_action_header *,