linux/include
David Ahern aa4c1037a3 bpf: Add support for reading socket family, type, protocol
Add socket family, type and protocol to bpf_sock allowing bpf programs
read-only access.

Add __sk_flags_offset[0] to struct sock before the bitfield to
programmtically determine the offset of the unsigned int containing
protocol and type.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-02 13:46:09 -05:00
..
acpi Merge branches 'acpica-fixes', 'acpi-cppc-fixes' and 'acpi-tools-fixes' 2016-11-18 21:34:42 +01:00
asm-generic mm: kmemleak: scan .data.ro_after_init 2016-11-11 08:12:37 -08:00
clocksource
crypto
drm
dt-bindings dt-bindings: net: add EEE capability constants 2016-11-29 19:38:31 -05:00
keys
kvm
linux bpf: Add new cgroup attach type to enable sock modifications 2016-12-02 13:46:08 -05:00
math-emu
media
memory
misc
net bpf: Add support for reading socket family, type, protocol 2016-12-02 13:46:09 -05:00
pcmcia
ras
rdma
rxrpc
scsi
soc
sound
target
trace net/phy: add trace events for mdio accesses 2016-11-24 11:55:43 -05:00
uapi bpf: Add support for reading socket family, type, protocol 2016-12-02 13:46:09 -05:00
video
xen
Kbuild