- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BIOCVERSION (0.07 sec)
-
src/syscall/bpf_bsd.go
if err != nil { return err } return nil } // Deprecated: Use golang.org/x/net/bpf instead. func CheckBpfVersion(fd int) error { var v BpfVersion err := ioctlPtr(fd, BIOCVERSION, unsafe.Pointer(&v)) if err != nil { return err } if v.Major != BPF_MAJOR_VERSION || v.Minor != BPF_MINOR_VERSION { return EINVAL } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 4K bytes - Viewed (0)