Documentation ¶
Overview ¶
Copyright [2016] [SnapRoute Inc]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
_______ __ __________ ___ _______.____ __ ____ __ .___________. ______ __ __ | ____|| | | ____\ \ / / / |\ \ / \ / / | | | | / || | | | | |__ | | | |__ \ V / | (----` \ \/ \/ / | | `---| |----`| ,----'| |__| | | __| | | | __| > < \ \ \ / | | | | | | | __ | | | | `----.| |____ / . \ .----) | \ /\ / | | | | | `----.| | | | |__| |_______||_______/__/ \__\ |_______/ \__/ \__/ |__| |__| \______||__| |__|
Index ¶
- func CreateGlobalConfig(vrf string, retransmit uint32, reachableTime uint32, raTime uint8) (bool, error)
- func GetAllNdpIntfState(from, count int) (int, int, []config.InterfaceEntries)
- func GetAllNeigborEntries(from, count int) (int, int, []config.NeighborConfig)
- func GetNDPGlobalState(vrf string) (*config.GlobalState, error)
- func GetNdpIntfState(intfRef string) *config.InterfaceEntries
- func GetNeighborEntry(ipAddr string) *config.NeighborConfig
- func Init(svr *server.NDPServer)
- func InitComplete() bool
- func SendDeleteByIfName(intfRef string)
- func SendDeleteByNeighborIp(ipAddr string)
- func SendIPIntfNotfication(ifIndex int32, ipaddr, intfRef, msgType string)
- func SendL3PortNotification(ifIndex int32, state, ipAddr string)
- func SendMacMoveNotification(ipAddr string, ifIndex, vlanId int32)
- func SendRefreshByIfName(intfRef string)
- func SendRefreshByNeighborIp(ipAddr string)
- func SendVlanNotification(oper string, vlanId int32, vlanIfIndex int32, vlanName string, ...)
- func UpdateGlobalConfig(vrf string, retransmit uint32, reachableTime uint32, raTime uint8) (bool, error)
- type NDPApiLayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGlobalConfig ¶
func GetAllNdpIntfState ¶
func GetAllNdpIntfState(from, count int) (int, int, []config.InterfaceEntries)
func GetAllNeigborEntries ¶
func GetAllNeigborEntries(from, count int) (int, int, []config.NeighborConfig)
func GetNDPGlobalState ¶
func GetNDPGlobalState(vrf string) (*config.GlobalState, error)
func GetNdpIntfState ¶
func GetNdpIntfState(intfRef string) *config.InterfaceEntries
func GetNeighborEntry ¶
func GetNeighborEntry(ipAddr string) *config.NeighborConfig
func InitComplete ¶
func InitComplete() bool
func SendDeleteByIfName ¶
func SendDeleteByIfName(intfRef string)
func SendDeleteByNeighborIp ¶
func SendDeleteByNeighborIp(ipAddr string)
func SendIPIntfNotfication ¶
func SendL3PortNotification ¶
func SendMacMoveNotification ¶
func SendRefreshByIfName ¶
func SendRefreshByIfName(intfRef string)
func SendRefreshByNeighborIp ¶
func SendRefreshByNeighborIp(ipAddr string)
func SendVlanNotification ¶
Types ¶
type NDPApiLayer ¶
type NDPApiLayer struct {
// contains filtered or unexported fields
}