diff options
author | Ole Trøan <otroan@employees.org> | 2018-02-15 22:02:01 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-02-15 22:02:01 +0000 |
commit | 909c26bda66313b86168dda31003f76410c1d746 (patch) | |
tree | 116c02d48fe51239ffdbb719abbdf34d37928e73 /src/vnet/adj/adj_delegate.h | |
parent | a44b015aa012d3b07ed873925d47c6d5955b7dd2 (diff) |
Revert "Adj: VFTs for adjacency sub-blocks"
This reverts commit a44b015aa012d3b07ed873925d47c6d5955b7dd2.
Change-Id: I2d76bc0844f58e5ddf3f3a4326b86076f46e3751
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/adj/adj_delegate.h')
-rw-r--r-- | src/vnet/adj/adj_delegate.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/vnet/adj/adj_delegate.h b/src/vnet/adj/adj_delegate.h index 9f7d8c64afc..176512039d6 100644 --- a/src/vnet/adj/adj_delegate.h +++ b/src/vnet/adj/adj_delegate.h @@ -91,16 +91,6 @@ typedef struct adj_delegate_t_ }; } adj_delegate_t; -/** - * An ADJ delegate virtual function table - */ -typedef void (*adj_delegate_last_lock_gone_t)(ip_adjacency_t *adj, adj_delegate_t *aed); -typedef u8 * (*adj_delegate_format_t)(const adj_delegate_t *aed, u8 *s); -typedef struct adj_delegate_vft_t_ { - adj_delegate_format_t adv_format; - adj_delegate_last_lock_gone_t adv_last_lock; -} adj_delegate_vft_t; - extern void adj_delegate_remove(ip_adjacency_t *adj, adj_delegate_type_t type); @@ -109,7 +99,6 @@ extern adj_delegate_t *adj_delegate_find_or_add(ip_adjacency_t *adj, extern adj_delegate_t *adj_delegate_get(const ip_adjacency_t *adj, adj_delegate_type_t type); -extern u8 *format_adj_delegate(u8 * s, va_list * args); -extern void adj_delegate_register_type(adj_delegate_type_t type, const adj_delegate_vft_t *vft); +extern u8 *format_adj_deletegate(u8 * s, va_list * args); #endif |