Documentation ¶
Overview ¶
Package rcmn contains small common types used by the border router, to eliminate circular dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir int
Dir represents a packet direction. It is used to designate where a packet came from, and where it is going to.
const ( // DirUnset is the zero-value for Dir, and means the direction hasn't been initialized. DirUnset Dir = iota // DirSelf means the packet is going to/coming from this router. DirSelf // DirLocal means the packet is going to/coming from the local ISD-AS. DirLocal // DirExternal means the packet is going to/coming from another ISD-AS. DirExternal )
Click to show internal directories.
Click to hide internal directories.