mirror of
https://repo.or.cz/socat.git
synced 2025-07-06 04:56:33 +00:00
Interface flags now defined with INTERFACE, inherited by TUN
This commit is contained in:
parent
8c9b185890
commit
47af17dbf2
16 changed files with 312 additions and 142 deletions
|
@ -16,6 +16,10 @@
|
|||
#include "utils.h"
|
||||
#include "sysutils.h"
|
||||
|
||||
#if _WITH_INTERFACE
|
||||
const int one = 1;
|
||||
#endif
|
||||
|
||||
/* Substitute for Write():
|
||||
Try to write all bytes before returning; this handles EINTR,
|
||||
EAGAIN/EWOULDBLOCK, and partial write situations. The drawback is that this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue