Thread (14 messages) flat view 14 messages, 5 authors, 2017-02-06

Re: [PATCH net-next 0/2] net: core: Two Helper function about socket information

From: Alexei Starovoitov <hidden>
Date: 2017-02-03 00:13:35

On Thu, Feb 02, 2017 at 12:59:48PM -0800, Chenbo Feng wrote:
Introduce two eBpf helper function to get the socket cookie and
socket uid for each packet. The helper function is useful when
the *sk field inside sk_buff is not empty.
Looks nice.
I'd like to see a sample code/test for it though.
I think sk_uid is self explanatory, but cookie is less so.
Please explain how you plan to use it.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help