EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Data Fields
eth_schema Struct Reference

Ethernet protocol schema definition. More...

#include <packet_decoder.h>

Data Fields

uint64_t timestamp
 
char id [MAX_RANDOM_UUID_LEN]
 
uint32_t caplen
 
uint32_t length
 
char ifname [IF_NAMESIZE]
 
char ether_dhost [MACSTR_LEN]
 
char ether_shost [MACSTR_LEN]
 
uint16_t ether_type
 

Detailed Description

Ethernet protocol schema definition.

Field Documentation

◆ caplen

uint32_t eth_schema::caplen

Packet caplen

◆ ether_dhost

char eth_schema::ether_dhost[MACSTR_LEN]

Packet destination eth addr

◆ ether_shost

char eth_schema::ether_shost[MACSTR_LEN]

Packet source ether addr

◆ ether_type

uint16_t eth_schema::ether_type

Packet packet type ID field

◆ id

char eth_schema::id[MAX_RANDOM_UUID_LEN]

Packet id

◆ ifname

char eth_schema::ifname[IF_NAMESIZE]

Packet interface name

◆ length

uint32_t eth_schema::length

Packet length

◆ timestamp

uint64_t eth_schema::timestamp

Packet timestamp


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