bpfdesc.h (00a838879bb7c43d1f5eb129dda04b412004d952) | bpfdesc.h (f708ef1b9ebe2f38fc7e454e6594efd5a98a2124) |
---|---|
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 * $Id: bpfdesc.h,v 1.4 1994/08/21 05:11:39 paul Exp $ | 40 * $Id: bpfdesc.h,v 1.5 1995/06/15 18:11:00 pst Exp $ |
41 */ 42 43#ifndef _NET_BPFDESC_H_ 44#define _NET_BPFDESC_H_ 45 46#include <sys/select.h> 47 48/* --- 47 unchanged lines hidden (view full) --- 96 struct bpf_if *bif_next; /* list of all interfaces */ 97 struct bpf_d *bif_dlist; /* descriptor list */ 98 struct bpf_if **bif_driverp; /* pointer into softc */ 99 u_int bif_dlt; /* link layer type */ 100 u_int bif_hdrlen; /* length of header (with padding) */ 101 struct ifnet *bif_ifp; /* correspoding interface */ 102}; 103 | 41 */ 42 43#ifndef _NET_BPFDESC_H_ 44#define _NET_BPFDESC_H_ 45 46#include <sys/select.h> 47 48/* --- 47 unchanged lines hidden (view full) --- 96 struct bpf_if *bif_next; /* list of all interfaces */ 97 struct bpf_d *bif_dlist; /* descriptor list */ 98 struct bpf_if **bif_driverp; /* pointer into softc */ 99 u_int bif_dlt; /* link layer type */ 100 u_int bif_hdrlen; /* length of header (with padding) */ 101 struct ifnet *bif_ifp; /* correspoding interface */ 102}; 103 |
104#ifdef KERNEL 105int bpf_setf __P((struct bpf_d *, struct bpf_program *)); | |
106#endif | 104#endif |
107 108#endif | |