Cygwin: Create empty fhandler_socket_unix

* Make distinct from AF_LOCAL for testing purposes.  This will have
  to be reverted as soon as fhandler_socket_unix goes life.

* Move saw_reuseaddr flag back to fhandler_socket status

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-02-23 20:59:21 +01:00
parent 5acadbe8af
commit 7f7532fafb
11 changed files with 832 additions and 19 deletions

View File

@@ -244,6 +244,7 @@ enum fh_devices
DEV_SOCK_MAJOR = 30,
FH_SOCKET = FHDEV (DEV_SOCK_MAJOR, 0),
FH_INET = FHDEV (DEV_SOCK_MAJOR, 36),
FH_UNIX = FHDEV (DEV_SOCK_MAJOR, 42),
FH_LOCAL = FHDEV (DEV_SOCK_MAJOR, 120),
FH_NADA = FHDEV (0, 0),
@@ -397,6 +398,8 @@ extern const _device dev_af_inet_storage;
#define af_inet_dev ((device *) &dev_af_inet_storage)
extern const _device dev_af_local_storage;
#define af_local_dev ((device *) &dev_af_local_storage)
extern const _device dev_af_unix_storage;
#define af_unix_dev ((device *) &dev_af_unix_storage)
extern const _device dev_piper_storage;
#define piper_dev ((device *) &dev_piper_storage)