|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
25 #ifndef __ADJ_MCAST_H__
26 #define __ADJ_MCAST_H__
91 const void *fixup_data,
void(* adj_midchain_fixup_t)(vlib_main_t *vm, const struct ip_adjacency_t_ *adj, vlib_buffer_t *b0, const void *data)
A function type for post-rewrite fixups on midchain adjacency.
enum adj_flags_t_ adj_flags_t
Flags on an IP adjacency.
void adj_mcast_module_init(void)
Module initialisation.
u32 adj_mcast_db_size(void)
Get the sze of the mcast adj DB.
void adj_mcast_walk(u32 sw_if_index, fib_protocol_t adj_nh_proto, adj_walk_cb_t cb, void *ctx)
Walk the multicast Adjacencies on a given interface.
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
u8 * format_adj_mcast(u8 *s, va_list *ap)
Format/display a mcast adjacency.
template key/value backing page structure
void adj_mcast_midchain_update_rewrite(adj_index_t adj_index, adj_midchain_fixup_t fixup, const void *fixup_data, adj_flags_t flags, u8 *rewrite, u8 offset, u32 mask)
Update the rewrite string for an existing adjacecny and Convert the adjacency into a midchain.
void adj_mcast_update_rewrite(adj_index_t adj_index, u8 *rewrite, u8 offset)
Update the rewrite string for an existing adjacecny.
u8 * format_adj_mcast_midchain(u8 *s, va_list *ap)
adj_index_t adj_mcast_add_or_lock(fib_protocol_t proto, vnet_link_t link_type, u32 sw_if_index)
Mcast Adjacency.
u32 adj_index_t
An index for adjacencies.
enum vnet_link_t_ vnet_link_t
Link Type: A description of the protocol of packets on the link.
adj_walk_rc_t(* adj_walk_cb_t)(adj_index_t ai, void *ctx)
Call back function when walking adjacencies.
vl_api_interface_index_t sw_if_index
vl_api_wireguard_peer_flags_t flags