Documentation
¶
Index ¶
- func StartServer(logger *logging.Writer, handler *ARPHandler, paramDir string)
- type ARPHandler
- func (h *ARPHandler) CreateArpGlobal(conf *arpd.ArpGlobal) (bool, error)
- func (h *ARPHandler) DeleteArpGlobal(conf *arpd.ArpGlobal) (bool, error)
- func (h *ARPHandler) DeleteResolveArpIPv4(NextHopIp string) error
- func (h *ARPHandler) ExecuteActionArpDeleteByIPv4Addr(config *arpd.ArpDeleteByIPv4Addr) (bool, error)
- func (h *ARPHandler) ExecuteActionArpDeleteByIfName(config *arpd.ArpDeleteByIfName) (bool, error)
- func (h *ARPHandler) ExecuteActionArpRefreshByIPv4Addr(config *arpd.ArpRefreshByIPv4Addr) (bool, error)
- func (h *ARPHandler) ExecuteActionArpRefreshByIfName(config *arpd.ArpRefreshByIfName) (bool, error)
- func (h *ARPHandler) GetArpEntryState(ipAddr string) (*arpd.ArpEntryState, error)
- func (h *ARPHandler) GetArpLinuxEntryState(ipAddr string) (*arpd.ArpLinuxEntryState, error)
- func (h *ARPHandler) GetBulkArpEntryState(fromIdx arpd.Int, count arpd.Int) (*arpd.ArpEntryStateGetInfo, error)
- func (h *ARPHandler) GetBulkArpLinuxEntryState(fromIdx arpd.Int, count arpd.Int) (*arpd.ArpLinuxEntryStateGetInfo, error)
- func (h *ARPHandler) ResolveArpIPV4(targetIp string, ifId arpdInt.Int) error
- func (h *ARPHandler) SendDeleteResolveArpIPv4(NextHopIp string)
- func (h *ARPHandler) SendResolveArpIPv4(targetIp string, ifId arpdInt.Int)
- func (h *ARPHandler) SendSetArpGlobalConfig(refTimeout int) error
- func (h *ARPHandler) SendUpdateArpGlobalConfig(timeout int) error
- func (h *ARPHandler) UpdateArpGlobal(origConf *arpd.ArpGlobal, newConf *arpd.ArpGlobal, attrset []bool, ...) (bool, error)
- type ClientJson
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(logger *logging.Writer, handler *ARPHandler, paramDir string)
Types ¶
type ARPHandler ¶
type ARPHandler struct {
// contains filtered or unexported fields
}
func NewARPHandler ¶
func NewARPHandler(server *server.ARPServer, logger *logging.Writer) *ARPHandler
func (*ARPHandler) CreateArpGlobal ¶
func (h *ARPHandler) CreateArpGlobal(conf *arpd.ArpGlobal) (bool, error)
func (*ARPHandler) DeleteArpGlobal ¶
func (h *ARPHandler) DeleteArpGlobal(conf *arpd.ArpGlobal) (bool, error)
func (*ARPHandler) DeleteResolveArpIPv4 ¶
func (h *ARPHandler) DeleteResolveArpIPv4(NextHopIp string) error
func (*ARPHandler) ExecuteActionArpDeleteByIPv4Addr ¶
func (h *ARPHandler) ExecuteActionArpDeleteByIPv4Addr(config *arpd.ArpDeleteByIPv4Addr) (bool, error)
func (*ARPHandler) ExecuteActionArpDeleteByIfName ¶
func (h *ARPHandler) ExecuteActionArpDeleteByIfName(config *arpd.ArpDeleteByIfName) (bool, error)
func (*ARPHandler) ExecuteActionArpRefreshByIPv4Addr ¶
func (h *ARPHandler) ExecuteActionArpRefreshByIPv4Addr(config *arpd.ArpRefreshByIPv4Addr) (bool, error)
func (*ARPHandler) ExecuteActionArpRefreshByIfName ¶
func (h *ARPHandler) ExecuteActionArpRefreshByIfName(config *arpd.ArpRefreshByIfName) (bool, error)
func (*ARPHandler) GetArpEntryState ¶
func (h *ARPHandler) GetArpEntryState(ipAddr string) (*arpd.ArpEntryState, error)
func (*ARPHandler) GetArpLinuxEntryState ¶
func (h *ARPHandler) GetArpLinuxEntryState(ipAddr string) (*arpd.ArpLinuxEntryState, error)
func (*ARPHandler) GetBulkArpEntryState ¶
func (h *ARPHandler) GetBulkArpEntryState(fromIdx arpd.Int, count arpd.Int) (*arpd.ArpEntryStateGetInfo, error)
func (*ARPHandler) GetBulkArpLinuxEntryState ¶
func (h *ARPHandler) GetBulkArpLinuxEntryState(fromIdx arpd.Int, count arpd.Int) (*arpd.ArpLinuxEntryStateGetInfo, error)
func (*ARPHandler) ResolveArpIPV4 ¶
func (h *ARPHandler) ResolveArpIPV4(targetIp string, ifId arpdInt.Int) error
func (*ARPHandler) SendDeleteResolveArpIPv4 ¶
func (h *ARPHandler) SendDeleteResolveArpIPv4(NextHopIp string)
func (*ARPHandler) SendResolveArpIPv4 ¶
func (h *ARPHandler) SendResolveArpIPv4(targetIp string, ifId arpdInt.Int)
func (*ARPHandler) SendSetArpGlobalConfig ¶
func (h *ARPHandler) SendSetArpGlobalConfig(refTimeout int) error
func (*ARPHandler) SendUpdateArpGlobalConfig ¶
func (h *ARPHandler) SendUpdateArpGlobalConfig(timeout int) error
func (*ARPHandler) UpdateArpGlobal ¶
func (h *ARPHandler) UpdateArpGlobal(origConf *arpd.ArpGlobal, newConf *arpd.ArpGlobal, attrset []bool, op []*arpd.PatchOpInfo) (bool, error)
type ClientJson ¶
Click to show internal directories.
Click to hide internal directories.