* Init a rule key. * note that ip must be already masked */
| 211 | * note that ip must be already masked |
| 212 | */ |
| 213 | static inline void |
| 214 | rule_key_init(struct rte_lpm6_rule_key *key, uint8_t *ip, uint8_t depth) |
| 215 | { |
| 216 | ip6_copy_addr(key->ip, ip); |
| 217 | key->depth = depth; |
| 218 | } |
| 219 | |
| 220 | /* |
| 221 | * Rebuild the entire LPM tree by reinserting all rules |
no test coverage detected