X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fodp-util.h;h=1a0d58df62eae484dabae3520536b23069a44867;hb=b46ccdf582946f30d80735345c533c23a7f035c0;hp=2062c0643c5052729d8019f95b90852f84b2a20b;hpb=feebdea2e5550a71c7accda936b6a55962f60a04;p=sliver-openvswitch.git diff --git a/lib/odp-util.h b/lib/odp-util.h index 2062c0643..1a0d58df6 100644 --- a/lib/odp-util.h +++ b/lib/odp-util.h @@ -30,6 +30,8 @@ struct ds; struct flow; struct ofpbuf; +#define ODPP_NONE ((uint16_t) -1) + static inline uint16_t ofp_port_to_odp_port(uint16_t ofp_port) { @@ -60,7 +62,6 @@ int odp_action_len(uint16_t type); void format_odp_action(struct ds *, const struct nlattr *); void format_odp_actions(struct ds *, const struct nlattr *odp_actions, size_t actions_len); -void format_odp_flow_stats(struct ds *, const struct odp_flow_stats *); /* By my calculations currently the longest valid nlattr-formatted flow key is * 80 bytes long, so this leaves some safety margin.