bpf cleanup
From: Sam Leffler (sam_at_errno.com)
Date: 12/12/03
- Previous message: Alexander Leidinger: "Patch to support the C++ DSO Object Destruction API (PR 59552)"
- Next in thread: Dag-Erling Smørgrav: "Re: bpf cleanup"
- Reply: Dag-Erling Smørgrav: "Re: bpf cleanup"
- Reply: Dag-Erling Smørgrav: "Re: bpf cleanup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: arch@freebsd.org Date: Fri, 12 Dec 2003 12:45:59 -0800
http://people.freebsd.org/~sam/bpf.patch
has changes to eliminate the widespread use of stack-based mbufs for use with
bpf. The patch replaces them with a new bpf_mtap2 routine that does the
right thing w/o exposing the internal workings of bpf. I've restored the
M_ASSERTVALID macro to BPF_MTAP but should probably just move this to the
bpf_mtap/bpf_mtap2 routines.
Buried in this patch are also some changes to make consistent the prepending
of the address family for some devices. Previously some code was assuming
sizeof(int) == sizeof(u_int) == 4 bytes; they've all been changed to use
u_int32_t.
Pending feedback I'll commit this stuff after the freeze is lifted.
Sam
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Alexander Leidinger: "Patch to support the C++ DSO Object Destruction API (PR 59552)"
- Next in thread: Dag-Erling Smørgrav: "Re: bpf cleanup"
- Reply: Dag-Erling Smørgrav: "Re: bpf cleanup"
- Reply: Dag-Erling Smørgrav: "Re: bpf cleanup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|