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.
- Timestamp:
-
Jan 15, 2016, 6:00:12 AM (8 years ago)
- Author:
-
feixiong
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
1 | | Caching protocol |
| 1 | Caching protocol: |
| 2 | |
| 3 | A separate cache service is implemented external to MF click router and talks with the router through network socket. |
| 4 | |
| 5 | The following packet types are defined: |
| 6 | |
| 7 | enum 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 | |
| 15 | The message flow of caching is shown in the attached figure. |