mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
avb: implement some descriptors
Work on raw ethernet frames.
This commit is contained in:
parent
da14e9f59d
commit
4613c7822f
14 changed files with 1052 additions and 452 deletions
|
|
@ -48,13 +48,14 @@
|
|||
#define AVBTP_SUBTYPE_MAAP 0xFE
|
||||
#define AVBTP_SUBTYPE_EF_CONTROL 0xFF
|
||||
|
||||
struct avbtp_ehternet_header {
|
||||
struct avbtp_ethernet_header {
|
||||
uint8_t dest[6];
|
||||
uint8_t src[6];
|
||||
uint16_t type;
|
||||
} __attribute__ ((__packed__));
|
||||
|
||||
struct avbtp_packet_header {
|
||||
struct avbtp_ethernet_header eth;
|
||||
uint8_t subtype;
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
unsigned sv:1; /* stream_id valid */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue