diff options
author | Brant Thomsen <brant.thomsen@harman.com> | 2017-12-06 16:35:57 -0700 |
---|---|---|
committer | Brant Thomsen <brant.thomsen@harman.com> | 2017-12-06 16:35:57 -0700 |
commit | 23681b9c4e7db6bf6ab1d97c83f2dbb3c6ec6ddc (patch) | |
tree | b69a96ce4f030df6516485571b47ff9ad71f4241 /lib/avtp_pipeline/avtp/openavb_avtp.h | |
parent | 5486b92890334c3a80bcd2af84866add9a94a04a (diff) | |
parent | 80c9fd28a6f926850b39df310e1736d45317ac5c (diff) | |
download | Open-AVB-feature-avtp-pipeline-experimental.tar.gz |
Merge branch 'avb_endpoint' of ssh://git.ctg-server.hmg.ad.harman.com:2222/clones/Open-AVB into feature-avtp-pipeline-experimentalfeature-avtp-pipeline-experimental
# Conflicts:
# lib/avtp_pipeline/README.md
Diffstat (limited to 'lib/avtp_pipeline/avtp/openavb_avtp.h')
-rw-r--r-- | lib/avtp_pipeline/avtp/openavb_avtp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/avtp_pipeline/avtp/openavb_avtp.h b/lib/avtp_pipeline/avtp/openavb_avtp.h index 71139271..eb163373 100644 --- a/lib/avtp_pipeline/avtp/openavb_avtp.h +++ b/lib/avtp_pipeline/avtp/openavb_avtp.h @@ -83,6 +83,13 @@ typedef struct { } avtp_state_t; +/* If EXTENDED_SEQUENCE_NUMBERS is defined, uses the 4 most significant bits of the reserved space + * immediately following the sequence_num value to allow for larger sequence numbers. + * The bit following those 4 bits is also set to indicate that + * extended sequence numbers are in use. + */ +//#define EXTENDED_SEQUENCE_NUMBERS + /* Info associated with an AVTP stream (RX or TX). * * The void* handle that is returned to the client @@ -117,7 +124,11 @@ typedef struct // Max frame size U16 frameLen; // AVTP sequence number +#ifdef EXTENDED_SEQUENCE_NUMBERS + U16 avtp_sequence_num; +#else U8 avtp_sequence_num; +#endif // Paused state of the stream bool bPause; // Encapsulation-specific state information |