Re: [bpf-next PATCH v3 00/18] bpf,sockmap: sendmsg/sendfile ULP

2018-03-19 Thread Daniel Borkmann
On 03/18/2018 08:56 PM, John Fastabend wrote: > This series adds a BPF hook for sendmsg and senfile by using > the ULP infrastructure and sockmap. A simple pseudocode example > would be, [...] Series applied to bpf-next, thanks John!

[bpf-next PATCH v3 00/18] bpf,sockmap: sendmsg/sendfile ULP

2018-03-18 Thread John Fastabend
This series adds a BPF hook for sendmsg and senfile by using the ULP infrastructure and sockmap. A simple pseudocode example would be, // load the programs bpf_prog_load(SOCKMAP_TCP_MSG_PROG, BPF_PROG_TYPE_SK_MSG, &obj, &msg_prog); // lookup the sockmap bpf_map_msg = bpf_o