bpf: Add helper bpf_tcp_udpate_seq to synchronize tcp seq/ack
Offering: HULK hulk inclusion category: feature bugzilla: N/A -------------------------------- In order to process TCP packet with BPF/XDP, it's necessary to synchronize seq and ack between kernel network stack and bpf prog. This patch introduces a sample helper to do the sync. Note that, it's only used for samples, retransmission and congestion control are not supported. Signed-off-by: NHe Fengqing <hefengqing@huawei.com> Signed-off-by: NXu Kuohai <xukuohai@huawei.com> Signed-off-by: NYang Jihong <yangjihong@huawei.com>
Showing
想要评论请 注册 或 登录