X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fofp-util.h;h=46216a9c235249728ccef46c5f3dc9e184795e0b;hb=f4ac3fc104d83edce7d3f2410a7b02cb56dd0ac2;hp=b4fe642388fdc056e34b903ff3d24c043bbd71e6;hpb=ebb57021a9827b59997a00defc32bf761bc16148;p=openvswitch diff --git a/lib/ofp-util.h b/lib/ofp-util.h index b4fe6423..46216a9c 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -256,13 +256,6 @@ struct ofpbuf *make_unbuffered_packet_out(const struct ofpbuf *packet, uint16_t in_port, uint16_t out_port); struct ofpbuf *make_echo_request(void); struct ofpbuf *make_echo_reply(const struct ofp_header *rq); - -struct flow_stats_iterator { - const uint8_t *pos, *end; -}; -const struct ofp_flow_stats *flow_stats_first(struct flow_stats_iterator *, - const struct ofp_stats_reply *); -const struct ofp_flow_stats *flow_stats_next(struct flow_stats_iterator *); /* Actions. */ @@ -278,7 +271,7 @@ const union ofp_action *actions_next(struct actions_iterator *); int validate_actions(const union ofp_action *, size_t n_actions, const struct flow *, int max_ports); -bool action_outputs_to_port(const union ofp_action *, uint16_t port); +bool action_outputs_to_port(const union ofp_action *, ovs_be16 port); int ofputil_pull_actions(struct ofpbuf *, unsigned int actions_len, union ofp_action **, size_t *);