mirror of https://github.com/aya-rs/aya
aya-bpf/maps: Add skb_output/xdp_output to PerfEventArray
`skb_output` and `xdp_output` are simple wrappers around the existing `output_at_index` method. With these wrappers, we can easily submit the raw data blob held by `struct __sk_buff *`/`struct xdp_md *` to a PerfEventArray. Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>pull/373/head
parent
b95adc3135
commit
b6402d5a68
Loading…
Reference in New Issue