diff options
author | Laurent Vivier <lvivier@redhat.com> | 2024-03-06 16:58:38 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-03-06 08:03:52 +0100 |
commit | bb11d1549544a9a7505f7fe699ad3949ada1d1d4 (patch) | |
tree | c42f9507999019d08e418e0e43e617c419d391c7 /passt.c | |
parent | 6b22e10a267768df8040092cfca76d6ecc41fbb1 (diff) | |
download | passt-bb11d1549544a9a7505f7fe699ad3949ada1d1d4.tar passt-bb11d1549544a9a7505f7fe699ad3949ada1d1d4.tar.gz passt-bb11d1549544a9a7505f7fe699ad3949ada1d1d4.tar.bz2 passt-bb11d1549544a9a7505f7fe699ad3949ada1d1d4.tar.lz passt-bb11d1549544a9a7505f7fe699ad3949ada1d1d4.tar.xz passt-bb11d1549544a9a7505f7fe699ad3949ada1d1d4.tar.zst passt-bb11d1549544a9a7505f7fe699ad3949ada1d1d4.zip |
tcp: Introduce tcp_fill_headers4()/tcp_fill_headers6()
Replace the macro SET_TCP_HEADER_COMMON_V4_V6() by a new function
tcp_fill_header().
Move IPv4 and IPv6 code from tcp_l2_buf_fill_headers() to
tcp_fill_headers4() and tcp_fill_headers6()
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-ID: <20240303135114.1023026-10-lvivier@redhat.com>
[dwg: Correct commit message with new function names]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions