peapod  0.1.0
EAPOL Proxy Daemon
Data Structures | Functions
parser.h File Reference

Function prototypes for parser.y, config-related magic numbers and data structures. More...

#include <stdint.h>
#include <net/if.h>
#include <linux/if_ether.h>
Include dependency graph for parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tci_t
 802.1Q VLAN Tag Control Information More...
 
struct  filter_t
 Bitmasks for filtering on EAPOL Packet Type or EAP Code. More...
 
struct  action_t
 Scripts to execute on EAPOL Packet Type or EAP Code. More...
 
struct  ingress_t
 Behavior during the ingress phase for an interface. More...
 
struct  egress_t
 Behavior during the egress phase for an interface. More...
 
struct  iface_t
 Represents a network interface and its associated config. More...
 

Macros

Magic number definitions
#define IFACE_SET_MAC   0xff
 
#define TCI_NO_DOT1Q   0xef
 
#define TCI_UNTOUCHED   0xff
 
#define TCI_UNTOUCHED_16   0xffff
 

Functions

struct iface_tparse_config (const char *path, uint8_t *level)
 
void parser_print_ifaces (struct iface_t *list)
 

Detailed Description

Function prototypes for parser.y, config-related magic numbers and data structures.

Note
parser.y is not documented with Doxygen.

Macro Definition Documentation

#define IFACE_SET_MAC   0xff
#define TCI_NO_DOT1Q   0xef
#define TCI_UNTOUCHED   0xff
#define TCI_UNTOUCHED_16   0xffff

Function Documentation

struct iface_t* parse_config ( const char *  path,
uint8_t *  level 
)
void parser_print_ifaces ( struct iface_t list)