diff options
author | Chenbo Feng <fengc@google.com> | 2017-04-05 19:00:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-08 08:07:01 -0700 |
commit | 00f660eaf37808aa0a537c288c9e2dee73bd4316 (patch) | |
tree | 566ff6609ee3fc6ff216b9c18d3118dc50b3bf30 /samples/kprobes | |
parent | 5daab9db7b65df87da26fd8cfa695fb9546a1ddb (diff) | |
download | linux-00f660eaf37808aa0a537c288c9e2dee73bd4316.tar.gz linux-00f660eaf37808aa0a537c288c9e2dee73bd4316.tar.bz2 linux-00f660eaf37808aa0a537c288c9e2dee73bd4316.zip |
Sample program using SO_COOKIE
Added a per socket traffic monitoring option to illustrate the usage
of new getsockopt SO_COOKIE. The program is based on the socket traffic
monitoring program using xt_eBPF and in the new option the data entry
can be directly accessed using socket cookie. The cookie retrieved
allow us to lookup an element in the eBPF for a specific socket.
Signed-off-by: Chenbo Feng <fengc@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/kprobes')
0 files changed, 0 insertions, 0 deletions