struct tapi_ip_frag_spec

Overview

Specification of IPv4 or IPv6 fragment More…

#include <tapi_ip_common.h>

struct tapi_ip_frag_spec {
    // fields

    uint32_t hdr_offset;
    uint32_t real_offset;
    size_t hdr_length;
    size_t real_length;
    bool more_frags;
    bool dont_frag;
    int64_t id;
};

Detailed Documentation

Specification of IPv4 or IPv6 fragment

Fields

uint32_t hdr_offset

Value for “offset” in IP header

uint32_t real_offset

Begin of frag data in real payload

size_t hdr_length

Value for “length” in IP header

size_t real_length

Length of frag data in real payload

bool more_frags

Value for “more frags” flag

bool dont_frag

Value for “don’t frag” flag

int64_t id

Value for ID field; ignored if negative