diff options
author | David Ahern | 2016-12-01 17:48:05 +0100 |
---|---|---|
committer | David S. Miller | 2016-12-02 19:46:08 +0100 |
commit | ad2805dc79e647ec2aee931a51924fda9d03b2fc (patch) | |
tree | 29fbf69d8d6f5f3067a5febb1ad862c1c1f32611 /include/net/sock.h | |
parent | bpf: Add new cgroup attach type to enable sock modifications (diff) | |
download | kernel-qcow2-linux-ad2805dc79e647ec2aee931a51924fda9d03b2fc.tar.gz kernel-qcow2-linux-ad2805dc79e647ec2aee931a51924fda9d03b2fc.tar.xz kernel-qcow2-linux-ad2805dc79e647ec2aee931a51924fda9d03b2fc.zip |
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 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions