Home
last modified time | relevance | path

Searched refs:BPF_ALIGNMENT (Results 1 – 4 of 4) sorted by relevance

/external/libpcap/pcap/
Dbpf.h106 #define BPF_ALIGNMENT sizeof(bpf_int32) macro
108 #define BPF_ALIGNMENT sizeof(long) macro
110 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1))
/external/scapy/scapy/arch/bpf/
Dsupersocket.py27 BPF_ALIGNMENT = 8 # sizeof(long) variable
29 BPF_ALIGNMENT = 4 # sizeof(int32_t) variable
225 return ((bh_h + bh_c)+(BPF_ALIGNMENT-1)) & ~(BPF_ALIGNMENT-1)
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1271 pub const BPF_ALIGNMENT: usize = SIZEOF_LONG; constant
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs3212 pub const BPF_ALIGNMENT: ::c_int = 4; constant