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

Capture structure definition. More...

#include <packet_decoder.h>

Collaboration diagram for capture_packet:
[legend]

Data Fields

struct ether_header * ethh
 
struct ether_arp * arph
 
struct ip * ip4h
 
struct ip6_hdr * ip6h
 
struct tcphdr * tcph
 
struct udphdr * udph
 
struct icmp * icmp4h
 
struct icmp6_hdr * icmp6h
 
struct dns_headerdnsh
 
struct mdns_headermdnsh
 
struct dhcp_headerdhcph
 
struct eth_schema eths
 
struct arp_schema arps
 
struct ip4_schema ip4s
 
struct ip6_schema ip6s
 
struct tcp_schema tcps
 
struct udp_schema udps
 
struct icmp4_schema icmp4s
 
struct icmp6_schema icmp6s
 
struct dns_schema dnss
 
struct mdns_schema mdnss
 
struct dhcp_schema dhcps
 
uint64_t timestamp
 
uint32_t caplen
 
uint32_t length
 
char ifname [IF_NAMESIZE]
 
char id [MAX_RANDOM_UUID_LEN]
 

Detailed Description

Capture structure definition.

Field Documentation

◆ arph

struct ether_arp* capture_packet::arph

Embedded ARP header.

◆ arps

struct arp_schema capture_packet::arps

◆ caplen

uint32_t capture_packet::caplen

◆ dhcph

struct dhcp_header* capture_packet::dhcph

◆ dhcps

struct dhcp_schema capture_packet::dhcps

◆ dnsh

struct dns_header* capture_packet::dnsh

◆ dnss

struct dns_schema capture_packet::dnss

◆ ethh

struct ether_header* capture_packet::ethh

Ethernet header.

◆ eths

struct eth_schema capture_packet::eths

◆ icmp4h

struct icmp* capture_packet::icmp4h

◆ icmp4s

struct icmp4_schema capture_packet::icmp4s

◆ icmp6h

struct icmp6_hdr* capture_packet::icmp6h

◆ icmp6s

struct icmp6_schema capture_packet::icmp6s

◆ id

char capture_packet::id[MAX_RANDOM_UUID_LEN]

◆ ifname

char capture_packet::ifname[IF_NAMESIZE]

◆ ip4h

struct ip* capture_packet::ip4h

◆ ip4s

struct ip4_schema capture_packet::ip4s

◆ ip6h

struct ip6_hdr* capture_packet::ip6h

◆ ip6s

struct ip6_schema capture_packet::ip6s

◆ length

uint32_t capture_packet::length

◆ mdnsh

struct mdns_header* capture_packet::mdnsh

◆ mdnss

struct mdns_schema capture_packet::mdnss

◆ tcph

struct tcphdr* capture_packet::tcph

◆ tcps

struct tcp_schema capture_packet::tcps

◆ timestamp

uint64_t capture_packet::timestamp

◆ udph

struct udphdr* capture_packet::udph

◆ udps

struct udp_schema capture_packet::udps

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