linux-xiaomi-chiron/samples
Martin KaFai Lau 12d8bb64e3 bpf: xdp: Add XDP example for head adjustment
The XDP prog checks if the incoming packet matches any VIP:PORT
combination in the BPF hashmap.  If it is, it will encapsulate
the packet with a IPv4/v6 header as instructed by the value of
the BPF hashmap and then XDP_TX it out.

The VIP:PORT -> IP-Encap-Info can be specified by the cmd args
of the user prog.

Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-08 14:25:13 -05:00
..
auxdisplay
blackfin
bpf bpf: xdp: Add XDP example for head adjustment 2016-12-08 14:25:13 -05:00
configfs
connector
hidraw
hw_breakpoint
kdb kdb: Add kdb kernel module sample 2010-10-29 13:14:39 -05:00
kfifo
kobject
kprobes
livepatch
mei
mic/mpssd
pktgen
rpmsg
seccomp
timers
trace_events
trace_printk
uhid
v4l
watchdog
Kconfig
Makefile