]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: extend pn_offset field from quic_rx_packet
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 17 Oct 2022 16:05:26 +0000 (18:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 19 Oct 2022 16:12:56 +0000 (18:12 +0200)
commit845169da584655dedce3286e7e0011fab3f10507
treef8bb3b16ee35a77a298191019a96b96844f1adfc
parent0eae57273b3a2b585ddc19d6f97cdc05f2203f0b
MINOR: quic: extend pn_offset field from quic_rx_packet

pn_offset field was only set if header protection cannot be removed.
Extend the usage of this field : it is now set everytime on packet
parsing in qc_lstnr_pkt_rcv().

This change helps to clean up API of Rx functions by removing
unnecessary variables and function argument.

This change has no functional impact. It is a part of a refactoring
series on qc_lstnr_pkt_rcv(). The objective is facilitate integration of
FD-owned socket patches.

This should be backported up to 2.6.
include/haproxy/quic_conn-t.h
src/quic_conn.c