Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-bpf.h76 #define BPF_ALIGNMENT sizeof(bpf_int32) macro
78 #define BPF_ALIGNMENT sizeof(long) macro
80 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1))
Dsavefile.c1098 p->sf.base = (u_char *)malloc(p->bufsize + BPF_ALIGNMENT); in pcap_fopen_offline()
1103 p->buffer = p->sf.base + BPF_ALIGNMENT - (linklen % BPF_ALIGNMENT); in pcap_fopen_offline()