iPXE
|
A fragment reassembler. More...
#include <fragment.h>
Data Fields | |
struct list_head | list |
List of fragment reassembly buffers. More... | |
int(* | is_fragment )(struct fragment *fragment, struct io_buffer *iobuf, size_t hdrlen) |
Check if fragment matches fragment reassembly buffer. More... | |
size_t(* | fragment_offset )(struct io_buffer *iobuf, size_t hdrlen) |
Get fragment offset. More... | |
int(* | more_fragments )(struct io_buffer *iobuf, size_t hdrlen) |
Check if more fragments exist. More... | |
struct ip_statistics * | stats |
Associated IP statistics. More... | |
A fragment reassembler.
Definition at line 35 of file fragment.h.
struct list_head fragment_reassembler::list |
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.
fragment | Fragment reassembly buffer |
iobuf | I/O buffer |
hdrlen | Length of non-fragmentable potion of I/O buffer |
is_fragment | Fragment matches this reassembly buffer |
Definition at line 46 of file fragment.h.
Referenced by fragment_find().
Get fragment offset.
iobuf | I/O buffer |
hdrlen | Length of non-fragmentable potion of I/O buffer |
offset | Offset |
Definition at line 55 of file fragment.h.
Referenced by fragment_reassemble().
Check if more fragments exist.
iobuf | I/O buffer |
hdrlen | Length of non-fragmentable potion of I/O buffer |
more_frags | More fragments exist |
Definition at line 63 of file fragment.h.
Referenced by fragment_reassemble().
struct ip_statistics* fragment_reassembler::stats |
Associated IP statistics.
Definition at line 65 of file fragment.h.
Referenced by fragment_expired(), and fragment_reassemble().