diff options
| author | Lawrence Brakmo <brakmo@fb.com> | 2017-07-01 06:02:46 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-02 02:15:13 +0300 |
| commit | 8c4b4c7e9ff0447995750d9329949fa082520269 (patch) | |
| tree | b4215d293911949d5373baef37c29ca0d09df1e3 /include/linux/stackprotector.h | |
| parent | c400296bf63d234899cf2448cd3d17199676f188 (diff) | |
| download | linux-8c4b4c7e9ff0447995750d9329949fa082520269.tar.xz | |
bpf: Add setsockopt helper function to bpf
Added support for calling a subset of socket setsockopts from
BPF_PROG_TYPE_SOCK_OPS programs. The code was duplicated rather
than making the changes to call the socket setsockopt function because
the changes required would have been larger.
The ops supported are:
SO_RCVBUF
SO_SNDBUF
SO_MAX_PACING_RATE
SO_PRIORITY
SO_RCVLOWAT
SO_MARK
Signed-off-by: Lawrence Brakmo <brakmo@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
