summaryrefslogtreecommitdiff
path: root/vendor/github.com/cilium/ebpf/internal/sys/ptr_32_be.go
blob: df903d780b150d226592fa79951ecd553bc7c391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//go:build armbe || mips || mips64p32
// +build armbe mips mips64p32

package sys

import (
	"unsafe"
)

// Pointer wraps an unsafe.Pointer to be 64bit to
// conform to the syscall specification.
type Pointer struct {
	pad uint32
	ptr unsafe.Pointer
}