struct tapi_flow_traffic

Overview

Flow Traffic entry structure Traffic entry contains all information to send and receive single pdu. More…

#include <tapi_flow.h>

struct tapi_flow_traffic {
    // fields

    char* name;
    asn_value* value;
    tapi_flow_ep* snd;
    tapi_flow_ep* rcv;
    tapi_flow_ep* rcv_base;
    asn_value* send_tmpl;
    asn_value* recv_ptrn;
    asn_value* recv_base_ptrn;
    int plen;
    int count;
    bool started;
    int total;
    int marked;

    // methods

    SLIST_ENTRY(tapi_flow_traffic);
};

Detailed Documentation

Flow Traffic entry structure Traffic entry contains all information to send and receive single pdu.

Fields

char* name

traffic entry name

asn_value* value

traffic asn notation

tapi_flow_ep* snd

endpoint to send pdu from

tapi_flow_ep* rcv

endpoint to receive pdu at

tapi_flow_ep* rcv_base

second instance of receive endpoint to perform only base matching

asn_value* send_tmpl

send pdu template

asn_value* recv_ptrn

receive pdu pattern

asn_value* recv_base_ptrn

basic receive pattern (only mac/ip addresses matching)

int plen

payload length

int count

amount of times the pdu should be sent

bool started

operating status of receive operation

int total

total count of received pdus matching base rules

int marked

amount of matched received pdus

Methods

SLIST_ENTRY(tapi_flow_traffic)

traffic linked list