1 --- open62541-1.3.2/plugins/ua_pubsub_ethernet.c.orig 2022-06-24 11:05:00.000000000 +0200
2 +++ open62541-1.3.2/plugins/ua_pubsub_ethernet.c 2022-07-02 18:26:09.914301766 +0200
4 #include <open62541/plugin/log_stdout.h>
5 #include <open62541/plugin/pubsub_ethernet.h>
7 +// disable -Werror for xsk declarations (libbpf 0.7+)
8 +#pragma GCC diagnostic warning "-Wdeprecated-declarations"
10 #define RECEIVE_MSG_BUFFER_SIZE 4096
11 static UA_THREAD_LOCAL UA_Byte ReceiveMsgBufferETH[RECEIVE_MSG_BUFFER_SIZE];
13 @@ -50,6 +53,7 @@ static UA_THREAD_LOCAL UA_Byte ReceiveMs
14 # include <bpf/libbpf.h>
17 +# define typeof __typeof__
21 @@ -477,7 +481,7 @@ UA_PubSubChannelEthernetXDP_receive(UA_P
28 xdp_socket = channelDataEthernet->xdpsocket;