YAF Core Library
libyaf/libyafrag 0.7.1 API documentation

yfIPFragInfo_st Struct Reference

Fragmentation information structure. More...

#include <decode.h>


Data Fields

uint32_t ipid
 Fragment ID.
uint16_t offset
 Fragment offset within the reassembled datagram.
uint16_t iphlen
 IP header length.
uint16_t l4hlen
 Decoded header length.
uint8_t frag
 Fragmented packet flag.
uint8_t more
 More fragments flag.

Detailed Description

Fragmentation information structure.


Field Documentation

Fragment ID.

This is a 32-bit integer to support both IPv4 and IPv6.

IP header length.

Used to calculate total fragment length.

Decoded header length.

Number of bytes at the start of the packet _not_ represented in the associated packet data.

Fragmented packet flag.

Set when the packet is a fragment, false if it is complete.

More fragments flag.

Set if this fragment is not the last in the packet.


The documentation for this struct was generated from the following file: