peapod  0.1.0
EAPOL Proxy Daemon
Data Fields
peapod_packet Struct Reference

Represents an EAPOL packet with some metadata already extracted. More...

#include "packet.h"

Collaboration diagram for peapod_packet:
Collaboration graph
[legend]

Data Fields

struct timeval tv
 Packet timestamp. More...
 
struct iface_tiface
 Current interface. More...
 
struct iface_tiface_orig
 Interface on which packet was originally received. More...
 
ssize_t len
 Current length. More...
 
ssize_t len_orig
 Original length. More...
 
uint8_t h_dest [ETH_ALEN]
 Destination MAC address. More...
 
uint8_t h_source [ETH_ALEN]
 Source MAC address. More...
 
uint8_t vlan_valid
 Flag: VLAN (802.1Q) tag currently present? More...
 
uint8_t vlan_valid_orig
 Flag: VLAN (802.1Q) tag originally present? More...
 
struct tci_t tci
 Current 802.1Q Tag Control Information. More...
 
struct tci_t tci_orig
 Original 802.1Q Tag Control Information. More...
 
uint8_t type
 EAPOL Packet Type. More...
 
uint8_t code
 EAP Code. More...
 

Detailed Description

Represents an EAPOL packet with some metadata already extracted.

Field Documentation

struct timeval peapod_packet::tv

Packet timestamp.

struct iface_t* peapod_packet::iface

Current interface.

struct iface_t* peapod_packet::iface_orig

Interface on which packet was originally received.

ssize_t peapod_packet::len

Current length.

ssize_t peapod_packet::len_orig

Original length.

uint8_t peapod_packet::h_dest[ETH_ALEN]

Destination MAC address.

uint8_t peapod_packet::h_source[ETH_ALEN]

Source MAC address.

uint8_t peapod_packet::vlan_valid

Flag: VLAN (802.1Q) tag currently present?

uint8_t peapod_packet::vlan_valid_orig

Flag: VLAN (802.1Q) tag originally present?

struct tci_t peapod_packet::tci

Current 802.1Q Tag Control Information.

struct tci_t peapod_packet::tci_orig

Original 802.1Q Tag Control Information.

uint8_t peapod_packet::type

EAPOL Packet Type.

uint8_t peapod_packet::code

EAP Code.


The documentation for this struct was generated from the following file: