mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
avb: don't include ethernet header in in packets
Move vlan_id and prio to the stream.
This commit is contained in:
parent
dec2bdf241
commit
9bfb23f3f8
16 changed files with 217 additions and 174 deletions
|
|
@ -54,8 +54,15 @@ struct avb_ethernet_header {
|
|||
uint16_t type;
|
||||
} __attribute__ ((__packed__));
|
||||
|
||||
struct avb_frame_header {
|
||||
uint8_t dest[6];
|
||||
uint8_t src[6];
|
||||
uint16_t type; /* 802.1Q Virtual Lan 0x8100 */
|
||||
uint16_t prio_cfi_id;
|
||||
uint16_t etype;
|
||||
} __attribute__ ((__packed__));
|
||||
|
||||
struct avb_packet_header {
|
||||
struct avb_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