Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 1 | #include <stdio.h> |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 2 | #include "../include/ebtables_u.h" |
| 3 | |
| 4 | |
| 5 | static void print_help(char **hn) |
| 6 | { |
Bart De Schuymer | 920907b | 2002-07-24 18:38:40 +0000 | [diff] [blame] | 7 | printf("Supported chain for the broute table:\n"); |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 8 | printf("%s\n",hn[NF_BR_BROUTING]); |
| 9 | } |
| 10 | |
| 11 | static struct |
| 12 | ebt_u_table table = |
| 13 | { |
Bart De Schuymer | 7cf1cca | 2003-08-30 16:20:19 +0000 | [diff] [blame] | 14 | .name = "broute", |
| 15 | .help = print_help, |
Bart De Schuymer | 1abc55d | 2002-06-01 19:23:47 +0000 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | static void _init(void) __attribute__ ((constructor)); |
| 19 | static void _init(void) |
| 20 | { |
| 21 | register_table(&table); |
| 22 | } |