Documentation ¶
Overview ¶
Package intface implements an internal face for internal applications. It bridges a iface.Face (socket face) on DPDK side and an ndn.L3Face on application side.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector accumulates packets received by ndn.Face.
type IntFace ¶
type IntFace struct { // D is the face on DPDK side. // Packets sent on D are received on A. D iface.Face // ID is the ID on DPDK side. ID iface.ID // A is the face on application side. // Packets sent on A are received by D. A l3.Face // Rx is application side RX channel. // It's equivalent to A.Rx(). Rx <-chan *ndn.Packet // Tx is application side TX channel. // It's equivalent to A.Tx(). Tx chan<- ndn.L3Packet }
IntFace is an iface.Face and a ndn.L3Face connected together.
Click to show internal directories.
Click to hide internal directories.