peapod
0.1.0
EAPOL Proxy Daemon
|
Function prototypes for process.c
, packet direction symbols.
More...
#include "iface.h"
Go to the source code of this file.
Macros | |
#define | PROCESS_INGRESS 0 |
Ingress phase. More... | |
#define | PROCESS_EGRESS 1 |
Egress phase. More... | |
Functions | |
int | process_filter (struct peapod_packet packet) |
Determine if an EAPOL packet should be filtered (dropped) More... | |
void | process_script (struct peapod_packet packet) |
A wrapper for script() More... | |
Function prototypes for process.c
, packet direction symbols.
#define PROCESS_INGRESS 0 |
Ingress phase.
#define PROCESS_EGRESS 1 |
Egress phase.
int process_filter | ( | struct peapod_packet | packet | ) |
Determine if an EAPOL packet should be filtered (dropped)
packet
should contain enough information to determine whether an ingress or egress filter should be applied.
packet | A struct peapod_packet representing an EAPOL packet |
void process_script | ( | struct peapod_packet | packet | ) |
A wrapper for script()
packet
should contain enough information to determine whether an ingress or egress script should be executed, upon which script()
is called with the appropriate parameters extracted from packet
.
packet | A struct peapod_packet representing an EAPOL packet |