Documentation ¶
Overview ¶
Package ports implements various types of ports supported within Lucius. Each port implements a type satisfying the interface fwdport.Port, and registers a builder to create the port.
Ports does not order packets during processing. Cable ports maintain strict ordering between packets received on the same cable (in-band packets). A packet is not processed until the previous packet is fully processed. However there are no ordering guarantees for packets injected via pakio (out-of-band packet).
Index ¶
Constants ¶
View Source
const AsyncPacketQueueDepth = 10
AsyncPacketQueueDepth is the number of packets buffered for the async write requests. Heuristic says 10 is sufficient.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.