peapod  0.1.0
EAPOL Proxy Daemon
process.h
Go to the documentation of this file.
1 /**
2  * @file process.h
3  * @brief Function prototypes for @p process.c, packet direction symbols
4  */
5 #pragma once
6 
7 #include "iface.h"
8 
9 #define PROCESS_INGRESS 0 /**< @brief Ingress phase */
10 #define PROCESS_EGRESS 1 /**< @brief Egress phase */
11 
12 int process_filter(struct peapod_packet packet);
13 void process_script(struct peapod_packet packet);
Represents an EAPOL packet with some metadata already extracted.
Definition: packet.h:144
int process_filter(struct peapod_packet packet)
Determine if an EAPOL packet should be filtered (dropped)
Definition: process.c:151
Function prototypes for iface.c.
void process_script(struct peapod_packet packet)
A wrapper for script()
Definition: process.c:208