Documentation
¶
Overview ¶
The cpusink package subscribes to a forwarding context and writes packets to genetlink interfaces. It also configures the forwarding context with the IPs assigned to specific netdev interfaces.
Index ¶
Constants ¶
View Source
const (
IP2MeTable = "ip2me"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
Sink is a CPU port client for a forwarding context.
func (*Sink) HandleIPUpdates ¶
HandleIPUpdates subscribe to netlink to get the IP address of the interfaces and updates the forwarding context with the addresses in the ip2me table. TODO: Add support for aggregate interfaces.
Click to show internal directories.
Click to hide internal directories.