Expand description
Macros for writing VPP plugins in Rust
This crate provides procedural macros to assist in writing VPP plugins in Rust.
Macros§
- vlib_
plugin_ register - Register the plugin so that it can be loaded by VPP
- vnet_
feature_ init - Registers a VPP feature
Attribute Macros§
- vlib_
cli_ command - Creates a CLI command function
- vlib_
init_ function - Marks a function as an VPP plugin init function.
- vlib_
node - Registers a VPP node and associated function
Derive Macros§
- Error
Counters - Derives the ErrorCounters trait for a VPP error counter enum
- Next
Nodes - Derives the NextNodes trait for a VPP next node enum