close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of Internal/Caching


Ignore:
Timestamp:
Jan 15, 2016, 6:00:12 AM (8 years ago)
Author:
feixiong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internal/Caching

    v1 v2  
    1 Caching protocol
     1Caching protocol:
     2
     3A separate cache service is implemented external to MF click router and talks with the router through network socket.
     4
     5The following packet types are defined:
     6
     7enum PktType {
     8        REQ_PKT,    // Request packet received
     9        REQ_ACK,    // Request ack sent out: hit or miss
     10        REQ_RESP,   // Cached data sent for a request
     11        DATA_PKT_C, // Data packet received for caching
     12        DATA_RESP,
     13};
     14
     15The message flow of caching is shown in the attached figure.