]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ncbmbuf: implement iterator bitmap utilities functions
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 16 Oct 2025 15:34:10 +0000 (17:34 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 22 Oct 2025 13:04:06 +0000 (15:04 +0200)
commitdb4a68752d44d5dee9fb2d74fc8ae11772be3077
tree8c8521180b8e93905f34b56a794863d2612be510
parent1e1a3aa6aad15907f8e5b631bff0698aac55c34c
MINOR: ncbmbuf: implement iterator bitmap utilities functions

Extend private API for ncbmbuf type by defining an iterator type for the
buffer bitmap handling. The purpose is to provide a simple method to
iterate over the bitmap one byte at a time, with a proper bitmask set to
hide irrelevant bits.

This internal type is unused for now, but will become useful when
implementing ncb_data() and ncb_advance() functions.

As the previous patch, this commit must be backported prior to the fix
to come on QUIC CRYPTO frames parsing.
src/ncbmbuf.c