ptr_64.go 256 B

123456789101112131415
  1. // +build !386,!amd64p32,!arm,!mipsle,!mips64p32le
  2. // +build !armbe,!mips,!mips64p32
  3. package ebpf
  4. import (
  5. "unsafe"
  6. )
  7. // ptr wraps an unsafe.Pointer to be 64bit to
  8. // conform to the syscall specification.
  9. type syscallPtr struct {
  10. ptr unsafe.Pointer
  11. }