diff options
author | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:06:47 +0900 |
---|---|---|
committer | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:06:47 +0900 |
commit | ebceb903d97f38aa6f4110c455367492c8b94f6c (patch) | |
tree | 5d21c5f26a156067e733c9faa79782ecc26196e9 /extensions/libip6t_eui64.c | |
parent | dbc5ef4889caa206f4d47d83345357780ceef73e (diff) | |
download | iptables-ebceb903d97f38aa6f4110c455367492c8b94f6c.tar.gz iptables-ebceb903d97f38aa6f4110c455367492c8b94f6c.tar.bz2 iptables-ebceb903d97f38aa6f4110c455367492c8b94f6c.zip |
Diffstat (limited to 'extensions/libip6t_eui64.c')
-rw-r--r-- | extensions/libip6t_eui64.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extensions/libip6t_eui64.c b/extensions/libip6t_eui64.c new file mode 100644 index 0000000..607bf86 --- /dev/null +++ b/extensions/libip6t_eui64.c @@ -0,0 +1,15 @@ +/* Shared library add-on to ip6tables to add EUI64 address checking support. */ +#include <xtables.h> + +static struct xtables_match eui64_mt6_reg = { + .name = "eui64", + .version = XTABLES_VERSION, + .family = NFPROTO_IPV6, + .size = XT_ALIGN(sizeof(int)), + .userspacesize = XT_ALIGN(sizeof(int)), +}; + +void _init(void) +{ + xtables_register_match(&eui64_mt6_reg); +} |