Bart De Schuymer | ff58720 | 2005-02-08 20:02:28 +0000 | [diff] [blame] | 1 | /* ebtable_broute |
2 | * | ||||
3 | * Authors: | ||||
4 | * Bart De Schuymer <bdschuym@pandora.be> | ||||
5 | * | ||||
6 | * April, 2002 | ||||
7 | */ | ||||
8 | |||||
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 9 | #include <stdio.h> |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 10 | #include "../include/ebtables_u.h" |
11 | |||||
12 | |||||
Bart De Schuymer | 8339ff1 | 2004-01-14 20:05:27 +0000 | [diff] [blame] | 13 | static void print_help(const char **hn) |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 14 | { |
Bart De Schuymer | 920907b | 2002-07-24 18:38:40 +0000 | [diff] [blame] | 15 | printf("Supported chain for the broute table:\n"); |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 16 | printf("%s\n",hn[NF_BR_BROUTING]); |
17 | } | ||||
18 | |||||
19 | static struct | ||||
20 | ebt_u_table table = | ||||
21 | { | ||||
Bart De Schuymer | 7cf1cca | 2003-08-30 16:20:19 +0000 | [diff] [blame] | 22 | .name = "broute", |
23 | .help = print_help, | ||||
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 24 | }; |
25 | |||||
Steve Kondik | 8b1e493 | 2016-09-23 10:09:51 -0700 | [diff] [blame] | 26 | void _t_broute_init(void) |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 27 | { |
Bart De Schuymer | 8339ff1 | 2004-01-14 20:05:27 +0000 | [diff] [blame] | 28 | ebt_register_table(&table); |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 29 | } |