Deleted Added
full compact
bpfdesc.h (58192) bpfdesc.h (70834)
1/*
2 * Copyright (c) 1990, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from the Stanford/CMU enet packet filter,
6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed
7 * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence
8 * Berkeley Laboratory.

--- 23 unchanged lines hidden (view full) ---

32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)bpfdesc.h 8.1 (Berkeley) 6/10/93
39 *
1/*
2 * Copyright (c) 1990, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from the Stanford/CMU enet packet filter,
6 * (net/enet.c) distributed as part of 4.3BSD, and code contributed
7 * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence
8 * Berkeley Laboratory.

--- 23 unchanged lines hidden (view full) ---

32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)bpfdesc.h 8.1 (Berkeley) 6/10/93
39 *
40 * $FreeBSD: head/sys/net/bpfdesc.h 58192 2000-03-18 06:30:42Z rwatson $
40 * $FreeBSD: head/sys/net/bpfdesc.h 70834 2001-01-09 04:33:49Z wollman $
41 */
42
43#ifndef _NET_BPFDESC_H_
44#define _NET_BPFDESC_H_
45
41 */
42
43#ifndef _NET_BPFDESC_H_
44#define _NET_BPFDESC_H_
45
46#include <sys/select.h>
46#include <sys/selinfo.h>
47
48/*
49 * Descriptor associated with each open bpf file.
50 */
51struct bpf_d {
52 struct bpf_d *bd_next; /* Linked list of descriptors */
53 /*
54 * Buffer slots: two mbuf clusters buffer the incoming packets.

--- 51 unchanged lines hidden ---
47
48/*
49 * Descriptor associated with each open bpf file.
50 */
51struct bpf_d {
52 struct bpf_d *bd_next; /* Linked list of descriptors */
53 /*
54 * Buffer slots: two mbuf clusters buffer the incoming packets.

--- 51 unchanged lines hidden ---