Files
linux/net/ipv4
D. Wythe 15f295f556 net/smc: bpf: Introduce generic hook for handshake flow
The introduction of IPPROTO_SMC enables eBPF programs to determine
whether to use SMC based on the context of socket creation, such as
network namespaces, PID and comm name, etc.

As a subsequent enhancement, to introduce a new generic hook that
allows decisions on whether to use SMC or not at runtime, including
but not limited to local/remote IP address or ports.

User can write their own implememtion via bpf_struct_ops now to choose
whether to use SMC or not before TCP 3rd handshake to be comleted.

Signed-off-by: D. Wythe <alibuda@linux.alibaba.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Reviewed-by: Dust Li <dust.li@linux.alibaba.com>
Link: https://patch.msgid.link/20251107035632.115950-3-alibuda@linux.alibaba.com
2025-11-10 11:19:41 -08:00
..
2025-03-17 13:56:38 +00:00
2025-10-29 18:28:29 -07:00
2025-08-29 19:36:32 -07:00
2025-08-26 17:34:31 -07:00
2025-07-08 13:28:27 +02:00
2025-08-29 19:36:32 -07:00
2024-01-04 10:23:10 -08:00
2025-09-18 08:47:51 +02:00
2025-03-17 13:54:11 +00:00
2025-03-17 13:56:38 +00:00