Documentation ¶
Index ¶
- type ApiServer
- type Server
- func (s *Server) AddExcludeIfnames(ifnames ...string)
- func (s *Server) AddLink(link netlink.Link)
- func (s *Server) CtrlCh() chan<- string
- func (s *Server) DelLink(link netlink.Link)
- func (s *Server) LinkCh() chan<- netlink.LinkUpdate
- func (s *Server) SendPacket(attrs *netlink.LinkAttrs) error
- func (s *Server) SendPackets()
- func (s *Server) Serve(done <-chan struct{})
- func (s *Server) Start(done <-chan struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func NewApiServer ¶
func (*ApiServer) SendFFPacket ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddExcludeIfnames ¶ added in v0.4.0
func (*Server) LinkCh ¶
func (s *Server) LinkCh() chan<- netlink.LinkUpdate
func (*Server) SendPackets ¶
func (s *Server) SendPackets()
Click to show internal directories.
Click to hide internal directories.