struct tad_recv_pkt

Overview

Element in queue of received packets. More…

#include <tad_recv_pkt.h>

struct tad_recv_pkt {
    // fields

    asn_value* nds;
    unsigned int n_layers;
    tad_recv_pkt_layer* layers;
    tad_pkt payload;
    tad_pkts raw;
    struct timeval ts;
    int match_unit;

    // methods

    TAILQ_ENTRY(tad_recv_pkt);
};

Detailed Documentation

Element in queue of received packets.

Fields

asn_value* nds

ASN.1 representation

unsigned int n_layers

Number of layers

tad_recv_pkt_layer* layers

Per-layer data

tad_pkt payload

Payload of the packet

tad_pkts raw

Raw packets

struct timeval ts

Timestamp of the whole packet (timestamp of the last fragment in the case of reassembly)

int match_unit

Index of matched pattern unit, -1 if packet mismatched

Methods

TAILQ_ENTRY(tad_recv_pkt)

List links