In the current effort to handle the MPTCP subflows in BPF programs, I
had to expose the msk's token via the subflow sockets in order to
identify their parent MPTCP connection. This is achieved by adding a
new 'struct bpf_mptcp_sock' as well as a new 'bpf_mptcp_sock' helper
able to provide access to the new structure. This process opened some
- Extending the exposure of other fields is now quite easy. We may,
for example, expose the 'mptcp_pm_data' structure and maybe modify it
from BPF programs.
Are there use-cases of handling the path manager from BPF ?
- More generally, what are the MPTCP fields that may be interesting to
expose to / modify with BPF ?
Thanks in advance for your answers / ideas !