X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-util.h;h=dc431d0c4aec452a4b548534b22f5638fec84496;hb=5f906046c22bd9a55bd1185b2c03d27894b7a425;hp=b4af179d6d68a6f5e0c948347afa3529c81934e3;hpb=3f09c339f7e5e3d74bb06600b7f05c8efccbf132;p=openvswitch diff --git a/lib/ofp-util.h b/lib/ofp-util.h index b4af179d..dc431d0c 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -34,12 +34,12 @@ void *put_openflow(size_t openflow_len, uint8_t type, struct ofpbuf *); void *put_openflow_xid(size_t openflow_len, uint8_t type, uint32_t xid, struct ofpbuf *); void update_openflow_length(struct ofpbuf *); -struct ofpbuf *make_flow_mod(uint16_t command, const flow_t *, +struct ofpbuf *make_flow_mod(uint16_t command, const struct flow *, size_t actions_len); -struct ofpbuf *make_add_flow(const flow_t *, uint32_t buffer_id, +struct ofpbuf *make_add_flow(const struct flow *, uint32_t buffer_id, uint16_t max_idle, size_t actions_len); -struct ofpbuf *make_del_flow(const flow_t *); -struct ofpbuf *make_add_simple_flow(const flow_t *, +struct ofpbuf *make_del_flow(const struct flow *); +struct ofpbuf *make_add_simple_flow(const struct flow *, 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,