summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_TCPMSS.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-05-14 19:36:01 +0200
committerPhil Sutter <phil@nwl.cc>2025-07-22 10:34:19 +0200
commit786b75f7c9b9feaa294da097c2e9727747162c79 (patch)
tree987b8637acd78d7b6770b63220d84890eecb4279 /extensions/libxt_TCPMSS.c
parentd33c6ad308cf7b9f627aeed48a5163c0374b5035 (diff)
libxtables: Promote xtopt_esize_by_type() as xtopt_psize getter
Apart from supporting range-types, this getter is convenient to sanitize array out of bounds access. Use it in xtables_option_metavalidate() to simplify the code a bit. Signed-off-by: Phil Sutter <phil@nwl.cc> Reviewed-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_TCPMSS.c')
0 files changed, 0 insertions, 0 deletions