diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-01-13 13:18:31 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-01-13 13:18:31 +0300 |
commit | 494139ffe3997c2ab12885a91abfac13858d62bb (patch) | |
tree | 598140eb9240ddb9f6eba84210709d4a6f2a7bc6 /winsup/cygwin/wincap.h | |
parent | b22830942a9a338983dc3e1dfaae2fc8bbcc0d73 (diff) |
* net.cc (cygwin_setsockopt): Ignore errors when setting IP_TOS on
Windows 2000 and above. Clarify the comment about IP_TOS and move
to the place where the magic happens.
(get_ifconf): Remove unused code.
* wincap.h (wincaps::has_disabled_user_tos_setting): New element.
* wincap.cc: Implement above element throughout.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index ab8b4baa1..f14b274dd 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -64,6 +64,7 @@ struct wincaps unsigned has_null_console_handler_routine : 1; unsigned has_disk_ex_ioctls : 1; unsigned has_working_virtual_lock : 1; + unsigned has_disabled_user_tos_setting : 1; }; class wincapc @@ -134,6 +135,7 @@ public: bool IMPLEMENT (has_null_console_handler_routine) bool IMPLEMENT (has_disk_ex_ioctls) bool IMPLEMENT (has_working_virtual_lock) + bool IMPLEMENT (has_disabled_user_tos_setting) #undef IMPLEMENT }; |