diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-01 19:23:47 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-06-01 19:23:47 +0000 |
commit | 1abc55d3114378b4e73ec315eac6b122e55148c4 (patch) | |
tree | 2b4e1622873f7e6f8517b7862ec2b51a43a62d1a /extensions/ebtable_broute.c |
Initial revision
Diffstat (limited to 'extensions/ebtable_broute.c')
-rw-r--r-- | extensions/ebtable_broute.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extensions/ebtable_broute.c b/extensions/ebtable_broute.c new file mode 100644 index 0000000..2abfcb6 --- /dev/null +++ b/extensions/ebtable_broute.c @@ -0,0 +1,25 @@ +#include <stdio.h> +#include <sys/socket.h> +#include "../include/ebtables_u.h" + + +static void print_help(char **hn) +{ + printf("Supported chain for the nat table:\n"); + printf("%s\n",hn[NF_BR_BROUTING]); +} + +static struct +ebt_u_table table = +{ + "broute", + NULL, + print_help, + NULL +}; + +static void _init(void) __attribute__ ((constructor)); +static void _init(void) +{ + register_table(&table); +} |