Home
last modified time | relevance | path

Searched refs:BPF_WORDALIGN (Results 1 – 11 of 11) sorted by relevance

/dragonfly/sbin/dhclient/
H A Dbpf.c331 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()
/dragonfly/contrib/libpcap/pcap/
H A Dbpf.h112 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) macro
/dragonfly/contrib/tcpdump/
H A Dprint-pflog.c136 hdrlen = BPF_WORDALIGN(hdr->length); in pflog_if_print()
/dragonfly/sys/net/
H A Dbpf.h62 #define BPF_WORDALIGN(x) roundup2(x, BPF_ALIGNMENT) macro
H A Dbpf.c1425 curlen = BPF_WORDALIGN(d->bd_slen); in catchpacket()
1543 bp->bif_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen; in bpfattach_dlt()
/dragonfly/libexec/rbootd/
H A Dbpf.c330 bp += BPF_WORDALIGN(caplen + hdrlen); in BpfRead()
/dragonfly/usr.sbin/usbdump/
H A Dusbdump.c584 temp.align = BPF_WORDALIGN(1); in fix_packets()
597 next = ptr + BPF_WORDALIGN(hdrlen + caplen); in fix_packets()
/dragonfly/contrib/dhcpcd/src/
H A Dbpf.c278 bpf->bpf_pos += BPF_WORDALIGN(packet.bh_hdrlen + in bpf_read()
/dragonfly/usr.sbin/rarpd/
H A Drarpd.c528 bp += BPF_WORDALIGN(hdrlen + caplen); in rarp_loop()
/dragonfly/contrib/libpcap/
H A Dpcap-bpf.c1292 bp += BPF_WORDALIGN(caplen + hdrlen); in pcap_read_bpf()
1307 bp += BPF_WORDALIGN(caplen + hdrlen); in pcap_read_bpf()
/dragonfly/tools/tools/net80211/wesside/wesside/
H A Dwesside.c2322 int offset = BPF_WORDALIGN(tot); in get_80211()