diff options
author | Patrick McHardy <kaber@trash.net> | 2011-05-12 11:11:51 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-05-12 11:11:51 +0200 |
commit | 59ce5bd1d05225911051a4c46ce5ccdd7c1ed078 (patch) | |
tree | 4e7e079df76eff91b26f1834aac0ef361dc20cbd /include/xtables.h.in | |
parent | 8075493a00e06857147263574333df4073ea671b (diff) | |
parent | 8d14aeb8c4c3dc8ce9264b04b97f2e8634c1f381 (diff) |
Merge branch 'floating/opts' of git://dev.medozas.de/iptables
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 00be61cf..38c0e5ee 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 { |