diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-05-08 13:31:19 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-05-09 17:11:42 +0200 |
commit | cb225e26856accf5661dcbc3cf34d7f77b2f0c36 (patch) | |
tree | e80e679d4e622e1cd3bcbc17fd6e0b6318c6efdf /include/xtables.h.in | |
parent | 1f8e52ed2ac513476dc93fedde915079c4387728 (diff) |
libxtables: XTTYPE_ETHERMAC support
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r-- | include/xtables.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in index c3996a09..0fe4b904 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -70,6 +70,7 @@ struct in_addr; * %XTTYPE_PORTRC_NE: same as %XTTYPE_PORTRC, stored in network-endian * %XTTYPE_PLEN: prefix length * %XTTYPE_PLENMASK: prefix length (ptr: union nf_inet_addr) + * %XTTYPE_ETHERMAC: Ethernet MAC address in hex form */ enum xt_option_type { XTTYPE_NONE, @@ -95,6 +96,7 @@ enum xt_option_type { XTTYPE_PORTRC_NE, XTTYPE_PLEN, XTTYPE_PLENMASK, + XTTYPE_ETHERMAC, }; /** @@ -164,6 +166,7 @@ struct xt_option_call { struct { uint32_t mark, mask; }; + uint8_t ethermac[6]; } val; /* Wished for a world where the ones below were gone: */ union { |