summaryrefslogtreecommitdiffstats
path: root/samples/bpf/tcbpf1_kern.c
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2016-12-01 08:48:05 -0800
committerDavid S. Miller <davem@davemloft.net>2016-12-02 13:46:08 -0500
commitad2805dc79e647ec2aee931a51924fda9d03b2fc (patch)
tree29fbf69d8d6f5f3067a5febb1ad862c1c1f32611 /samples/bpf/tcbpf1_kern.c
parent61023658760032e97869b07d54be9681d2529e77 (diff)
downloadlinux-ad2805dc79e647ec2aee931a51924fda9d03b2fc.tar.bz2
samples: bpf: add userspace example for modifying sk_bound_dev_if
Add a simple program to demonstrate the ability to attach a bpf program to a cgroup that sets sk_bound_dev_if for AF_INET{6} sockets when they are created. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/tcbpf1_kern.c')
0 files changed, 0 insertions, 0 deletions