...

Source file src/github.com/cilium/ebpf/internal/endian_le.go

Documentation: github.com/cilium/ebpf/internal

     1  //go:build 386 || amd64 || amd64p32 || arm || arm64 || mipsle || mips64le || mips64p32le || ppc64le || riscv64
     2  // +build 386 amd64 amd64p32 arm arm64 mipsle mips64le mips64p32le ppc64le riscv64
     3  
     4  package internal
     5  
     6  import "encoding/binary"
     7  
     8  // NativeEndian is set to either binary.BigEndian or binary.LittleEndian,
     9  // depending on the host's endianness.
    10  var NativeEndian binary.ByteOrder = binary.LittleEndian
    11  
    12  // ClangEndian is set to either "el" or "eb" depending on the host's endianness.
    13  const ClangEndian = "el"
    14  

View as plain text