Commit 485e125
committed
aya-ebpf: Add BPF_F_ADJ_ROOM_ENCAP_L2 macro
This macro is needed to properly add a L2 header when using
bpf_skb_adjust_room [1]. As it is originally a C macro, it isn't
automatically generated in the `bindings` crate
[1]: https://docs.ebpf.io/linux/helper-function/bpf_skb_adjust_room/1 parent 214fe3c commit 485e125
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
116 | 126 | | |
117 | 127 | | |
118 | 128 | | |
| |||
0 commit comments