blob: 3c00962b93cb33deb1c70054ac136daf2080f84f [file] [log] [blame]
Bart De Schuymer1abc55d2002-06-01 19:23:47 +00001#include <stdio.h>
Bart De Schuymer1abc55d2002-06-01 19:23:47 +00002#include "../include/ebtables_u.h"
3
4
Bart De Schuymer8339ff12004-01-14 20:05:27 +00005static void print_help(const char **hn)
Bart De Schuymer1abc55d2002-06-01 19:23:47 +00006{
Bart De Schuymer920907b2002-07-24 18:38:40 +00007 printf("Supported chain for the broute table:\n");
Bart De Schuymer1abc55d2002-06-01 19:23:47 +00008 printf("%s\n",hn[NF_BR_BROUTING]);
9}
10
11static struct
12ebt_u_table table =
13{
Bart De Schuymer7cf1cca2003-08-30 16:20:19 +000014 .name = "broute",
15 .help = print_help,
Bart De Schuymer1abc55d2002-06-01 19:23:47 +000016};
17
Bart De Schuymer64182a32004-01-21 20:39:54 +000018void _init(void)
Bart De Schuymer1abc55d2002-06-01 19:23:47 +000019{
Bart De Schuymer8339ff12004-01-14 20:05:27 +000020 ebt_register_table(&table);
Bart De Schuymer1abc55d2002-06-01 19:23:47 +000021}