Commit 9e0b15ac authored by 孙首勋's avatar 孙首勋 Committed by goutongchen
Browse files

tcp_comp: Use bpf program to realize port-based open or close network program...

tcp_comp: Use bpf program to realize port-based open or close network program compression transmission function.

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4PNEK


CVE: NA

-------------------------------------------------

Use the bpf program to control the TCP_NO_COMP_TX and TCP_NO_COMP_RX
sockopt options during the tcp three-way handshake. Turn on or off
the compressed transmission function of the network program based on
the port.

Signed-off-by: default avatarsunshouxun <randylambert@xiyoulinux.org>
Signed-off-by: default avatargoutongchen <goutongchen@uniontech.com>
parent dcf9e8dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment