1
0
Fork 0
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:
Gerhard Rieger 2023-10-26 19:08:26 +02:00
parent 8c9b185890
commit 47af17dbf2
16 changed files with 312 additions and 142 deletions

View file

@ -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