]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: define first packet flag
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 19 Oct 2022 15:14:28 +0000 (17:14 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 19 Oct 2022 16:12:56 +0000 (18:12 +0200)
commitdeb7c87f5525d5645dd7c94fb187603edbb8d27a
tree00d5fd1aa83e61d168a79e97a22382eb543025a5
parent845169da584655dedce3286e7e0011fab3f10507
MINOR: quic: define first packet flag

Received packets treatment has some difference regarding if this is the
first one or not of the encapsulating datagram. Previously, this was set
via a function argument. Simplify this by defining a new Rx packet flag
named QUIC_FL_RX_PACKET_DGRAM_FIRST.

This change does not have functional impact. It will simplify API when
qc_lstnr_pkt_rcv() is broken into several functions : their number of
arguments will be reduced thanks to this patch.

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