Deleted Added
full compact
pdq_ifsubr.c (26640) pdq_ifsubr.c (32350)
1/*-
2 * Copyright (c) 1995, 1996 Matt Thomas <matt@3am-software.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 *
1/*-
2 * Copyright (c) 1995, 1996 Matt Thomas <matt@3am-software.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 *
24 * $Id: pdq_ifsubr.c,v 1.4 1997/03/24 11:32:26 bde Exp $
24 * $Id: pdq_ifsubr.c,v 1.5 1997/06/14 13:56:07 bde Exp $
25 *
26 */
27
28/*
29 * DEC PDQ FDDI Controller; code for BSD derived operating systems
30 *
31 * This module provide bus independent BSD specific O/S functions.
32 * (ie. it provides an ifnet interface to the rest of the system)
33 */
34
35
25 *
26 */
27
28/*
29 * DEC PDQ FDDI Controller; code for BSD derived operating systems
30 *
31 * This module provide bus independent BSD specific O/S functions.
32 * (ie. it provides an ifnet interface to the rest of the system)
33 */
34
35
36#include "opt_inet.h"
37
36#include <sys/param.h>
37#include <sys/socket.h>
38#include <sys/sockio.h>
39#if defined(__bsdi__) || defined(__NetBSD__)
40#include <sys/device.h>
41#endif
42
43#include <net/if.h>
44#include <net/if_dl.h>
45
46#include "bpfilter.h"
47#if NBPFILTER > 0
48#include <net/bpf.h>
49#endif
50
38#include <sys/param.h>
39#include <sys/socket.h>
40#include <sys/sockio.h>
41#if defined(__bsdi__) || defined(__NetBSD__)
42#include <sys/device.h>
43#endif
44
45#include <net/if.h>
46#include <net/if_dl.h>
47
48#include "bpfilter.h"
49#if NBPFILTER > 0
50#include <net/bpf.h>
51#endif
52
53#if defined(__FreeBSD__)
54#include <net/ethernet.h>
55#include <net/if_arp.h>
51#ifdef INET
52#include <netinet/in.h>
53#include <netinet/if_ether.h>
54#endif
56#ifdef INET
57#include <netinet/in.h>
58#include <netinet/if_ether.h>
59#endif
55#if defined(__FreeBSD__)
56#include <netinet/if_fddi.h>
57#else
58#include <net/if_fddi.h>
59#endif
60
61#if defined(__bsdi__)
62#include <i386/isa/isavar.h>
63#endif

--- 325 unchanged lines hidden ---
60#include <netinet/if_fddi.h>
61#else
62#include <net/if_fddi.h>
63#endif
64
65#if defined(__bsdi__)
66#include <i386/isa/isavar.h>
67#endif

--- 325 unchanged lines hidden ---