diff options
| author | David Ahern <[email protected]> | 2016-12-01 16:48:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-12-02 18:46:09 +0000 |
| commit | aa4c1037a30f4e88f444e83d42c2befbe0d5caf5 (patch) | |
| tree | e2bb34c401d93df49f035a1d45c01fdff44b371d /lib/debugobjects.c | |
| parent | samples: bpf: add userspace example for modifying sk_bound_dev_if (diff) | |
| download | kernel-aa4c1037a30f4e88f444e83d42c2befbe0d5caf5.tar.gz kernel-aa4c1037a30f4e88f444e83d42c2befbe0d5caf5.zip | |
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 <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
