libdata-gcf  1.1.2
Data Fields
gcf_union_hdr Union Reference

Header union type for parsing. More...

+ Collaboration diagram for gcf_union_hdr:

Data Fields

struct gcf_generic_hdr generic
 Generic header shared by all block types.
 
struct gcf_data_hdr data
 Header for data blocks.
 
struct gcf_status_hdr status
 Header for status blocks.
 

Detailed Description

Header union type for parsing.

This type simply contains a union of all of the header types and is used for parsing a packet header (since the output type will not be known at that point). Once parsing is complete, the type can be determined by looking at generic.type.