* Reset all rules. * Note that RT structures are not affected. */
| 484 | * Note that RT structures are not affected. |
| 485 | */ |
| 486 | void |
| 487 | rte_acl_reset_rules(struct rte_acl_ctx *ctx) |
| 488 | { |
| 489 | if (ctx != NULL) |
| 490 | ctx->num_rules = 0; |
| 491 | } |
| 492 | |
| 493 | /* |
| 494 | * Reset all rules and destroys RT structures. |
no outgoing calls