Describes the available application controls for the Ethernet Audio/Video Bridge (EAVB.)
The Ethernet Audio Video Bridge (EAVB) carries different types of packets (e.g., audio and video) on different virtual LANs (VLANs), using IEEE P802.1p tagging to distinguish different types of packets. This saves applications from having to monitor all of the packets delivered to the physical interface; an application can listen instead to the VLAN interface that delivers the type of packets that interest it.
The avtp_buffer data is arranged in the following ways:
Data Structures | |
| struct | tagNvAvtp1722Header |
| Defines the AVTP 1722 header structure. More... | |
| struct | tagNvAvtp618836Fsd3Hdr |
| Defines the AVTP 61883-6 header structure. More... | |
| struct | tagNvAvtp618834Fsd3Hdr |
| Holds the AVTP 61883-4 header structure. More... | |
| struct | tagNvAvtpCvfFsd2Hdr |
| Holds the AVTP CVF header structure fsd2. More... | |
| struct | tagNvAvtpCvfFsd3Hdr |
| Holds the AVTP CVF header structure. More... | |
| struct | tagNvAvtpCvfH264PayloadHdr |
| struct | tagNvAvtp1722AAFFsd2 |
| Defines the 1722 AVTP audio format fsd2. More... | |
| struct | tagNvAvtp1722AAFFsd3Hdr |
| Defines the 1722 AVTP audio format header. More... | |
| struct | tagNvAvtpEthernetHeader |
| Defines the Ethernet header structure. More... | |
| struct | tagNvAvtpCRFHeader |
| struct | tagNvAvtpInputParams |
| Specifies the AVTP input parameters structure. More... | |
| struct | tagNvAvtp1722AAFParams |
| Defines the AVTP AAF input parameter structure. More... | |
| struct | tagNvAvtpCRFParams |
| Defines the CRF input parameters structure. More... | |
Typedefs | |
| typedef unsigned char | U8 |
| typedef unsigned short | U16 |
| typedef unsigned int | U32 |
| typedef unsigned long long | U64 |
| typedef signed char | S8 |
| typedef signed short | S16 |
| typedef signed int | S32 |
| typedef signed long long | S64 |
| typedef enum tagNvAvtpSubHeaderType | ENvAvtpSubHeaderType |
| Defines AVTP sub-header types. More... | |
| typedef enum tagNvAvtpStatus | ENvAvtpStatus |
| Indicates results from an AVTP function. More... | |
| typedef enum tagNvAvtpBool | ENvAvtpBool |
| Defines Boolean flags for true/false states. More... | |
| typedef struct tagNvAvtp1722Header | NvAvtp1722Header |
| Defines the AVTP 1722 header structure. More... | |
| typedef struct tagNvAvtp618836Fsd3Hdr | NvAvtp618836Fsd3Hdr |
| Defines the AVTP 61883-6 header structure. More... | |
| typedef struct tagNvAvtp618834Fsd3Hdr | NvAvtp618834Fsd3Hdr |
| Holds the AVTP 61883-4 header structure. More... | |
| typedef struct tagNvAvtpCvfFsd2Hdr | NvAvtpCvfFsd2Hdr |
| Holds the AVTP CVF header structure fsd2. More... | |
| typedef struct tagNvAvtpCvfFsd3Hdr | NvAvtpCvfFsd3Hdr |
| Holds the AVTP CVF header structure. More... | |
| typedef struct tagNvAvtpCvfH264PayloadHdr | NvAvtpH264PayloadHdr |
| typedef struct tagNvAvtp1722AAFFsd2 | NvAvtp1722AAFFsd2 |
| Defines the 1722 AVTP audio format fsd2. More... | |
| typedef struct tagNvAvtp1722AAFFsd3Hdr | NvAvtp1722AAFFsd3Hdr |
| Defines the 1722 AVTP audio format header. More... | |
| typedef struct tagNvAvtpEthernetHeader | NvAvtpEthernetHeader |
| Defines the Ethernet header structure. More... | |
| typedef struct tagNvAvtpCRFHeader | NvAvtpCRFHeader |
| typedef struct tagNvAvtpInputParams | NvAvtpInputParams |
| Specifies the AVTP input parameters structure. More... | |
| typedef struct tagNvAvtp1722AAFParams | NvAvtp1722AAFParams |
| Defines the AVTP AAF input parameter structure. More... | |
| typedef struct tagNvAvtpCRFParams | NvAvtpCRFParams |
| Defines the CRF input parameters structure. More... | |
| typedef void * | NvAvtpContextHandle |
Enumerations | |
| enum | tagNvAvtpSubHeaderType { eNvAudio, eNvMpegts, eNvAAF, eNvCRF, eNvRawVideo, eNvCvf } |
| Defines AVTP sub-header types. More... | |
| enum | tagNvAvtpStatus { eNvAvtpSuccess, eNvAvtpFail, eNvAvtpInvalidPointer, eNvAvtpAllocError, eNvAvtpUnsupported, eNvAvtpInvalidParam } |
| Indicates results from an AVTP function. More... | |
| enum | tagNvAvtpBool { eNvAvtpFalse, eNvAvtpTrue } |
| Defines Boolean flags for true/false states. More... | |
Functions | |
| ENvAvtpStatus | NvAvtpInit (NvAvtpInputParams *pNvAvtpInpParams, NvAvtpContextHandle *phContext) |
| Initializes prerequisites to start AVB communication, This function performs the following tasks: More... | |
| ENvAvtpStatus | NvAvtpDeinit (NvAvtpContextHandle hContext) |
| Deinitializes AVB initializations and destroys the AVB context structure instance. More... | |
| ENvAvtpStatus | NvAvtpSetStaticAvtpHeader (NvAvtpContextHandle hContext, U8 *pPacket) |
| Sets the static header part of the AVTP header. More... | |
| ENvAvtpStatus | NvAvtpSetPacketSize (NvAvtpContextHandle hContext, U16 numSampleUnits) |
| Sets the AVTP packet size (header + payload) based on the number of samples to be sent per packet. More... | |
| U32 | NvAvtpGetPacketSize (NvAvtpContextHandle hContext) |
| Gets the AVTP packet size required for the header and payload. More... | |
| ENvAvtpStatus | NvAvtpSetDestAdd (NvAvtpContextHandle hContext, U8 *pPacket, U8 *pDestAddr) |
| Sets the Destination MAC Address in the packet header. More... | |
| ENvAvtpStatus | NvAvtpSetSrcAdd (NvAvtpContextHandle hContext, U8 *pPacket, U8 *pSrcAddr) |
| Sets the Source MAC Address in the packet header. More... | |
| ENvAvtpStatus | NvAvtpSetQTagFields (NvAvtpContextHandle hContext, U8 *pPacket, U32 priority, U32 vid) |
| Sets the QTag fields of the AVTP header. More... | |
| ENvAvtpStatus | NvAvtpSetSIDValid (NvAvtpContextHandle hContext, U8 *pPacket, U8 sidValid) |
| Sets Stream ID validity. More... | |
| ENvAvtpStatus | NvAvtpSetStreamID (NvAvtpContextHandle hContext, U8 *pPacket, U8 *stream_id) |
| Sets the stream ID in the packet header. More... | |
| ENvAvtpStatus | NvAvtpGetCurrentGptpTimeStamp (NvAvtpContextHandle hContext, U32 *pPtpTime) |
| Gets the current time from PHC. More... | |
| ENvAvtpStatus | NvAvtpSetDynamicAvtpHeader (NvAvtpContextHandle hContext, U8 *pPacket) |
| Sets the dynamic part of the packet header. More... | |
| ENvAvtpStatus | NvAvtpFillDataPayload (NvAvtpContextHandle hContext, U8 *pPacket, U8 *pPayload, U16 numSample) |
| Sets the data payload in the AVTP packet. More... | |
| U32 | NvAvtpGetTimeStamp (NvAvtpContextHandle hContext, U8 *pPacket) |
| Gets the timestamp in the 1722 header. More... | |
| U8 | NvAvtpGetSequenceNum (NvAvtpContextHandle hContext, U8 *pPacket) |
| Gets the sequence number in the 1722 header. More... | |
| U64 | NvAvtpGetStreamId (NvAvtpContextHandle hContext, U8 *pPacket) |
| Gets the stream id in the 1722 header. More... | |
| ENvAvtpStatus | NvAvtpGetStreamLength (NvAvtpContextHandle hContext, U8 *pPacket, U32 *streamLength) |
| Gets the length of the data payload in the packet. More... | |
| ENvAvtpStatus | NvAvtpExtractDataPayload (NvAvtpContextHandle hContext, U8 *pPacket, U8 *pPayload) |
| Gets the data payload from the AVTP packet. More... | |
| ENvAvtpBool | NvAvtpIs1722Packet (U8 *pPacket) |
| Determines whether the Ethernet packet is an AVTP 1722 packet. More... | |
| ENvAvtpStatus | NvAvtpGetAAFParams (NvAvtpContextHandle hContext, U8 *pPacket, NvAvtp1722AAFParams *pAvtp1722AAFParameters) |
| Gets the recorded AAF parameters from context. More... | |
| ENvAvtpStatus | NvAvtpParseAAFHeaders (NvAvtpContextHandle hContext, U8 *pPacket) |
| Parses the AVTP AAF headers and populates the AAF parameter structure specified with hContext. More... | |
| ENvAvtpStatus | NvAvtpSetAAFParams (NvAvtpContextHandle hContext, NvAvtp1722AAFParams *pAvtp1722AAFParameters) |
| Sets the AAF parameters into the context. More... | |
| ENvAvtpStatus | NvAvtpSetAAFDefaultParams (NvAvtpContextHandle hContext) |
| Sets the default AAF parameters into the context. More... | |
| ENvAvtpStatus | NvAvtpSetStaticAAFHeader (NvAvtpContextHandle hContext, U8 *pPacket) |
| Sets the static header part of the AVTP header. More... | |
| ENvAvtpStatus | NvAvtpParseAvtpPacket (NvAvtpContextHandle hContext, U8 *pPacket, ENvAvtpSubHeaderType *peDataType) |
| Parses the AVTP packet and populates the header offsets specified with hContext. More... | |
| ENvAvtpStatus | NvAvtpGetMpegtsDataPayloadSize (NvAvtpContextHandle hContext, U8 *pPacket, U32 *dataPayloadSize) |
| Gets the payload size of the AVTP MPEGTS packet. More... | |
| ENvAvtpStatus | NvAvtpGetCvfDataPayloadSize (NvAvtpContextHandle hContext, U8 *pPacket, U32 *dataPayloadSize) |
| Gets the payload size of the AVTP H264 packet. More... | |
| ENvAvtpStatus | NvAvtpGetAudioDataPayloadSize (NvAvtpContextHandle hContext, U8 *pPacket, U32 *dataPayloadSize) |
| Gets the payload size of the AVTP audio packet. More... | |
| ENvAvtpStatus | NvAvtpGetCRFParams (NvAvtpContextHandle hContext, U8 *pPacket, NvAvtpCRFParams *pAvtpCRFParameters) |
| Gets the recorded CRF parameters from the context. More... | |
| #define NV_AVTP_1722_AAF_FSD3_HEADER_SIZE sizeof(NvAvtp1722AAFFsd3Hdr) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_1722_HEADER_SIZE sizeof(NvAvtp1722Header) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_61883_4_FSD3_HEADER_SIZE sizeof(NvAvtp618834Fsd3Hdr) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_61883_6_FSD3_HEADER_SIZE sizeof(NvAvtp618836Fsd3Hdr) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_CRF_HEADER_SIZE sizeof(NvAvtpCRFHeader) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_CVF_FSD3_HEADER_SIZE sizeof(NvAvtpCvfFsd3Hdr) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_ETHERNET_HEADER_SIZE sizeof(NvAvtpEthernetHeader) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_ETHERNET_HEADER_WITHOUT_QTAG_SIZE (sizeof(NvAvtpEthernetHeader) - 4) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| #define NV_AVTP_H264_PAYLOAD_HEADER_SIZE sizeof(NvAvtpH264PayloadHdr) |
Macro for header offsets. See Ethernet Audio/Video Bridge API.
| typedef enum tagNvAvtpBool ENvAvtpBool |
Defines Boolean flags for true/false states.
| typedef enum tagNvAvtpStatus ENvAvtpStatus |
Indicates results from an AVTP function.
| typedef enum tagNvAvtpSubHeaderType ENvAvtpSubHeaderType |
Defines AVTP sub-header types.
| typedef struct tagNvAvtp1722AAFFsd2 NvAvtp1722AAFFsd2 |
Defines the 1722 AVTP audio format fsd2.
| typedef struct tagNvAvtp1722AAFFsd3Hdr NvAvtp1722AAFFsd3Hdr |
Defines the 1722 AVTP audio format header.
| typedef struct tagNvAvtp1722AAFParams NvAvtp1722AAFParams |
Defines the AVTP AAF input parameter structure.
| typedef struct tagNvAvtp1722Header NvAvtp1722Header |
Defines the AVTP 1722 header structure.
| typedef struct tagNvAvtp618834Fsd3Hdr NvAvtp618834Fsd3Hdr |
Holds the AVTP 61883-4 header structure.
| typedef struct tagNvAvtp618836Fsd3Hdr NvAvtp618836Fsd3Hdr |
Defines the AVTP 61883-6 header structure.
| typedef void* NvAvtpContextHandle |
| typedef struct tagNvAvtpCRFHeader NvAvtpCRFHeader |
| typedef struct tagNvAvtpCRFParams NvAvtpCRFParams |
Defines the CRF input parameters structure.
| typedef struct tagNvAvtpCvfFsd2Hdr NvAvtpCvfFsd2Hdr |
Holds the AVTP CVF header structure fsd2.
| typedef struct tagNvAvtpCvfFsd3Hdr NvAvtpCvfFsd3Hdr |
Holds the AVTP CVF header structure.
| typedef struct tagNvAvtpEthernetHeader NvAvtpEthernetHeader |
Defines the Ethernet header structure.
| typedef struct tagNvAvtpCvfH264PayloadHdr NvAvtpH264PayloadHdr |
| typedef struct tagNvAvtpInputParams NvAvtpInputParams |
Specifies the AVTP input parameters structure.
| enum tagNvAvtpBool |
| enum tagNvAvtpStatus |
Indicates results from an AVTP function.
Defines AVTP sub-header types.
| ENvAvtpStatus NvAvtpDeinit | ( | NvAvtpContextHandle | hContext | ) |
Deinitializes AVB initializations and destroys the AVB context structure instance.
| [in] | hContext | A handle to the AVB context structure to destroy. |
| ENvAvtpStatus NvAvtpExtractDataPayload | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U8 * | pPayload | ||
| ) |
Gets the data payload from the AVTP packet.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to an AVTP packet. |
| [out] | pPayload | A pointer to the data payload. |
| ENvAvtpStatus NvAvtpFillDataPayload | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U8 * | pPayload, | ||
| U16 | numSample | ||
| ) |
Sets the data payload in the AVTP packet.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [in] | pPayload | A pointer to the data payload. |
| [in] | numSample | Specifies the number of samples in the packet. |
| ENvAvtpStatus NvAvtpGetAAFParams | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| NvAvtp1722AAFParams * | pAvtp1722AAFParameters | ||
| ) |
Gets the recorded AAF parameters from context.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to an AVTP packet. |
| [out] | pAvtp1722AAFParameters | A pointer to the AAF parameters. |
| ENvAvtpStatus NvAvtpGetAudioDataPayloadSize | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U32 * | dataPayloadSize | ||
| ) |
Gets the payload size of the AVTP audio packet.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [out] | dataPayloadSize | A pointer to the payload size of the AVTP audio packet. |
| ENvAvtpStatus NvAvtpGetCRFParams | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| NvAvtpCRFParams * | pAvtpCRFParameters | ||
| ) |
Gets the recorded CRF parameters from the context.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [out] | pAvtpCRFParameters | A pointer to the recorded CRF parameters from the context. |
| ENvAvtpStatus NvAvtpGetCurrentGptpTimeStamp | ( | NvAvtpContextHandle | hContext, |
| U32 * | pPtpTime | ||
| ) |
Gets the current time from PHC.
| [in] | hContext | A handle to the AVB context structure. |
| [out] | pPtpTime | A pointer to the PHC timestamp. |
| ENvAvtpStatus NvAvtpGetCvfDataPayloadSize | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U32 * | dataPayloadSize | ||
| ) |
Gets the payload size of the AVTP H264 packet.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [out] | dataPayloadSize | A pointer to the payload size of the AVTP H264 packet. |
| ENvAvtpStatus NvAvtpGetMpegtsDataPayloadSize | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U32 * | dataPayloadSize | ||
| ) |
Gets the payload size of the AVTP MPEGTS packet.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [out] | dataPayloadSize | A pointer to the payload size of the AVTP MPEGTS packet. |
| U32 NvAvtpGetPacketSize | ( | NvAvtpContextHandle | hContext | ) |
Gets the AVTP packet size required for the header and payload.
| [in] | hContext | A handle to the AVB context structure. |
| U8 NvAvtpGetSequenceNum | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket | ||
| ) |
Gets the sequence number in the 1722 header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to an AVTP packet. |
| U64 NvAvtpGetStreamId | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket | ||
| ) |
Gets the stream id in the 1722 header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to an AVTP packet. |
| ENvAvtpStatus NvAvtpGetStreamLength | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U32 * | streamLength | ||
| ) |
Gets the length of the data payload in the packet.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to an AVTP packet. |
| [out] | streamLength | A pointer to the stream length. |
| U32 NvAvtpGetTimeStamp | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket | ||
| ) |
Gets the timestamp in the 1722 header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to an AVTP packet. |
| ENvAvtpStatus NvAvtpInit | ( | NvAvtpInputParams * | pNvAvtpInpParams, |
| NvAvtpContextHandle * | phContext | ||
| ) |
Initializes prerequisites to start AVB communication, This function performs the following tasks:
| [in] | pNvAvtpInpParams | A pointer to the input parameters. |
| [in] | phContext | A pointer to the context to create. |
| ENvAvtpBool NvAvtpIs1722Packet | ( | U8 * | pPacket | ) |
Determines whether the Ethernet packet is an AVTP 1722 packet.
| [in] | pPacket | A pointer to an AVTP packet. |
true, indicates the packet is an AVTP 1722 packet. | ENvAvtpStatus NvAvtpParseAAFHeaders | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket | ||
| ) |
Parses the AVTP AAF headers and populates the AAF parameter structure specified with hContext.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to an AVTP packet. |
| ENvAvtpStatus NvAvtpParseAvtpPacket | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| ENvAvtpSubHeaderType * | peDataType | ||
| ) |
Parses the AVTP packet and populates the header offsets specified with hContext.
Checks if there are any packet drops, and checks which type of 61883 packet is present.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [in] | peDataType | A pointer to the AVTP subheader type. |
| ENvAvtpStatus NvAvtpSetAAFDefaultParams | ( | NvAvtpContextHandle | hContext | ) |
Sets the default AAF parameters into the context.
| [in] | hContext | A handle to the AVB context structure. |
| ENvAvtpStatus NvAvtpSetAAFParams | ( | NvAvtpContextHandle | hContext, |
| NvAvtp1722AAFParams * | pAvtp1722AAFParameters | ||
| ) |
Sets the AAF parameters into the context.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pAvtp1722AAFParameters | A pointer to NvAvtp1722AAFParams. |
| ENvAvtpStatus NvAvtpSetDestAdd | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U8 * | pDestAddr | ||
| ) |
Sets the Destination MAC Address in the packet header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [in] | pDestAddr | A pointer to the destination address. |
| ENvAvtpStatus NvAvtpSetDynamicAvtpHeader | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket | ||
| ) |
Sets the dynamic part of the packet header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| ENvAvtpStatus NvAvtpSetPacketSize | ( | NvAvtpContextHandle | hContext, |
| U16 | numSampleUnits | ||
| ) |
Sets the AVTP packet size (header + payload) based on the number of samples to be sent per packet.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | numSampleUnits | Specifies the number of samples per packet. |
| ENvAvtpStatus NvAvtpSetQTagFields | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U32 | priority, | ||
| U32 | vid | ||
| ) |
Sets the QTag fields of the AVTP header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [in] | priority | Specifies the priority of the stream. |
| [in] | vid | Specifies the VLAN ID. |
| ENvAvtpStatus NvAvtpSetSIDValid | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U8 | sidValid | ||
| ) |
Sets Stream ID validity.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [in] | sidValid | Specifies the validity of the stream ID. |
| ENvAvtpStatus NvAvtpSetSrcAdd | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U8 * | pSrcAddr | ||
| ) |
Sets the Source MAC Address in the packet header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [in] | pSrcAddr | A pointer to the source address. |
| ENvAvtpStatus NvAvtpSetStaticAAFHeader | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket | ||
| ) |
Sets the static header part of the AVTP header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| ENvAvtpStatus NvAvtpSetStaticAvtpHeader | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket | ||
| ) |
Sets the static header part of the AVTP header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| ENvAvtpStatus NvAvtpSetStreamID | ( | NvAvtpContextHandle | hContext, |
| U8 * | pPacket, | ||
| U8 * | stream_id | ||
| ) |
Sets the stream ID in the packet header.
| [in] | hContext | A handle to the AVB context structure. |
| [in] | pPacket | A pointer to the AVTP packet. |
| [in] | stream_id | A pointer to the stream ID. |