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

package internal

import (
	"unsafe"
)

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