mirror of
https://repo.or.cz/socat.git
synced 2025-07-17 00:23:25 +00:00
New option retrieve-vlan (experimental)
This commit is contained in:
parent
11d1e9e11f
commit
b5640dd707
24 changed files with 273 additions and 55 deletions
12
xio.h
12
xio.h
|
@ -206,6 +206,7 @@ typedef struct single {
|
|||
int (*sigchild)(struct single *); /* callback after sigchild */
|
||||
int escape; /* escape character; -1 for no escape */
|
||||
bool actescape; /* escape character found in input data */
|
||||
int shutup; /* children-shutup option */
|
||||
union {
|
||||
struct {
|
||||
int fdout; /* use fd for output */
|
||||
|
@ -224,8 +225,14 @@ typedef struct single {
|
|||
#if _WITH_IP4 || _WITH_IP6
|
||||
struct para_ip ip;
|
||||
#endif /* _WITH_IP4 || _WITH_IP6 */
|
||||
int shutup;
|
||||
/* up to here, keep consistent copy in openssl part !!! */
|
||||
#if HAVE_STRUCT_TPACKET_AUXDATA
|
||||
struct {
|
||||
int packet_auxdata;
|
||||
} ancill_flag;
|
||||
#endif
|
||||
#if HAVE_STRUCT_TPACKET_AUXDATA
|
||||
struct tpacket_auxdata ancill_data_packet_auxdata;
|
||||
#endif
|
||||
#if WITH_UNIX
|
||||
struct {
|
||||
bool tight;
|
||||
|
@ -265,7 +272,6 @@ typedef struct single {
|
|||
#if _WITH_IP4 || _WITH_IP6
|
||||
struct para_ip ip;
|
||||
#endif /* _WITH_IP4 || _WITH_IP6 */
|
||||
int shutup;
|
||||
/* end of the para.socket structure copy */
|
||||
SSL_CTX* ctx; /* for freeing on close */
|
||||
SSL *ssl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue