Chenbo Feng
51570a5ab2
A Sample of using socket cookie and uid for traffic monitoring
...
Add a sample program to demostrate the possible usage of
get_socket_cookie and get_socket_uid helper function. The program will
store bytes and packets counting of in/out traffic monitored by iptables
and store the stats in a bpf map in per socket base. The owner uid of
the socket will be stored as part of the data entry. A shell script for
running the program is also included.
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Chenbo Feng <fengc@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-23 17:01:57 -07:00
..
auxdisplay
samples: move auxdisplay example code from Documentation
2016-09-23 11:52:32 -06:00
blackfin
samples: move blackfin gptimers-example from Documentation
2016-10-10 07:12:02 -06:00
bpf
A Sample of using socket cookie and uid for traffic monitoring
2017-03-23 17:01:57 -07:00
configfs
connector
make use of make variable CURDIR instead of calling pwd
2016-12-11 12:12:56 +01:00
hidraw
hw_breakpoint
kdb
kfifo
kobject
kprobes
samples/kretprobe: fix the wrong type
2016-08-04 08:50:07 -04:00
livepatch
mei
samples: move misc-devices/mei example code from Documentation
2016-09-23 11:51:43 -06:00
mic /mpssd
samples: move mic/mpssd example code from Documentation
2016-09-20 12:38:48 -06:00
pktgen
samples: Add an IPv6 '-6' option to the pktgen scripts
2016-07-20 22:16:02 -07:00
rpmsg
rpmsg: Allow callback to return errors
2016-09-08 22:15:25 -07:00
seccomp
samples/seccomp: fix 64-bit comparison macros
2017-01-09 17:22:03 +11:00
statx
statx: Add a system call to make enhanced file info available
2017-03-02 20:51:15 -05:00
timers
samples: move timers example code from Documentation
2016-09-23 11:51:58 -06:00
trace_events
sched/core: Remove the tsk_cpus_allowed() wrapper
2017-03-02 08:42:24 +01:00
trace_printk
tracing: Add trace_printk sample code
2016-06-20 09:54:21 -04:00
uhid
v4l
[media] vb2: replace void *alloc_ctxs by struct device *alloc_devs
2016-07-08 14:45:07 -03:00
vfio-mdev
vfio-mdev: remove some dead code
2017-01-11 12:12:37 -07:00
watchdog
samples: move watchdog example code from Documentation
2016-09-23 11:52:14 -06:00
Kconfig
statx: Add a system call to make enhanced file info available
2017-03-02 20:51:15 -05:00
Makefile
statx: Add a system call to make enhanced file info available
2017-03-02 20:51:15 -05:00