Initial commit

This commit is contained in:
kuralamudhan ramakrishnan
2016-12-13 14:48:12 +00:00
commit 64e8857e21
315 changed files with 95102 additions and 0 deletions

22
vendor/github.com/vishvananda/netlink/neigh.go generated vendored Normal file
View File

@@ -0,0 +1,22 @@
package netlink
import (
"fmt"
"net"
)
// Neigh represents a link layer neighbor from netlink.
type Neigh struct {
LinkIndex int
Family int
State int
Type int
Flags int
IP net.IP
HardwareAddr net.HardwareAddr
}
// String returns $ip/$hwaddr $label
func (neigh *Neigh) String() string {
return fmt.Sprintf("%s %s", neigh.IP, neigh.HardwareAddr)
}