Re: [bpf-next PATCH v3 1/3] net: add a UID to use for ULP socket assignment

2018-02-01 Thread Daniel Borkmann
On 01/29/2018 09:27 PM, John Fastabend wrote: > Create a UID field and enum that can be used to assign ULPs to > sockets. This saves a set of string comparisons if the ULP id > is known. > > For sockmap, which is added in the next patches, a ULP is used to > hook into TCP sockets close state. In

[bpf-next PATCH v3 1/3] net: add a UID to use for ULP socket assignment

2018-01-29 Thread John Fastabend
Create a UID field and enum that can be used to assign ULPs to sockets. This saves a set of string comparisons if the ULP id is known. For sockmap, which is added in the next patches, a ULP is used to hook into TCP sockets close state. In this case the ULP being added is done at map insert time