enum tad_payload_type

Overview

Type of payload specification in traffic template. More…

#include <tad_types.h>

enum tad_payload_type {
    TAD_PLD_UNKNOWN,
    TAD_PLD_UNSPEC,
    TAD_PLD_BYTES,
    TAD_PLD_LENGTH,
    TAD_PLD_FUNCTION,
    TAD_PLD_STREAM,
    TAD_PLD_MASK,
};

Detailed Documentation

Type of payload specification in traffic template.

Enum Values

TAD_PLD_UNKNOWN

unknown type of payload

TAD_PLD_UNSPEC

undefined, used when there is no pld spec.

TAD_PLD_BYTES

byte sequence

TAD_PLD_LENGTH

only length specified, bytes are random

TAD_PLD_FUNCTION

name of function, which generate payload

TAD_PLD_STREAM

parameters for data stream generating

TAD_PLD_MASK

pattern/mask specification