avb: add packet filter

This commit is contained in:
Wim Taymans 2022-04-01 21:28:43 +02:00
parent 9f25adc0f6
commit 42a4108c08
5 changed files with 67 additions and 18 deletions

View file

@ -28,6 +28,9 @@
#include "packets.h"
#include "internal.h"
#define AVB_TSN_ETH 0x22f0
#define AVB_MAAP_MAC { 0x91, 0xe0, 0xf0, 0x00, 0xff, 0x00 };
#define AVB_MAAP_MESSAGE_TYPE_PROBE 1
#define AVB_MAAP_MESSAGE_TYPE_DEFEND 2
#define AVB_MAAP_MESSAGE_TYPE_ANNOUNCE 3