Improving the debug capabilities of the heap code, changed VFS to use const char...
[tpg/acess2.git] / Modules / IPStack / ipv4.h
index b092bec..d9bc0f7 100644 (file)
@@ -28,7 +28,7 @@ struct sIPv4Header
        } __attribute__((packed));
        Uint8   FragOffHi;      // Number of 8-byte blocks from the original start
        
-       Uint8   TTL;    // Max number of hops effectively
+       Uint8   TTL;    // Max number of hops, effectively
        Uint8   Protocol;
        Uint16  HeaderChecksum; // One's Complement Sum of the entire header must equal zero
        
@@ -46,5 +46,7 @@ struct sIPv4Header
 
 // === FUNCTIONS ===
 extern int     IPv4_RegisterCallback(int ID, tIPCallback Callback);
+extern Uint16  IPv4_Checksum(const void *Buf, int Size);
+extern int     IPv4_SendPacket(tInterface *Iface, tIPv4 Address, int Protocol, int ID, int Length, const void *Data);
 
 #endif

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