diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-12-08 02:32:17 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-12-10 23:54:23 +0100 |
commit | 9582a075ce9f387faf56edad688f26a322310019 (patch) | |
tree | 8107899cb3f1135602d8eb5cd61e8904efb0982c /src/payload.c | |
parent | 806698764d8b2e353dc191024eefefdc7648617c (diff) |
netlink: unfold function to generate concatenations for keys and data
Add a specific function to generate concatenation with and without
intervals in maps. This restores the original function added by
8ac2f3b2fca3 ("src: Add support for concatenated set ranges") which is
used by 66746e7dedeb ("src: support for nat with interval
concatenation") to generate the data concatenations in maps.
Only the set element key requires the byteswap introduced by 1017d323cafa
("src: support for selectors with different byteorder with interval
concatenations"). Therefore, better not to reuse the same function for
key and data as the future might bring support for more kind of
concatenations in data maps.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/payload.c')
0 files changed, 0 insertions, 0 deletions