netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ebt_vlan.c File Reference
#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>
Include dependency graph for ebt_vlan.c:

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 ethertypeentethent
 

Macro Definition Documentation

#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'

Function Documentation

void _init ( void  )

References ebt_register_match().

Here is the call graph for this function:

Variable Documentation