1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include <stdio.h> #include "../include/ebtables_u.h" static void print_help(const char **hn) { printf("Supported chain for the broute table:\n"); printf("%s\n",hn[NF_BR_BROUTING]); } static struct ebt_u_table table = { .name = "broute", .help = print_help, }; void _init(void) { ebt_register_table(&table); }