File: ebtable_broute.c

package info (click to toggle)
ebtables 2.0.10.4%2Bsnapshot20181205-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 792 kB
  • sloc: ansic: 9,322; sh: 397; makefile: 87; perl: 45
file content (29 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ebtable_broute
 *
 * Authors:
 * Bart De Schuymer <bdschuym@pandora.be>
 *
 * April, 2002
 */

#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,
};

static void _INIT(void)
{
	ebt_register_table(&table);
}