diff options
| author | Hangbin Liu <[email protected]> | 2021-01-22 10:50:07 +0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-01-23 00:24:37 +0100 |
| commit | 6e66fbb10597f31e88c575e07640978f376abcd3 (patch) | |
| tree | 1a62ae101f86d93044f852505922be2698d7a406 /tools/perf/scripts/python | |
| parent | 18b24d78d537c6ed2ff409637d714fc15053409b (diff) | |
samples/bpf: Add xdp program on egress for xdp_redirect_map
This patch add a xdp program on egress to show that we can modify
the packet on egress. In this sample we will set the pkt's src
mac to egress's mac address. The xdp_prog will be attached when
-X option supplied.
Signed-off-by: Hangbin Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions