Adding Compilation Files
The
Header File |
Description |
|---|---|
hydra_core.hdr |
Core library, which contains the declarations required by most programs. For example, the definitions of common types and constants, match_kind enumeration, and packet_in for packet parsing. |
hydra_model.hdr |
Provides the definitions for programmable blocks within the |
hydra_headers.hdr |
Provides declarations for common packet protocols, such as Ethernet, IPv4, and IPv6. |
hydra_parser.hdr |
Contains the packet structure definitions supported by the default hardware parser, along with the parser implementation. Users can leverage the pre-provided parser implementation to simplify programming and improve development efficiency. |
hydra_externs.hdr |
Provides extern functions for packet editing and checksum calculation. |
hydra_builtin.hdr |
Provides header structure declarations and action declarations to support default |
log.hdr |
Provides log interface declarations. In the |
The architecture header files are read-only. Do not modify the file content.