Commit Graph

3 Commits (fdc592e8c5f4a0f89fe134aea4c7200e30b0ab42)

Author SHA1 Message Date
Tuetuopay fdc592e8c5 bpf: make xdp maps functions safe
Values in those map are small enough to return copied values instead of
reference to values.
2 years ago
Tuetuopay 066cb0444c bpf: Update XDP maps implementation
The implementation changed since the original commit was written, and
some mistakes went in:
- missing bpf_redirect_map wrapper
- extra bpf_map_lookup_elem on maps for which it is forbidden
2 years ago
Dave Tucker 5d7fd7f9ca bpf: Implement XDP maps
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2 years ago