diff options
author | Neale Ranns <nranns@cisco.com> | 2019-12-02 23:10:08 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-12-03 19:27:53 +0000 |
commit | c8972fe506c78530a3e4085453e86a0b85b245ef (patch) | |
tree | 08a549b4e1bc9b941fefdceb0a0e7d2efd02b4b5 /src/vnet/feature/feature.h | |
parent | a6460e46f379315e872819af139ae2c87e8e06f3 (diff) |
fib feature: Code mechanics to decouple dependency of feature on adj
Type: refactor
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I1d8b88fe1eefc850865297b4f025b97e6373a6bd
Diffstat (limited to 'src/vnet/feature/feature.h')
-rw-r--r-- | src/vnet/feature/feature.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/feature/feature.h b/src/vnet/feature/feature.h index ef5f4c6ad7d..cbea6590942 100644 --- a/src/vnet/feature/feature.h +++ b/src/vnet/feature/feature.h @@ -454,6 +454,12 @@ clib_error_t *vnet_feature_arc_init void vnet_interface_features_show (vlib_main_t * vm, u32 sw_if_index, int verbose); +typedef void (*vnet_feature_update_cb_t) (u32 sw_if_index, + u8 arc_index, + u8 is_enable, void *cb); + +extern void vnet_feature_register (vnet_feature_update_cb_t cb, void *data); + #endif /* included_feature_h */ /* |