Bert Belder
|
cf4530307f
|
port: make the definition of 'struct port_state' private
|
2019-05-17 13:42:08 -07:00 |
|
Bert Belder
|
0088a1f263
|
sock: put functions in a more logical order
|
2019-05-17 13:42:08 -07:00 |
|
Bert Belder
|
4727adafb7
|
src: reformat with clang-format 8.0
|
2019-05-17 13:42:08 -07:00 |
|
Bert Belder
|
870273c60d
|
reflock: use proper access mask when creating keyed event
|
2018-12-06 08:54:12 +01:00 |
|
Bert Belder
|
ec78f05d70
|
nt: use documented parameter names for keyed event functions
|
2018-12-06 08:54:05 +01:00 |
|
Bert Belder
|
2cd1a594d4
|
nt: sort NT_NTDLL_IMPORT_LIST
|
2018-12-06 07:15:49 +01:00 |
|
Bert Belder
|
b7289278e1
|
reflock: make assert in reflock_unref() more strict, improve comments
|
2018-12-04 13:19:40 -08:00 |
|
Bert Belder
|
b55b10a934
|
reflock: use lowercase for hex digits consistently
|
2018-12-04 12:28:46 -08:00 |
|
Bert Belder
|
210f4f8fba
|
init: fix grammar and clarify comment
|
2018-11-26 16:43:01 -07:00 |
|
Bert Belder
|
97276ce4dd
|
nt: remove unused LSA_UNICODE_STRING type
|
2018-11-25 23:31:23 -07:00 |
|
Bert Belder
|
bf5e17e5c5
|
sock: avoid a syscall when cancelling already-completed poll operation
|
2018-11-17 00:43:49 -08:00 |
|
Bert Belder
|
8b7b340610
|
sock: fix EPOLLOUT always reported for outgoing connections
This fixes a bug that caused a socket to be always reported writable
after an outgoing connection was successfully established.
|
2018-11-17 00:43:48 -08:00 |
|
Bert Belder
|
d6144b2e83
|
sock: report the same events as linux when connect() fails
|
2018-11-17 00:43:48 -08:00 |
|
Bert Belder
|
9a2efd9db7
|
nt: squelch novelty GCC 8 cast-function-type warnings
|
2018-09-06 22:26:59 +02:00 |
|
Bert Belder
|
dc895c6dec
|
afd: use a simpler method to create AFD helper handles
|
2018-07-23 05:39:34 +02:00 |
|
Bert Belder
|
d78d67632d
|
nt: simplify definition for IO_STATUS_BLOCK
|
2018-06-11 14:44:08 +02:00 |
|
Bert Belder
|
f704614aa2
|
nt: consistent nameing for NT_NTDLL_IMPORT_LIST
|
2018-06-11 14:39:28 +02:00 |
|
Bert Belder
|
02bddcd1a9
|
win: use #ifdef instead of #if defined()
|
2018-06-11 14:38:16 +02:00 |
|
Bert Belder
|
f813598587
|
src,test: use consistent naming style for private names
|
2018-06-06 11:37:43 -07:00 |
|
Bert Belder
|
9fa0461e33
|
win: always set _WIN32_WINNT to 0x0600
|
2018-06-05 17:32:31 -07:00 |
|
Bert Belder
|
95c6d8b7a1
|
afd: remove afd_poll() support for blocking operations
It's an internal API and this functionality is unused.
|
2018-06-04 23:55:31 -07:00 |
|
Bert Belder
|
6e50accebe
|
afd: use SetFileCompletionNotificationModes on driver sockets
This should slightly improve performance.
|
2018-06-04 23:55:31 -07:00 |
|
Bert Belder
|
44f357ab2e
|
afd: simplify afd_create_driver_socket() error-return logic
|
2018-06-04 23:55:30 -07:00 |
|
Bert Belder
|
dd65a0c06b
|
util: move static_assert polyfill to test-util.h
It's no longer used in the main source code.
|
2018-06-04 23:55:30 -07:00 |
|
Bert Belder
|
74e6f02ee4
|
reflock: use Interlocked functions directly, use long instead of uint32_t
|
2018-06-04 23:55:25 -07:00 |
|
Bert Belder
|
49146ab381
|
ws: make retry logic in ws_get_protocol_catalog() more readable
|
2018-06-04 23:12:28 -07:00 |
|
Bert Belder
|
64b714ab36
|
port,sock: drop 'ep_' prefix, rename types to sock_state_t/port_state_t
|
2018-05-17 01:31:29 -07:00 |
|
Bert Belder
|
613a821a30
|
src: rename/remove macros that clang says have reserved names
|
2018-05-17 01:31:28 -07:00 |
|
Bert Belder
|
8f4d4e9602
|
src,test: squelch clang signed/unsigned conversion warnings
|
2018-05-17 01:31:28 -07:00 |
|
Bert Belder
|
cb50462b77
|
afd: simplify definition of IOCTL_AFD_POLL
|
2018-05-17 01:31:26 -07:00 |
|
Bert Belder
|
52e3f7d596
|
nt: remove unused STATUS_* definitions
|
2018-05-17 01:31:25 -07:00 |
|
Bert Belder
|
3e2cc6379f
|
sock: squelch clang non-matching cast warning
|
2018-05-17 01:31:25 -07:00 |
|
Bert Belder
|
73af86d1f5
|
reflock: don't cast away constness from void pointers
|
2018-05-17 01:31:25 -07:00 |
|
Bert Belder
|
a919a57ad2
|
util: remove extra semicolon from static_assert() polyfill
|
2018-05-17 01:31:24 -07:00 |
|
Bert Belder
|
2e882a5dfe
|
util: remove 'unused_fn' macro which itself isn't used
|
2018-05-17 01:31:23 -07:00 |
|
Bert Belder
|
0a817e84ec
|
util: squelch clang cast alignment warning caused by container_of()
|
2018-05-17 01:31:23 -07:00 |
|
Bert Belder
|
3098a3cda5
|
util: don't define _SSIZE_T_DEFINED
Clang complains about it, and it's unnecessary anyway.
|
2018-05-17 01:31:23 -07:00 |
|
Bert Belder
|
a60d90a26a
|
ws: add out param for catalog entry count to ws_get_protocol_catalog()
This avoids a sign-conversion warning on clang 6.x.
|
2018-05-17 01:31:22 -07:00 |
|
Bert Belder
|
fa16c36d95
|
win: suppress clang reserved-id-macro warning when setting _WIN32_WINNT
|
2018-05-17 01:31:22 -07:00 |
|
Bert Belder
|
354e56be7e
|
win: use exact case when including Windows SDK header files
This prevents clang 6.x from emitting nonportable-system-include-path
warnings.
|
2018-05-17 01:31:21 -07:00 |
|
Bert Belder
|
3e3251e0d9
|
error: break up return_error() macro into two non-variadic macros
This prevents clang 6.x from emitting a
gnu-zero-variadic-macro-arguments warning.
|
2018-05-17 01:31:21 -07:00 |
|
Bert Belder
|
e3c63df748
|
error: make err_map_win_error_to_errno() a static function
|
2018-05-17 01:31:20 -07:00 |
|
Bert Belder
|
f00c18e323
|
poll-group: rename _POLL_GROUP_MAX_SIZE to _POLL_GROUP_MAX_GROUP_SIZE
|
2018-05-17 01:31:19 -07:00 |
|
Bert Belder
|
33a6ee6889
|
util: fix missing <assert.h> include
|
2018-05-04 02:45:40 +02:00 |
|
Bert Belder
|
2e4627ba4a
|
util: remove safe_container_of() macro
|
2018-05-04 02:45:40 +02:00 |
|
Bert Belder
|
6f6c32628a
|
thread-safe-tree: don't use safe_container_of()
|
2018-05-04 02:42:02 +02:00 |
|
Bert Belder
|
b9b4cc7686
|
sock: integrate _poll_req_t fields into ep_sock_t, and merge functions
|
2018-05-04 02:13:52 +02:00 |
|
Bert Belder
|
7c57e19298
|
sock: make all ep_sock_t fields private, remove _ep_sock_private_t
|
2018-05-03 23:27:41 +02:00 |
|
Bert Belder
|
74d7624afd
|
port: access ep_sock_t.tree_node and ep_sock_t.queue_node through getters
|
2018-05-03 23:27:40 +02:00 |
|
Bert Belder
|
fb9820b06c
|
src: improve phrasing of some comments, fix spelling error
|
2018-05-03 23:27:04 +02:00 |
|