// 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.
bitflags!
{
/// Flags used for the `bpf_cmd::PROG_LOAD` bpf syscall command.
pub struct ProgramLoadFlags: u32
{
/// If this flags is set, the verifier will perform strict alignment checking as if the kernel has been built with `CONFIG_EFFICIENT_UNALIGNED_ACCESS` not set and `NET_IP_ALIGN` defined to 2.
///
/// Known in Linux sources as `BPF_F_STRICT_ALIGNMENT`.
const StrictAlignment = 1;
}
}