syscall.NetlinkRouteAttr.Value (field)
13 uses
syscall (current package)
netlink_linux.go#L151: Value []byte
netlink_linux.go#L175: ra := NetlinkRouteAttr{Attr: *a, Value: vbuf[:int(a.Len)-SizeofRtAttr]}
net
interface_linux.go#L66: switch len(a.Value) {
interface_linux.go#L79: for _, b := range a.Value {
interface_linux.go#L86: ifi.HardwareAddr = a.Value[:]
interface_linux.go#L89: ifi.Name = string(a.Value[:len(a.Value)-1])
interface_linux.go#L91: ifi.MTU = int(*(*uint32)(unsafe.Pointer(&a.Value[:4][0])))
interface_linux.go#L195: return &IPNet{IP: IPv4(a.Value[0], a.Value[1], a.Value[2], a.Value[3]), Mask: CIDRMask(int(ifam.Prefixlen), 8*IPv4len)}
interface_linux.go#L198: copy(ifa.IP, a.Value[:])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |