From 96d7dee2f0ae6f69124d2cd2f495e93135dbb741 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 17 Jan 2007 19:26:58 +0000 Subject: * Makefile.in (DLL_OFILES): Add fhandler_procnet.o. * autoload.cc (GetAdaptersAddresses): Define. * devices.h (FH_PROCNET): Define new device. * devices.in (dev_procnet_storage): Add "/proc/net" entry. * devices.cc: Regenerate. * dir.cc (readdir_worker): Use isproc_dev macro. * dtable.cc (build_fh_pc): Add FH_PROCNET. * fhandler.h (class fhandler_procnet): New class. * fhandler_proc.cc: Add "net" subdirectory handling. * fhandler_procnet.cc: New file handling "/proc/net" directory. * path.cc (isvirtual_dev): Move to path.h. * path.h (isproc_dev): New macro to identify /proc files by device. (isvirtual_dev): Moved here. Define using isproc_dev. * syscalls.cc (unlink): Use isproc_dev macro. * wincap.h (wincapc::has_gaa_prefixes): New element. (wincapc::has_gaa_on_link_prefix): New element. * wincap.cc: Implement above elements throughout. (wincapc::init): Check XP for service pack and set has_gaa_prefixes appropriately. * include/cygwin/in6.h: Include asm/byteorder.h. --- winsup/cygwin/devices.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/devices.in') diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in index 87c64f2af..22de0c2ee 100644 --- a/winsup/cygwin/devices.in +++ b/winsup/cygwin/devices.in @@ -21,6 +21,9 @@ const device dev_fs_storage = const device dev_proc_storage = {"", {FH_PROC}, ""}; +const device dev_procnet_storage = + {"", {FH_PROCNET}, ""}; + const device dev_netdrive_storage = {"", {FH_NETDRIVE}, ""}; -- cgit v1.2.3