X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=71f4a0ef70a279863dd0f5aa34f960aedc9c1b06;hb=74e79b7c249f4a38fc6e36dd86cf6eef95f2f800;hp=c916a584e746fdea6c0b8a5e1b55df0b576173df;hpb=d10976b78206d35b446da2d32e210f57e1ea02b9;p=sliver-openvswitch.git diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index c916a584e..71f4a0ef7 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2431,7 +2431,7 @@ rule_actions_unref(struct rule_actions *actions) /* Returns true if 'rule' has an OpenFlow OFPAT_OUTPUT or OFPAT_ENQUEUE action * that outputs to 'port' (output to OFPP_FLOOD and OFPP_ALL doesn't count). */ -bool +static bool ofproto_rule_has_out_port(const struct rule *rule, ofp_port_t port) { return (port == OFPP_ANY @@ -2440,7 +2440,7 @@ ofproto_rule_has_out_port(const struct rule *rule, ofp_port_t port) } /* Returns true if 'rule' has group and equals group_id. */ -bool +static bool ofproto_rule_has_out_group(const struct rule *rule, uint32_t group_id) { return (group_id == OFPG11_ANY @@ -2520,7 +2520,7 @@ destroy_rule_executes(struct ofproto *ofproto) * Rules with priority higher than UINT16_MAX are set up by ofproto itself * (e.g. by in-band control) and are intentionally hidden from the * controller. */ -bool +static bool ofproto_rule_is_hidden(const struct rule *rule) { return rule->cr.priority > UINT16_MAX;