diff options
author | Matus Fabian <matfabia@cisco.com> | 2018-10-02 23:27:21 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-10-12 07:56:35 +0000 |
commit | 75b9f45a15bfae423b114dfcaa6eb114c91527eb (patch) | |
tree | 35fe306d89b82d3a040fb859adf5de08fbf94ec7 /src/vnet/ip/lookup.h | |
parent | 6ca6ac6c887eb38797027169f5a2f84e45b3436d (diff) |
ip: add container proxy dump API (VPP-1364)
Change-Id: I3cb89dbfb7174b9913a8c4ad9b3b1dc9f6ed6326
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/vnet/ip/lookup.h')
-rw-r--r-- | src/vnet/ip/lookup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/ip/lookup.h b/src/vnet/ip/lookup.h index 93e1e029b41..374023835f4 100644 --- a/src/vnet/ip/lookup.h +++ b/src/vnet/ip/lookup.h @@ -236,6 +236,10 @@ typedef struct _vnet_ip_container_proxy_args clib_error_t *vnet_ip_container_proxy_add_del (vnet_ip_container_proxy_args_t * args); +typedef int (*ip_container_proxy_cb_t) (const fib_prefix_t * pfx, + u32 sw_if_index, void *ctx); +void ip_container_proxy_walk (ip_container_proxy_cb_t cb, void *ctx); + void ip_lookup_init (ip_lookup_main_t * lm, u32 ip_lookup_node_index); #endif /* included_ip_lookup_h */ |