summaryrefslogtreecommitdiff
path: root/vendor/github.com/cilium/ebpf/internal/ptr_32_le.go
blob: be2ecfca7313f74856109a2649770720f1b33af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// +build 386 amd64p32 arm mipsle mips64p32le

package internal

import (
	"unsafe"
)

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