aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorGravatar Lawrence Brakmo <brakmo@fb.com> 2017-06-30 20:02:47 -0700
committerGravatar David S. Miller <davem@davemloft.net> 2017-07-01 16:15:14 -0700
commit9872a4bde31b0b055448e9ac1f4c9ee62d978766 (patch)
treed335c073d98d9a96983b1e0b5a341957c8dc982d /samples
parentbpf: Add setsockopt helper function to bpf (diff)
downloadlinux-9872a4bde31b0b055448e9ac1f4c9ee62d978766.tar.gz
linux-9872a4bde31b0b055448e9ac1f4c9ee62d978766.tar.bz2
linux-9872a4bde31b0b055448e9ac1f4c9ee62d978766.zip
bpf: Add TCP connection BPF callbacks
Added callbacks to BPF SOCK_OPS type program before an active connection is intialized and after a passive or active connection is established. The following patch demostrates how they can be used to set send and receive buffer sizes. Signed-off-by: Lawrence Brakmo <brakmo@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions