- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Lifru (0.2 sec)
-
src/vendor/golang.org/x/net/lif/link.go
ll.Index = int(nativeEndian.Uint32(lifr.Lifru[:4])) } ioc = int64(syscall.SIOCGLIFFLAGS) if err := ioctl(s, uintptr(ioc), unsafe.Pointer(&lifr)); err == nil { ll.Flags = int(nativeEndian.Uint64(lifr.Lifru[:8])) } ioc = int64(syscall.SIOCGLIFMTU) if err := ioctl(s, uintptr(ioc), unsafe.Pointer(&lifr)); err == nil { ll.MTU = int(nativeEndian.Uint32(lifr.Lifru[:4])) } switch ll.Type {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 3.7K bytes - Viewed (0) -
src/vendor/golang.org/x/net/lif/address.go
} sa := (*sockaddrStorage)(unsafe.Pointer(&lifr.Lifru[0])) l := int(nativeEndian.Uint32(lifr.Lifru1[:4])) if l == 0 { continue } switch sa.Family { case syscall.AF_INET: a := &Inet4Addr{PrefixLen: l} copy(a.IP[:], lifr.Lifru[4:8]) as = append(as, a) case syscall.AF_INET6: a := &Inet6Addr{PrefixLen: l, ZoneID: int(nativeEndian.Uint32(lifr.Lifru[24:28]))} copy(a.IP[:], lifr.Lifru[8:24])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.5K bytes - Viewed (0) -
src/vendor/golang.org/x/net/lif/zsys_solaris_amd64.go
) type lifnum struct { Family uint16 Pad_cgo_0 [2]byte Flags int32 Count int32 } type lifreq struct { Name [32]int8 Lifru1 [4]byte Type uint32 Lifru [336]byte } type lifconf struct { Family uint16 Pad_cgo_0 [2]byte Flags int32 Len int32 Pad_cgo_1 [4]byte Lifcu [8]byte } type lifIfinfoReq struct { Maxhops uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 981 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 7.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go
*(*uint16)(unsafe.Pointer(&ifr.raw.Ifru[:2][0])) = v } // Uint32 returns the Ifreq union data as a C int/Go uint32 value. func (ifr *Ifreq) Uint32() uint32 { return *(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0])) } // SetUint32 sets a C int/Go uint32 value as the Ifreq's union data. func (ifr *Ifreq) SetUint32(v uint32) { ifr.clear() *(*uint32)(unsafe.Pointer(&ifr.raw.Ifru[:4][0])) = v }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.3K bytes - Viewed (0) -
src/net/interface_aix.go
ifr := &ifreq{} copy(ifr.Name[:], ifi.Name) err = unix.Ioctl(sock, syscall.SIOCGIFMTU, unsafe.Pointer(ifr)) if err != nil { return nil, err } ifi.MTU = int(ifr.Ifru[0])<<24 | int(ifr.Ifru[1])<<16 | int(ifr.Ifru[2])<<8 | int(ifr.Ifru[3]) ift = append(ift, *ifi) if ifindex == int(ifm.Index) { break } } } tab = tab[ifm.Msglen:] } return ift, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 4.5K bytes - Viewed (0)