enum tad_pkt_get_frag_mode

Overview

What to do, if more than available in packet is requested? More…

#include <tad_pkt.h>

enum tad_pkt_get_frag_mode {
    TAD_PKT_GET_FRAG_ERROR,
    TAD_PKT_GET_FRAG_TRUNC,
    TAD_PKT_GET_FRAG_RAND,
    TAD_PKT_GET_FRAG_ZERO,
};

Detailed Documentation

What to do, if more than available in packet is requested?

Enum Values

TAD_PKT_GET_FRAG_ERROR

Return an error

TAD_PKT_GET_FRAG_TRUNC

Return less fragment

TAD_PKT_GET_FRAG_RAND

Add segment with randomly filled in data

TAD_PKT_GET_FRAG_ZERO

Add segment with data filled in by zeros