Documentation ¶
Overview ¶
Package strategycode manages forwarding strategy BPF programs.
Package strategycode manages forwarding strategy BPF programs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GqlStrategyNodeType *gqlserver.NodeType GqlStrategyType *graphql.Object )
GraphQL types.
View Source
var ( Xsyms unsafe.Pointer NXsyms int )
External symbols available to eBPF programs, provided by ndn-dpdk/app/fwdp package.
Functions ¶
func DestroyAll ¶
func DestroyAll()
DestroyAll immediately unloads all strategies. Panics if some strategies are still used in FIB entry.
Types ¶
type Strategy ¶
type Strategy C.StrategyCode
Strategy is a reference of a forwarding strategy BPF program.
func (*Strategy) Close ¶
Close reduces the number of references by one. The strategy will be unloaded when its reference count reaches zero.
Click to show internal directories.
Click to hide internal directories.