Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net s/PF_LINK/AF_LINK/ because that way it makes sense.
details: https://anonhg.NetBSD.org/src/rev/61630bea2e32
branches: trunk
changeset: 573211:61630bea2e32
user: cube <cube%NetBSD.org@localhost>
date: Sat Jan 22 07:33:56 2005 +0000
description:
s/PF_LINK/AF_LINK/ because that way it makes sense.
diffstat:
sys/net/if_tap.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r b6b91ccb9a6b -r 61630bea2e32 sys/net/if_tap.c
--- a/sys/net/if_tap.c Sat Jan 22 07:32:05 2005 +0000
+++ b/sys/net/if_tap.c Sat Jan 22 07:33:56 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tap.c,v 1.2 2005/01/19 10:18:40 cube Exp $ */
+/* $NetBSD: if_tap.c,v 1.3 2005/01/22 07:33:56 cube Exp $ */
/*
* Copyright (c) 2003, 2004 The NetBSD Foundation.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.2 2005/01/19 10:18:40 cube Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.3 2005/01/22 07:33:56 cube Exp $");
#if defined(_KERNEL_OPT)
#include "bpfilter.h"
@@ -325,7 +325,7 @@
&node, CTLFLAG_READWRITE,
CTLTYPE_STRING, sc->sc_dev.dv_xname, NULL,
tap_sysctl_handler, 0, sc, 18,
- CTL_NET, PF_LINK, tap_node, sc->sc_dev.dv_unit, CTL_EOL)) != 0)
+ CTL_NET, AF_LINK, tap_node, sc->sc_dev.dv_unit, CTL_EOL)) != 0)
aprint_error("%s: sysctl_createv returned %d, ignoring\n",
sc->sc_dev.dv_xname, error);
@@ -378,7 +378,7 @@
* sysctl_destroyv. One should be sure to always end the path with
* CTL_EOL.
*/
- if ((error = sysctl_destroyv(NULL, CTL_NET, PF_LINK, tap_node,
+ if ((error = sysctl_destroyv(NULL, CTL_NET, AF_LINK, tap_node,
sc->sc_dev.dv_unit, CTL_EOL)) != 0)
aprint_error("%s: sysctl_destroyv returned %d, ignoring\n",
sc->sc_dev.dv_xname, error);
@@ -1198,7 +1198,7 @@
CTLFLAG_PERMANENT,
CTLTYPE_NODE, "link", NULL,
NULL, 0, NULL, 0,
- CTL_NET, PF_LINK, CTL_EOL)) != 0)
+ CTL_NET, AF_LINK, CTL_EOL)) != 0)
return;
/*
@@ -1218,7 +1218,7 @@
CTLFLAG_PERMANENT,
CTLTYPE_NODE, "tap", NULL,
NULL, 0, NULL, 0,
- CTL_NET, PF_LINK, CTL_CREATE, CTL_EOL)) != 0)
+ CTL_NET, AF_LINK, CTL_CREATE, CTL_EOL)) != 0)
return;
tap_node = node->sysctl_num;
}
Home |
Main Index |
Thread Index |
Old Index