]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stktable: add stksess_getkey() helper
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 30 Dec 2024 19:15:50 +0000 (20:15 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 9 Jan 2025 09:56:56 +0000 (10:56 +0100)
commit7423310d5ddc1aa2d8399f33102396165aa74fda
tree9062ac79e429cc153d1c950416166e3d21cbae5c
parentdf9c2ef2c33d0fc732ed6a1adbc8cd51b792ac74
MINOR: stktable: add stksess_getkey() helper

stksess_getkey(t, ts) returns a stktable_key struct pointer filled with
data from input <ts> entry in <t> table. Returned pointer uses the
static_table_key variable. Indeed, stktable_key struct is more convenient
to manipulate than having to deal with the key extraction from stktsess
struct directly.
src/stick_table.c