diff options
Diffstat (limited to 'src/vnet/adj/adj_delegate.h')
-rw-r--r-- | src/vnet/adj/adj_delegate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/adj/adj_delegate.h b/src/vnet/adj/adj_delegate.h index f6da245bb52..096c1823e27 100644 --- a/src/vnet/adj/adj_delegate.h +++ b/src/vnet/adj/adj_delegate.h @@ -78,11 +78,17 @@ typedef void (*adj_delegate_adj_deleted_t)(adj_delegate_t *aed); typedef u8 * (*adj_delegate_format_t)(const adj_delegate_t *aed, u8 *s); /** + * Notification that an adjacency has been created + */ +typedef u8 * (*adj_delegate_adj_created_t)(adj_index_t ai); + +/** * An ADJ delegate virtual function table */ typedef struct adj_delegate_vft_t_ { adj_delegate_format_t adv_format; adj_delegate_adj_deleted_t adv_adj_deleted; + adj_delegate_adj_created_t adv_adj_created; } adj_delegate_vft_t; /** |