devela::_dep::nc

Constant BPF_F_STRICT_ALIGNMENT

pub const BPF_F_STRICT_ALIGNMENT: i32 = 1;
Available on crate feature dep_nc only.
Expand description

The verifier will perform strict alignment checking.

If BPF_F_STRICT_ALIGNMENT is used in BPF_PROG_LOAD command, as if the kernel has been built with CONFIG_EFFICIENT_UNALIGNED_ACCESS not set, and NET_IP_ALIGN defined to 2.