diff options
Diffstat (limited to 'include/odp/api/spec/packet.h')
-rw-r--r-- | include/odp/api/spec/packet.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h index 924658e34..bf979ecf9 100644 --- a/include/odp/api/spec/packet.h +++ b/include/odp/api/spec/packet.h @@ -168,6 +168,21 @@ extern "C" { */ /** + * @enum odp_packet_chksum_status_t + * Checksum check status in packet + * + * @var ODP_PACKET_CHKSUM_UNKNOWN + * Checksum was not checked. Checksum check was not + * attempted or the attempt failed. + * + * @var ODP_PACKET_CHKSUM_BAD + * Checksum was checked and it was not correct. + * + * @var ODP_PACKET_CHKSUM_OK + * Checksum was checked and it was correct. + */ + +/** * Protocol */ typedef enum odp_proto_t { @@ -219,22 +234,6 @@ typedef struct odp_packet_data_range { } odp_packet_data_range_t; /** - * Checksum check status in packet - */ -typedef enum odp_packet_chksum_status_t { - /** Checksum was not checked. Checksum check was not attempted or - * the attempt failed. */ - ODP_PACKET_CHKSUM_UNKNOWN = 0, - - /** Checksum was checked and it was not correct */ - ODP_PACKET_CHKSUM_BAD, - - /** Checksum was checked and it was correct */ - ODP_PACKET_CHKSUM_OK - -} odp_packet_chksum_status_t; - -/** * Event subtype of a packet * * Returns the subtype of a packet event. Subtype tells if the packet contains |