On Tue, 23 Jul 2019 at 01:20, Petar Penkov <ppenkov.ker...@gmail.com> wrote: > > From: Petar Penkov <ppen...@google.com> > > This patch series introduces a BPF helper function that allows generating SYN > cookies from BPF. Currently, this helper is enabled at both the TC hook and > the > XDP hook. > > The first two patches in the series add/modify several TCP helper functions to > allow for SKB-less operation, as is the case at the XDP hook. > > The third patch introduces the bpf_tcp_gen_syncookie helper function which > generates a SYN cookie for either XDP or TC programs. The return value of > this function contains both the MSS value, encoded in the cookie, and the > cookie itself. > > The last three patches sync tools/ and add a test.
Reviewed-by: Lorenz Bauer <l...@cloudflare.com> -- Lorenz Bauer | Systems Engineer 6th Floor, County Hall/The Riverside Building, SE1 7PB, UK www.cloudflare.com