Searched refs:BPF_WORDALIGN (Results 1 – 11 of 11) sorted by relevance
331 ifi->rbuf_len = BPF_WORDALIGN(length); in receive_packet()363 ifi->rbuf_offset = BPF_WORDALIGN( in receive_packet()381 ifi->rbuf_offset = BPF_WORDALIGN( in receive_packet()394 ifi->rbuf_offset = BPF_WORDALIGN( in receive_packet()407 ifi->rbuf_offset = BPF_WORDALIGN( in receive_packet()416 ifi->rbuf_offset = BPF_WORDALIGN(ifi->rbuf_offset + in receive_packet()
112 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) macro
136 hdrlen = BPF_WORDALIGN(hdr->length); in pflog_if_print()
62 #define BPF_WORDALIGN(x) roundup2(x, BPF_ALIGNMENT) macro
1425 curlen = BPF_WORDALIGN(d->bd_slen); in catchpacket()1543 bp->bif_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen; in bpfattach_dlt()
330 bp += BPF_WORDALIGN(caplen + hdrlen); in BpfRead()
584 temp.align = BPF_WORDALIGN(1); in fix_packets()597 next = ptr + BPF_WORDALIGN(hdrlen + caplen); in fix_packets()
278 bpf->bpf_pos += BPF_WORDALIGN(packet.bh_hdrlen + in bpf_read()
528 bp += BPF_WORDALIGN(hdrlen + caplen); in rarp_loop()
1292 bp += BPF_WORDALIGN(caplen + hdrlen); in pcap_read_bpf()1307 bp += BPF_WORDALIGN(caplen + hdrlen); in pcap_read_bpf()
2322 int offset = BPF_WORDALIGN(tot); in get_80211()