Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-01-13 13:18:31 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-01-13 13:18:31 +0300
commit494139ffe3997c2ab12885a91abfac13858d62bb (patch)
tree598140eb9240ddb9f6eba84210709d4a6f2a7bc6 /winsup/cygwin/wincap.h
parentb22830942a9a338983dc3e1dfaae2fc8bbcc0d73 (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.h2
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
};