bpfdesc.h (12820) | bpfdesc.h (13765) |
---|---|
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.5 1995/06/15 18:11:00 pst Exp $ | 40 * $Id: bpfdesc.h,v 1.6 1995/12/14 09:53:11 phk Exp $ |
41 */ 42 43#ifndef _NET_BPFDESC_H_ 44#define _NET_BPFDESC_H_ 45 46#include <sys/select.h> 47 48/* --- 44 unchanged lines hidden (view full) --- 93 * Descriptor associated with each attached hardware interface. 94 */ 95struct bpf_if { 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) */ | 41 */ 42 43#ifndef _NET_BPFDESC_H_ 44#define _NET_BPFDESC_H_ 45 46#include <sys/select.h> 47 48/* --- 44 unchanged lines hidden (view full) --- 93 * Descriptor associated with each attached hardware interface. 94 */ 95struct bpf_if { 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 */ | 101 struct ifnet *bif_ifp; /* corresponding interface */ |
102}; 103 104#endif | 102}; 103 104#endif |