Visual studio does not like it. It is mostly a keyword.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
/* What to do to an in_band_rule. */
enum in_band_op {
ADD, /* Add the rule to ofproto's flow table. */
/* What to do to an in_band_rule. */
enum in_band_op {
ADD, /* Add the rule to ofproto's flow table. */
- DELETE /* Delete the rule from ofproto's flow table. */
+ DEL /* Delete the rule from ofproto's flow table. */
};
/* A rule to add to or delete from ofproto's flow table. */
};
/* A rule to add to or delete from ofproto's flow table. */
/* Mark all the existing rules for deletion. (Afterward we will re-add any
* rules that are still valid.) */
HMAP_FOR_EACH (ib_rule, hmap_node, &ib->rules) {
/* Mark all the existing rules for deletion. (Afterward we will re-add any
* rules that are still valid.) */
HMAP_FOR_EACH (ib_rule, hmap_node, &ib->rules) {
}
if (ib->n_remotes && !eth_addr_is_zero(ib->local_mac)) {
}
if (ib->n_remotes && !eth_addr_is_zero(ib->local_mac)) {
ofpacts.data, ofpacts.size);
break;
ofpacts.data, ofpacts.size);
break;
if (ofproto_delete_flow(ib->ofproto,
&rule->match, rule->priority)) {
/* ofproto doesn't have the rule anymore so there's no reason
if (ofproto_delete_flow(ib->ofproto,
&rule->match, rule->priority)) {
/* ofproto doesn't have the rule anymore so there's no reason