...

Source file src/github.com/cilium/ebpf/internal/sys/ptr_64.go

Documentation: github.com/cilium/ebpf/internal/sys

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

View as plain text