#ifndef DEMUX_H #define DEMUX_H // This file revolves around a table, which stores the following fields: // Again, we optimize for the common case by caching the two last used // entries in the table // This is global for all members of the table unsigned long int DestIP; typedef struct TableEntry { // For ATM and other LANs that support VCI's unsigned long int VCI; // Used to match up the incoming packet unsigned long int SourceIP; unsigned short int Ports; unsigned short int ProtocolType; Q *UserQ; // Where incoming packets are put Q *FreeQ; // Free buffers from the user } TableEntry; #endif //DEMUX.H