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