Commit Graph
8 Commits
Author SHA1 Message Date
Junxiao Shi 9b27bd2d92 fw: /localhost scope control on outgoing path
refs #1230

Change-Id: I25e38e1b2bf538a72d2185889c1be5401ed93b68
2014-02-27 00:11:36 -07:00
Junxiao Shi c041ca36ed core: global io_service and scheduler
Scheduler and time are imported from ndn-cpp-dev.
Forwarder is using the new scheduler API.
Face system is not transitioned yet.

refs #1290

Change-Id: I5679cb50bbf9890a105f663b038f13951403c2b6
2014-02-26 12:40:22 -07:00
Alexander Afanasyev bd220a053b face: Implementation of encode/decode of LocalControlHeader
LocalControlHeader can only be used on faces that are derived from
LocalFace.  UnixStreamFace is directly inherited from LocalFace,
TCP face has two specializations: generic TcpFace (strictly not local),
and LocalTcpFace.

refs #1213

Change-Id: I8a158c3bc4bb929eedd15757cfddecc0d1049f9f
2014-02-20 15:54:22 -08:00
Alexander Afanasyev 93ce75e6f7 face: Fixing bug with InternalFace considered not local and changing "isLocal" method to be pure virtual
This way the decision about the face locality has to be done explicitly
inside specific face implementation and potentially avoids problems.

Change-Id: I5219cce87385313546453d14a5a7ca4542893911
2014-02-19 14:11:07 -08:00
Junxiao Shi 88884490ae fw: /localhost scope control for incoming Interest
refs #1230

Change-Id: I86fd071ef144caa506b26a723f14232e2af5e2de
2014-02-15 21:08:09 -07:00
Alexander Afanasyev a0a10fb081 face: Implementing close operation and many related fixes in TcpFace and TcpChannel
Change-Id: Ib6b751e80454e149bf94f3867663d5e705cbf4a0
refs: #1250, #1248
2014-02-14 10:00:50 -08:00
Junxiao Shi 06887acf80 fw: set incomingFaceId for incoming packets
refs #1237

Change-Id: I8d62aca2c5a08945fdab8511e7c3e4aaf5d02205
2014-02-13 23:27:36 -07:00
Junxiao Shi 8c8d2187b3 fw: integrate forwarder, strategy, tables
refs #1131, #1136

Change-Id: Ica58341cdc1ea1dc421693a87f35fc50177a707d
2014-01-31 00:53:45 -07:00