iPXE
Data Fields
fragment_reassembler Struct Reference

A fragment reassembler. More...

#include <fragment.h>

Data Fields

struct list_head list
 List of fragment reassembly buffers.
int(* is_fragment )(struct fragment *fragment, struct io_buffer *iobuf, size_t hdrlen)
 Check if fragment matches fragment reassembly buffer.
size_t(* fragment_offset )(struct io_buffer *iobuf, size_t hdrlen)
 Get fragment offset.
int(* more_fragments )(struct io_buffer *iobuf, size_t hdrlen)
 Check if more fragments exist.
struct ip_statisticsstats
 Associated IP statistics.

Detailed Description

A fragment reassembler.

Definition at line 35 of file fragment.h.


Field Documentation

List of fragment reassembly buffers.

Definition at line 37 of file fragment.h.

Referenced by fragment_find(), and fragment_reassemble().

int( * fragment_reassembler::is_fragment)(struct fragment *fragment, struct io_buffer *iobuf, size_t hdrlen)

Check if fragment matches fragment reassembly buffer.

Parameters:
fragmentFragment reassembly buffer
iobufI/O buffer
hdrlenLength of non-fragmentable potion of I/O buffer
Return values:
is_fragmentFragment matches this reassembly buffer

Definition at line 46 of file fragment.h.

Referenced by fragment_find().

Get fragment offset.

Parameters:
iobufI/O buffer
hdrlenLength of non-fragmentable potion of I/O buffer
Return values:
offsetOffset

Definition at line 55 of file fragment.h.

Referenced by fragment_reassemble().

int( * fragment_reassembler::more_fragments)(struct io_buffer *iobuf, size_t hdrlen)

Check if more fragments exist.

Parameters:
iobufI/O buffer
hdrlenLength of non-fragmentable potion of I/O buffer
Return values:
more_fragsMore fragments exist

Definition at line 63 of file fragment.h.

Referenced by fragment_reassemble().

Associated IP statistics.

Definition at line 65 of file fragment.h.

Referenced by fragment_expired(), and fragment_reassemble().


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