1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-15 07:33:25 +00:00

Improve option retrieve-vlan

This commit is contained in:
Gerhard Rieger 2023-07-27 21:18:23 +02:00
parent 6125ed4e4e
commit 40350ecc79
6 changed files with 29 additions and 12 deletions

2
xio.h
View file

@ -249,6 +249,7 @@ typedef struct single {
#if _WITH_IP4 || _WITH_IP6
struct para_ip ip;
#endif /* _WITH_IP4 || _WITH_IP6 */
/* Copy in openssl part up to here ! */
#if HAVE_STRUCT_TPACKET_AUXDATA
struct {
int packet_auxdata;
@ -256,6 +257,7 @@ typedef struct single {
#endif
#if HAVE_STRUCT_TPACKET_AUXDATA
struct tpacket_auxdata ancill_data_packet_auxdata;
bool retrieve_vlan;
#endif
#if WITH_UNIX
struct {