Modules/IPStack - Fixes from module testing
[tpg/acess2.git] / KernelLand / Modules / IPStack / ipstack.h
index e51fded..ddcdde9 100644 (file)
@@ -71,6 +71,7 @@ struct sInterface {
        char    Name[];
 };
 
+#if 0
 /**
  * \brief Represents a network adapter
  */
@@ -84,6 +85,7 @@ struct sAdapter {
         int    DeviceLen;      //!< Device name length
        char    Device[];       //!< Device name
 };
+#endif
 
 /**
  * \brief Describes a socket file definition
@@ -118,8 +120,9 @@ static const tMacAddr cMAC_ZERO = {{0x00,0x00,0x00,0x00,0x00,0x00}};
 extern int     IPStack_AddFile(tSocketFile *File);
 extern int     IPStack_GetAddressSize(int AddressType);
 extern int     IPStack_CompareAddress(int AddressType, const void *Address1, const void *Address2, int CheckBits);
+extern bool    IPStack_AddressIsBroadcast(int AddrType, const void *Addr, int SubnetBits);
 extern const char      *IPStack_PrintAddress(int AddressType, const void *Address);
 
-extern tRoute  *IPStack_FindRoute(int AddressType, tInterface *Interface, void *Address);
+extern tRoute  *IPStack_FindRoute(int AddressType, tInterface *Interface, const void *Address);
 
 #endif

UCC git Repository :: git.ucc.asn.au