+4
−0
samples/bpf/xdp_router_ipv4_kern.c
0 → 100644
+186
−0
samples/bpf/xdp_router_ipv4_user.c
0 → 100644
+659
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Implements port to port forwarding with route table and arp table lookup for ipv4 packets using bpf_redirect helper function and lpm_trie map. Signed-off-by:Christina Jacob <Christina.Jacob@cavium.com> Signed-off-by:
David S. Miller <davem@davemloft.net>