diff options
| author | 2018-05-09 20:34:27 -0700 | |
|---|---|---|
| committer | 2018-05-11 00:10:57 +0200 | |
| commit | fe616055f78457a0b78e0d3693d1ae26f2d7dab3 (patch) | |
| tree | 2bab4dd9bff8b85508549c97886d92d82d7c22e1 /scripts/bpf_helpers_doc.py | |
| parent | bpf: Provide helper to do forwarding lookups in kernel FIB table (diff) | |
| download | wireguard-linux-fe616055f78457a0b78e0d3693d1ae26f2d7dab3.tar.xz wireguard-linux-fe616055f78457a0b78e0d3693d1ae26f2d7dab3.zip | |
samples/bpf: Add example of ipv4 and ipv6 forwarding in XDP
Simple example of fast-path forwarding. It has a serious flaw
in not verifying the egress device index supports XDP forwarding.
If the egress device does not packets are dropped.
Take this only as a simple example of fast-path forwarding.
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
