#include <stdio.h>#include <stdlib.h>#include <string.h>#include <getopt.h>#include <ctype.h>#include "../include/ebtables_u.h"#include "../include/ethernetdb.h"#include <linux/netfilter_bridge/ebt_vlan.h>#include <linux/if_ether.h>
Macros | |
| #define | NAME_VLAN_ID "id" |
| #define | NAME_VLAN_PRIO "prio" |
| #define | NAME_VLAN_ENCAP "encap" |
| #define | VLAN_ID '1' |
| #define | VLAN_PRIO '2' |
| #define | VLAN_ENCAP '3' |
| #define | OPT_VLAN_ID 0x01 |
| #define | OPT_VLAN_PRIO 0x02 |
| #define | OPT_VLAN_ENCAP 0x04 |
| #define | OPT_VLAN_FLAGS (OPT_VLAN_ID | OPT_VLAN_PRIO | OPT_VLAN_ENCAP) |
Functions | |
| void | _init (void) |
Variables | |
| struct ethertypeent * | ethent |
| #define NAME_VLAN_ENCAP "encap" |
| #define NAME_VLAN_ID "id" |
| #define NAME_VLAN_PRIO "prio" |
| #define OPT_VLAN_ENCAP 0x04 |
| #define OPT_VLAN_FLAGS (OPT_VLAN_ID | OPT_VLAN_PRIO | OPT_VLAN_ENCAP) |
| #define OPT_VLAN_ID 0x01 |
| #define OPT_VLAN_PRIO 0x02 |
| #define VLAN_ENCAP '3' |
| #define VLAN_ID '1' |
| #define VLAN_PRIO '2' |
| void _init | ( | void | ) |
| struct ethertypeent* ethent |