Re: [PATCH bpf-next v2 1/5] bpf: expose is_mptcp flag to bpf_tcp_sock

2020-09-14 Thread Andrii Nakryiko
On Mon, Sep 14, 2020 at 11:21 AM Song Liu wrote: > > On Fri, Sep 11, 2020 at 8:07 AM Nicolas Rybowski > wrote: > > > > is_mptcp is a field from struct tcp_sock used to indicate that the > > current tcp_sock is part of the MPTCP protocol. > > > > In this protocol, a first socket (mptcp_sock) is cr

Re: [PATCH bpf-next v2 1/5] bpf: expose is_mptcp flag to bpf_tcp_sock

2020-09-14 Thread Song Liu
On Fri, Sep 11, 2020 at 8:07 AM Nicolas Rybowski wrote: > > is_mptcp is a field from struct tcp_sock used to indicate that the > current tcp_sock is part of the MPTCP protocol. > > In this protocol, a first socket (mptcp_sock) is created with > sk_protocol set to IPPROTO_MPTCP (=262) for control p

[PATCH bpf-next v2 1/5] bpf: expose is_mptcp flag to bpf_tcp_sock

2020-09-11 Thread Nicolas Rybowski
is_mptcp is a field from struct tcp_sock used to indicate that the current tcp_sock is part of the MPTCP protocol. In this protocol, a first socket (mptcp_sock) is created with sk_protocol set to IPPROTO_MPTCP (=262) for control purpose but it isn't directly on the wire. This is the role of the su