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
Reply to
Chenbo Feng, 2017-02-02
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
Thread (14 messages) 14 messages, 5 authors, last reply 2017-02-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help