diff options
author | Neale Ranns <nranns@cisco.com> | 2017-12-12 00:21:19 -0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-12-12 17:03:53 +0000 |
commit | ff233898cef20c434a6ce45a0a3e607e8f7dc0e7 (patch) | |
tree | 2757220b66c125e905d8896d8ca87b744a547d17 /src/vnet/mfib/mfib_entry.c | |
parent | fedc455b6c5435393fd7767f1350eb9144cdfa76 (diff) |
Stats for Multicast FIB
Change-Id: I46b4aeb6ec9ab6ee462f9c5074b5778d94bf8dc3
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/mfib/mfib_entry.c')
-rw-r--r-- | src/vnet/mfib/mfib_entry.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vnet/mfib/mfib_entry.c b/src/vnet/mfib/mfib_entry.c index 6c356c6b267..bc7f7dec406 100644 --- a/src/vnet/mfib/mfib_entry.c +++ b/src/vnet/mfib/mfib_entry.c @@ -1226,6 +1226,16 @@ mfib_entry_get_fib_index (fib_node_index_t mfib_entry_index) return (mfib_entry->mfe_fib_index); } +const dpo_id_t* +mfib_entry_contribute_ip_forwarding (fib_node_index_t mfib_entry_index) +{ + mfib_entry_t *mfib_entry; + + mfib_entry = mfib_entry_get(mfib_entry_index); + + return (&mfib_entry->mfe_rep); +} + void mfib_entry_contribute_forwarding (fib_node_index_t mfib_entry_index, fib_forward_chain_type_t type, |