in cases where bpf programs are looking at sockets and packets
that belong to different netns, it could be useful to get an id
that uniquely identify a netns within the whole system.
Therefore introduce 'u64 bpf_sk_netns_id(sk);' helper. It returns
unique value that identifies netns of given socke
On 02/07/2017 03:02 AM, Alexei Starovoitov wrote:
in cases where bpf programs are looking at sockets and packets
that belong to different netns, it could be useful to get an id
that uniquely identify a netns within the whole system.
Therefore introduce 'u64 bpf_sk_netns_id(sk);' helper. It retur
From: Alexei Starovoitov
Date: Mon, 6 Feb 2017 18:02:48 -0800
> Eric, I'v added proc_get_ns_devid_inum() to nsfs.c
> right next to __ns_get_path(), so when it is time in the future
> to make nsfs more namespace aware, it will be easy to adjust
> both new_inode_pseudo(mnt->mnt_sb) line and proc_ge
Alexei Starovoitov writes:
> in cases where bpf programs are looking at sockets and packets
> that belong to different netns, it could be useful to get an id
> that uniquely identify a netns within the whole system.
It could be useful but there is no unique namespace id.
> Therefore introduce '
On 2/14/17 12:21 AM, Eric W. Biederman wrote:
>> in cases where bpf programs are looking at sockets and packets
>> that belong to different netns, it could be useful to get an id
>> that uniquely identify a netns within the whole system.
> It could be useful but there is no unique namespace id.
>
David Ahern writes:
> On 2/14/17 12:21 AM, Eric W. Biederman wrote:
>>> in cases where bpf programs are looking at sockets and packets
>>> that belong to different netns, it could be useful to get an id
>>> that uniquely identify a netns within the whole system.
>> It could be useful but there is
On 2/15/17 8:08 PM, Eric W. Biederman wrote:
> David Ahern writes:
>
>> On 2/14/17 12:21 AM, Eric W. Biederman wrote:
in cases where bpf programs are looking at sockets and packets
that belong to different netns, it could be useful to get an id
that uniquely identify a netns within
On Wed, Feb 15, 2017 at 7:18 PM, David Ahern wrote:
> On 2/15/17 8:08 PM, Eric W. Biederman wrote:
>> David Ahern writes:
>>
>>> On 2/14/17 12:21 AM, Eric W. Biederman wrote:
> in cases where bpf programs are looking at sockets and packets
> that belong to different netns, it could be use
On 2/15/17 8:25 PM, Andy Lutomirski wrote:
> On Wed, Feb 15, 2017 at 7:18 PM, David Ahern wrote:
>> On 2/15/17 8:08 PM, Eric W. Biederman wrote:
>>> David Ahern writes:
>>>
On 2/14/17 12:21 AM, Eric W. Biederman wrote:
>> in cases where bpf programs are looking at sockets and packets
>>>
David Ahern writes:
> On 2/15/17 8:25 PM, Andy Lutomirski wrote:
>> On Wed, Feb 15, 2017 at 7:18 PM, David Ahern
>> wrote:
>>> On 2/15/17 8:08 PM, Eric W. Biederman wrote:
David Ahern writes:
> On 2/14/17 12:21 AM, Eric W. Biederman wrote:
>>> in cases where bpf programs are
10 matches
Mail list logo