X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-util.h;h=b4af179d6d68a6f5e0c948347afa3529c81934e3;hb=abfec865566e6cce961cc8660de1ddfdc85dae5f;hp=0d141a683d536b79ba637f5e1f0e4e15b06e80ef;hpb=fa37b408eac875cbc0d7adbbb3f7a004371172da;p=openvswitch diff --git a/lib/ofp-util.h b/lib/ofp-util.h index 0d141a68..b4af179d 100644 --- a/lib/ofp-util.h +++ b/lib/ofp-util.h @@ -18,6 +18,7 @@ #define OFP_UTIL_H 1 #include +#include #include #include #include "flow.h" @@ -77,8 +78,10 @@ const union ofp_action *actions_first(struct actions_iterator *, const union ofp_action *actions_next(struct actions_iterator *); int validate_actions(const union ofp_action *, size_t n_actions, int max_ports); +bool action_outputs_to_port(const union ofp_action *, uint16_t port); void normalize_match(struct ofp_match *); +char *ofp_match_to_literal_string(const struct ofp_match *match); static inline int ofp_mkerr(uint16_t type, uint16_t code)