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 | { |
| 14 | "broute", |
| 15 | NULL, |
| 16 | print_help, |
| 17 | NULL |
| 18 | }; |
| 19 | |
| 20 | static void _init(void) __attribute__ ((constructor)); |
| 21 | static void _init(void) |
| 22 | { |
| 23 | register_table(&table); |
| 24 | } |