From: John Fastabend <john.fastab...@gmail.com> Date: Mon, 12 Mar 2018 12:23:29 -0700
> This implements a BPF ULP layer to allow policy enforcement and > monitoring at the socket layer. In order to support this a new > program type BPF_PROG_TYPE_SK_MSG is used to run the policy at > the sendmsg/sendpage hook. To attach the policy to sockets a > sockmap is used with a new program attach type BPF_SK_MSG_VERDICT. ... > Signed-off-by: John Fastabend <john.fastab...@gmail.com> Acked-by: David S. Miller <da...@davemloft.net>