]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: xtoptions: Implement XTTYPE_ETHERMACMASK
authorPhil Sutter <phil@nwl.cc>
Sun, 17 Dec 2023 14:10:15 +0000 (15:10 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 10 Jan 2024 15:07:30 +0000 (16:07 +0100)
commit810f8568f44f5863c2350a39f4f5c8d60f762958
tree06fcabcc577f937d22e090be877cf527753dc127
parent122300a6fff9892b697f8900a7f84e94bac151ee
libxtables: xtoptions: Implement XTTYPE_ETHERMACMASK

Accept an Ethernet MAC address with optional mask in the format
xtables_parse_mac_and_mask() expects it. Does not support XTOPT_PUT (for
now) due to the lack of defined data structure.
include/xtables.h
libxtables/xtoptions.c