summaryrefslogtreecommitdiff
path: root/bpf_comp.c
AgeCommit message (Expand)AuthorFilesLines
2013-05-05bpf_comp: minor: fix linebreakDaniel Borkmann1-2/+2
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+43
avem@davemloft.net>2016-12-02 13:46:08 -0500 commitad2805dc79e647ec2aee931a51924fda9d03b2fc (patch) tree29fbf69d8d6f5f3067a5febb1ad862c1c1f32611 parent61023658760032e97869b07d54be9681d2529e77 (diff)
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