- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Getkerninfo (0.15 sec)
-
src/net/interface_aix.go
const _RTAX_NETMASK = 2 const _RTAX_IFA = 5 const _RTAX_MAX = 8 func getIfList() ([]byte, error) { needed, err := syscall.Getkerninfo(_KINFO_RT_IFLIST, 0, 0, 0) if err != nil { return nil, err } tab := make([]byte, needed) _, err = syscall.Getkerninfo(_KINFO_RT_IFLIST, uintptr(unsafe.Pointer(&tab[0])), uintptr(unsafe.Pointer(&needed)), 0) if err != nil { return nil, err } return tab[:needed], 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)