summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 17:11:41 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 17:11:41 +0000
commit4a744430c172381cee12e1e8fae5bab2f848044d (patch)
treef810a453e46dfd8a09a245d190e20a50e6b80871 /sys/arch
parent0acdbc67a3ded82bf510f4bf399ae31ae655fcbf (diff)
You only need <net/if_dl.h> if you're using LLADDR() or a sockaddr_dl.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/armv7/imx/imxenet.c3
-rw-r--r--sys/arch/armv7/sunxi/sxie.c3
-rw-r--r--sys/arch/hppa/gsc/if_ie_gsc.c3
-rw-r--r--sys/arch/macppc/dev/if_mc.c3
-rw-r--r--sys/arch/macppc/dev/if_wi_obio.c3
-rw-r--r--sys/arch/octeon/dev/if_cnmac.c3
-rw-r--r--sys/arch/sgi/dev/if_iec.c3
-rw-r--r--sys/arch/sgi/dev/if_mec.c3
-rw-r--r--sys/arch/sgi/hpc/if_sq.c3
-rw-r--r--sys/arch/sparc/dev/be.c3
-rw-r--r--sys/arch/sparc/dev/hme.c3
-rw-r--r--sys/arch/sparc/dev/if_gem_sbus.c3
-rw-r--r--sys/arch/sparc/dev/if_ie.c3
-rw-r--r--sys/arch/sparc/dev/if_ti_sbus.c3
-rw-r--r--sys/arch/sparc/dev/qe.c3
-rw-r--r--sys/arch/sparc/dev/qec.c3
-rw-r--r--sys/arch/sparc64/dev/vnet.c3
-rw-r--r--sys/arch/vax/if/if_de.c3
-rw-r--r--sys/arch/vax/if/if_qe.c3
-rw-r--r--sys/arch/vax/if/if_ze.c3
-rw-r--r--sys/arch/vax/if/sgec.c3
-rw-r--r--sys/arch/vax/vsa/if_ze_vsbus.c3
-rw-r--r--sys/arch/vax/vxt/if_ze_vxtbus.c3
23 files changed, 23 insertions, 46 deletions
diff --git a/sys/arch/armv7/imx/imxenet.c b/sys/arch/armv7/imx/imxenet.c
index e6067b5d03c..479f90d2823 100644
--- a/sys/arch/armv7/imx/imxenet.c
+++ b/sys/arch/armv7/imx/imxenet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imxenet.c,v 1.18 2015/11/20 03:35:22 dlg Exp $ */
+/* $OpenBSD: imxenet.c,v 1.19 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
*
@@ -31,7 +31,6 @@
#include "bpfilter.h"
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#if NBPFILTER > 0
#include <net/bpf.h>
diff --git a/sys/arch/armv7/sunxi/sxie.c b/sys/arch/armv7/sunxi/sxie.c
index 15c2eaa8548..c74bbaf7d19 100644
--- a/sys/arch/armv7/sunxi/sxie.c
+++ b/sys/arch/armv7/sunxi/sxie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxie.c,v 1.11 2015/11/20 03:35:22 dlg Exp $ */
+/* $OpenBSD: sxie.c,v 1.12 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2013 Artturi Alm
@@ -34,7 +34,6 @@
#include "bpfilter.h"
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#if NBPFILTER > 0
#include <net/bpf.h>
diff --git a/sys/arch/hppa/gsc/if_ie_gsc.c b/sys/arch/hppa/gsc/if_ie_gsc.c
index b2e0e2a9a99..43029d1cd2d 100644
--- a/sys/arch/hppa/gsc/if_ie_gsc.c
+++ b/sys/arch/hppa/gsc/if_ie_gsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie_gsc.c,v 1.28 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: if_ie_gsc.c,v 1.29 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -41,7 +41,6 @@
#include <sys/sockio.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/macppc/dev/if_mc.c b/sys/arch/macppc/dev/if_mc.c
index 8e3852335a2..31f019bae0f 100644
--- a/sys/arch/macppc/dev/if_mc.c
+++ b/sys/arch/macppc/dev/if_mc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mc.c,v 1.24 2015/11/14 17:26:40 mpi Exp $ */
+/* $OpenBSD: if_mc.c,v 1.25 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_mc.c,v 1.9.16.1 2006/06/21 14:53:13 yamt Exp $ */
/*-
@@ -47,7 +47,6 @@
#include <sys/timeout.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/macppc/dev/if_wi_obio.c b/sys/arch/macppc/dev/if_wi_obio.c
index 64be2e5d952..4758eeabe7a 100644
--- a/sys/arch/macppc/dev/if_wi_obio.c
+++ b/sys/arch/macppc/dev/if_wi_obio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_obio.c,v 1.18 2014/12/22 02:26:53 tedu Exp $ */
+/* $OpenBSD: if_wi_obio.c,v 1.19 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -53,7 +53,6 @@
#include <sys/tree.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/octeon/dev/if_cnmac.c b/sys/arch/octeon/dev/if_cnmac.c
index a5231050ad1..c31b889c85a 100644
--- a/sys/arch/octeon/dev/if_cnmac.c
+++ b/sys/arch/octeon/dev/if_cnmac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cnmac.c,v 1.33 2015/11/21 05:11:32 visa Exp $ */
+/* $OpenBSD: if_cnmac.c,v 1.34 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -54,7 +54,6 @@
#endif
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
diff --git a/sys/arch/sgi/dev/if_iec.c b/sys/arch/sgi/dev/if_iec.c
index 72c1879c8a2..3dc1674dfe5 100644
--- a/sys/arch/sgi/dev/if_iec.c
+++ b/sys/arch/sgi/dev/if_iec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iec.c,v 1.18 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: if_iec.c,v 1.19 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -94,7 +94,6 @@
#include <sys/errno.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#if NBPFILTER > 0
diff --git a/sys/arch/sgi/dev/if_mec.c b/sys/arch/sgi/dev/if_mec.c
index f49165cc26e..1fb905e7ac8 100644
--- a/sys/arch/sgi/dev/if_mec.c
+++ b/sys/arch/sgi/dev/if_mec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mec.c,v 1.33 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: if_mec.c,v 1.34 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_mec_mace.c,v 1.5 2004/08/01 06:36:36 tsutsui Exp $ */
/*
@@ -78,7 +78,6 @@
#include <sys/errno.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#if NBPFILTER > 0
diff --git a/sys/arch/sgi/hpc/if_sq.c b/sys/arch/sgi/hpc/if_sq.c
index 3e2e5c127e9..0f2f0d034dd 100644
--- a/sys/arch/sgi/hpc/if_sq.c
+++ b/sys/arch/sgi/hpc/if_sq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sq.c,v 1.21 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: if_sq.c,v 1.22 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_sq.c,v 1.42 2011/07/01 18:53:47 dyoung Exp $ */
/*
@@ -50,7 +50,6 @@
#include <uvm/uvm_extern.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#if NBPFILTER > 0
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c
index 57057948130..a45833e6708 100644
--- a/sys/arch/sparc/dev/be.c
+++ b/sys/arch/sparc/dev/be.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: be.c,v 1.55 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: be.c,v 1.56 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt and Jason L. Wright.
@@ -38,7 +38,6 @@
#include <sys/timeout.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/netisr.h>
#include <net/if_media.h>
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c
index bcfda759d80..a197caa59a3 100644
--- a/sys/arch/sparc/dev/hme.c
+++ b/sys/arch/sparc/dev/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.74 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: hme.c,v 1.75 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -51,7 +51,6 @@
#include <sys/malloc.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/netisr.h>
#include <net/if_media.h>
diff --git a/sys/arch/sparc/dev/if_gem_sbus.c b/sys/arch/sparc/dev/if_gem_sbus.c
index f77da305e20..99898117ff2 100644
--- a/sys/arch/sparc/dev/if_gem_sbus.c
+++ b/sys/arch/sparc/dev/if_gem_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gem_sbus.c,v 1.4 2015/03/28 19:07:07 miod Exp $ */
+/* $OpenBSD: if_gem_sbus.c,v 1.5 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_gem_sbus.c,v 1.1 2006/11/24 13:23:32 martin Exp $ */
/*-
@@ -42,7 +42,6 @@
#include <sys/socket.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/sparc/dev/if_ie.c b/sys/arch/sparc/dev/if_ie.c
index cede7fbf6a8..50bc9282f77 100644
--- a/sys/arch/sparc/dev/if_ie.c
+++ b/sys/arch/sparc/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.57 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: if_ie.c,v 1.58 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_ie.c,v 1.33 1997/07/29 17:55:38 fair Exp $ */
/*-
@@ -113,7 +113,6 @@ Mode of operation:
#include <sys/timeout.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/netisr.h>
#include <net/route.h>
diff --git a/sys/arch/sparc/dev/if_ti_sbus.c b/sys/arch/sparc/dev/if_ti_sbus.c
index 3f928fea157..9cc6cade175 100644
--- a/sys/arch/sparc/dev/if_ti_sbus.c
+++ b/sys/arch/sparc/dev/if_ti_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti_sbus.c,v 1.3 2014/07/22 10:35:35 mpi Exp $ */
+/* $OpenBSD: if_ti_sbus.c,v 1.4 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -20,7 +20,6 @@
#include <sys/socket.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/sparc/dev/qe.c b/sys/arch/sparc/dev/qe.c
index d5eba3d1eb8..0da22b6e595 100644
--- a/sys/arch/sparc/dev/qe.c
+++ b/sys/arch/sparc/dev/qe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qe.c,v 1.45 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: qe.c,v 1.46 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 1998, 2000 Jason L. Wright.
@@ -46,7 +46,6 @@
#include <sys/malloc.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <net/netisr.h>
diff --git a/sys/arch/sparc/dev/qec.c b/sys/arch/sparc/dev/qec.c
index 3eff3ded97e..964ca7a1da1 100644
--- a/sys/arch/sparc/dev/qec.c
+++ b/sys/arch/sparc/dev/qec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qec.c,v 1.25 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: qec.c,v 1.26 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt and Jason L. Wright.
@@ -39,7 +39,6 @@
#include <sys/socket.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/netisr.h>
#include <net/if_media.h>
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c
index 70bf0bfe1e0..001f317301e 100644
--- a/sys/arch/sparc64/dev/vnet.c
+++ b/sys/arch/sparc64/dev/vnet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnet.c,v 1.49 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: vnet.c,v 1.50 2015/11/24 17:11:38 mpi Exp $ */
/*
* Copyright (c) 2009, 2015 Mark Kettenis
*
@@ -33,7 +33,6 @@
#include <machine/openfirm.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/vax/if/if_de.c b/sys/arch/vax/if/if_de.c
index 545c55353c1..c26e9e5c955 100644
--- a/sys/arch/vax/if/if_de.c
+++ b/sys/arch/vax/if/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.32 2015/11/06 07:08:42 dlg Exp $ */
+/* $OpenBSD: if_de.c,v 1.33 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_de.c,v 1.27 1997/04/19 15:02:29 ragge Exp $ */
/*
@@ -57,7 +57,6 @@
#include <machine/sid.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <netinet/in.h>
#include <netinet/ip.h>
diff --git a/sys/arch/vax/if/if_qe.c b/sys/arch/vax/if/if_qe.c
index 065dfae355a..90d12d77801 100644
--- a/sys/arch/vax/if/if_qe.c
+++ b/sys/arch/vax/if/if_qe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_qe.c,v 1.38 2015/11/20 03:35:22 dlg Exp $ */
+/* $OpenBSD: if_qe.c,v 1.39 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_qe.c,v 1.51 2002/06/08 12:28:37 ragge Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -48,7 +48,6 @@
#include <sys/sockio.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
diff --git a/sys/arch/vax/if/if_ze.c b/sys/arch/vax/if/if_ze.c
index be3bf4b5593..6087e7a7c16 100644
--- a/sys/arch/vax/if/if_ze.c
+++ b/sys/arch/vax/if/if_ze.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ze.c,v 1.10 2014/11/05 07:09:04 jsg Exp $ */
+/* $OpenBSD: if_ze.c,v 1.11 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: if_ze.c,v 1.3 2000/01/24 02:54:03 matt Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -37,7 +37,6 @@
#include <sys/sockio.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/vax/if/sgec.c b/sys/arch/vax/if/sgec.c
index 3b3e40975a5..c77f3d1247f 100644
--- a/sys/arch/vax/if/sgec.c
+++ b/sys/arch/vax/if/sgec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sgec.c,v 1.32 2015/11/14 17:26:40 mpi Exp $ */
+/* $OpenBSD: sgec.c,v 1.33 2015/11/24 17:11:38 mpi Exp $ */
/* $NetBSD: sgec.c,v 1.5 2000/06/04 02:14:14 matt Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -55,7 +55,6 @@
#include <sys/sockio.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/vax/vsa/if_ze_vsbus.c b/sys/arch/vax/vsa/if_ze_vsbus.c
index f00a47f29ed..0e8c91dea1a 100644
--- a/sys/arch/vax/vsa/if_ze_vsbus.c
+++ b/sys/arch/vax/vsa/if_ze_vsbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ze_vsbus.c,v 1.7 2014/11/05 07:09:04 jsg Exp $ */
+/* $OpenBSD: if_ze_vsbus.c,v 1.8 2015/11/24 17:11:39 mpi Exp $ */
/* $NetBSD: if_ze_vsbus.c,v 1.5 2000/07/26 21:50:49 matt Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
@@ -37,7 +37,6 @@
#include <sys/sockio.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/vax/vxt/if_ze_vxtbus.c b/sys/arch/vax/vxt/if_ze_vxtbus.c
index 383e462bbf3..975e1bf312f 100644
--- a/sys/arch/vax/vxt/if_ze_vxtbus.c
+++ b/sys/arch/vax/vxt/if_ze_vxtbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ze_vxtbus.c,v 1.3 2008/08/22 17:09:08 deraadt Exp $ */
+/* $OpenBSD: if_ze_vxtbus.c,v 1.4 2015/11/24 17:11:39 mpi Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved.
*
@@ -35,7 +35,6 @@
#include <sys/socket.h>
#include <net/if.h>
-#include <net/if_dl.h>
#include <net/if_media.h>
#include <netinet/in.h>