android_kernel_msm-6.1_noth.../tools/include/uapi/linux
John Fastabend 69e8cc134b bpf: sockmap sample program
This program binds a program to a cgroup and then matches hard
coded IP addresses and adds these to a sockmap.

This will receive messages from the backend and send them to
the client.

     client:X <---> frontend:10000 client:X <---> backend:10001

To keep things simple this is only designed for 1:1 connections
using hard coded values. A more complete example would allow many
backends and clients.

To run,

 # sockmap <cgroup2_dir>

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-16 11:27:53 -07:00
..
bpf.h bpf: sockmap sample program 2017-08-16 11:27:53 -07:00
bpf_common.h tools lib bpf: Copy bpf.h and bpf_common.h from the kernel 2016-07-12 15:20:32 -03:00
bpf_perf_event.h selftests/bpf: fix broken build 2017-03-12 23:48:41 -07:00
fcntl.h tools include uapi: Grab copies of stat.h and fcntl.h 2017-03-31 11:26:03 -03:00
hw_breakpoint.h hw_breakpoint: Allow watchpoint of length 3,5,6 and 7 2016-11-18 17:23:17 +00:00
mman.h tools include: Add uapi mman.h for each architecture 2016-09-13 15:26:08 -03:00
perf_event.h powerpc updates for 4.12 part 1. 2017-05-05 11:36:44 -07:00
stat.h tools/include: Sync kernel ABI headers with tooling headers 2017-05-24 09:00:21 +02:00