Searched refs:BPF_ALIGNMENT (Results 1 – 2 of 2) sorted by relevance
76 #define BPF_ALIGNMENT sizeof(bpf_int32) macro78 #define BPF_ALIGNMENT sizeof(long) macro80 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1))
1098 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()