ptr_32_le.go 229 B

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