* 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.
This commit is contained in:
Corinna Vinschen
2006-01-13 10:18:31 +00:00
parent b22830942a
commit 494139ffe3
4 changed files with 70 additions and 34 deletions

View File

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