[−][src]Attribute Macro redbpf_macros::xdp
#[xdp]
Attribute macro that must be used to define XDP
probes.
See also the XDP
API provided by
redbpf-probes
.
Example
#[xdp] pub extern "C" fn example_xdp_probe(ctx: XdpContext) -> XdpAction { ... XdpAction::Pass }