ebpf-support 0.1.0

Rust support code for generating eBPF byte code .so libraries.
// This file is part of ubpf. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/ubpf/master/COPYRIGHT. No part of predicator, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the COPYRIGHT file.
// Copyright © 2017 The developers of ubpf. See the COPYRIGHT file in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/ubpf/master/COPYRIGHT.


/// Data for the `bpf_cmd::PROG_GET_NEXT_ID`, `bpf_cmd::MAP_GET_NEXT_ID`, `bpf_cmd::PROG_GET_FD_BY_ID` and `bpf_cmd::MAP_GET_FD_BY_ID` bpf syscall commands.
///
/// Anonymously named field and struct in original C sources.
#[repr(C, align(8))]
#[derive(Copy, Clone)]
pub union IdentifierValue
{
	/// First identifier.
	pub start_id: Identifier,
	
	/// Program identifier.
	pub prog_id: ProgramIdentifier,
	
	/// Map identifier.
	pub map_id: Identifier,
	
	/// BTF identifier.
	pub btf_id: Identifier,
}