/* ebt_mark * * Authors: * Bart De Schuymer * * July, 2002, September 2006 * * Adapted by Arturo Borrero Gonzalez * to use libxtables for ebtables-compat in 2015. */ #include #include #include #include #include #include #include "iptables/nft.h" #include "iptables/nft-bridge.h" static int mark_supplied; #define MARK_TARGET '1' #define MARK_SETMARK '2' #define MARK_ORMARK '3' #define MARK_ANDMARK '4' #define MARK_XORMARK '5' static struct option brmark_opts[] = { { .name = "mark-target",.has_arg = true, .val = MARK_TARGET }, /* an oldtime messup, we should have always used the scheme * -