-/* $OpenBSD: conf.c,v 1.78 2014/12/11 19:44:16 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.79 2015/10/23 15:10:52 claudio Exp $ */
/* $NetBSD: conf.c,v 1.16 1996/10/18 21:26:57 cgd Exp $ */
/*-
cdev_notdef(), /* 65: was urio */
cdev_notdef(), /* 66: was USB scanners */
cdev_fuse_init(NFUSE,fuse), /* 67: fuse */
+ cdev_tun_init(NTUN,tap), /* 68: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.50 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: conf.c,v 1.51 2015/10/23 15:10:52 claudio Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
cdev_disk_init(1,diskmap), /* 90: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 91: pppx */
cdev_fuse_init(NFUSE,fuse), /* 92: fuse */
+ cdev_tun_init(NTUN,tap), /* 93: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.41 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.42 2015/10/23 15:10:52 claudio Exp $ */
/* $NetBSD: conf.c,v 1.10 2002/04/19 01:04:38 wiz Exp $ */
/*
cdev_notdef(),
cdev_disk_init(1,diskmap), /* 102: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 103: pppx */
+ cdev_tun_init(NTUN,tap), /* 104: Ethernet tap */
};
int nblkdev = nitems(bdevsw);
-/* $OpenBSD: conf.c,v 1.19 2014/10/09 04:10:03 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.20 2015/10/23 15:10:52 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
cdev_vscsi_init(NVSCSI,vscsi), /* 53: vscsi */
cdev_disk_init(1,diskmap), /* 54: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 55: pppx */
+ cdev_tun_init(NTUN,tap), /* 56: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.62 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.63 2015/10/23 15:10:52 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
cdev_disk_init(1,diskmap), /* 56: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 57: pppx */
cdev_fuse_init(NFUSE,fuse), /* 58: fuse */
+ cdev_tun_init(NTUN,tap), /* 59: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.29 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.30 2015/10/23 15:10:52 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
cdev_disk_init(1,diskmap), /* 56: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 57: pppx */
cdev_fuse_init(NFUSE,fuse), /* 58: fuse */
+ cdev_tun_init(NTUN,tap), /* 59: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.150 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.151 2015/10/23 15:10:52 claudio Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
cdev_disk_init(1,diskmap), /* 91: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 92: pppx */
cdev_fuse_init(NFUSE,fuse), /* 93: fuse */
+ cdev_tun_init(NTUN,tap), /* 94: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.31 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.32 2015/10/23 15:10:52 claudio Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
cdev_disk_init(1,diskmap), /* 101: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 102: pppx */
cdev_fuse_init(NFUSE,fuse), /* 103: fuse */
+ cdev_tun_init(NTUN,tap), /* 104: Ethernet network tap */
};
int nblkdev = nitems(bdevsw);
-/* $OpenBSD: conf.c,v 1.19 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.20 2015/10/23 15:10:52 claudio Exp $ */
/*
* Copyright (c) 1992, 1993
cdev_pppx_init(NPPPX,pppx), /* 71: pppx */
cdev_notdef(), /* 72: was USB scanners */
cdev_fuse_init(NFUSE,fuse), /* 73: fuse */
+ cdev_tun_init(NTUN,tap), /* 74: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.26 2015/03/03 23:50:37 aoyama Exp $ */
+/* $OpenBSD: conf.c,v 1.27 2015/10/23 15:10:52 claudio Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
cdev_vscsi_init(NVSCSI,vscsi), /* 53: vscsi */
cdev_disk_init(1,diskmap), /* 54: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 55: pppx */
+ cdev_tun_init(NTUN,tap), /* 56: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.62 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.63 2015/10/23 15:10:52 claudio Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
cdev_vscsi_init(NVSCSI,vscsi), /* 83: vscsi */
cdev_disk_init(1,diskmap), /* 84: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 85: pppx */
- cdev_notdef(), /* 86 */
+ cdev_tun_init(NTUN,tap), /* 86: Ethernet network tunnel */
cdev_drm_init(NDRM,drm), /* 87: drm */
cdev_fuse_init(NFUSE,fuse), /* 88: fuse */
};
-/* $OpenBSD: conf.c,v 1.15 2015/07/20 19:44:32 pirofti Exp $ */
+/* $OpenBSD: conf.c,v 1.16 2015/10/23 15:10:52 claudio Exp $ */
/*
* Copyright (c) 1992, 1993
cdev_disk_init(1,diskmap), /* 70: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 71: pppx */
cdev_notdef(), /* 72: was USB scanners */
+ cdev_notdef(), /* 73: fuse on other mips64 */
+ cdev_tun_init(NTUN,tap), /* 74: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.35 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.36 2015/10/23 15:10:52 claudio Exp $ */
/*
* Copyright (c) 1992, 1993
cdev_notdef(), /* 71: */
cdev_notdef(), /* 72: was USB scanners */
cdev_fuse_init(NFUSE,fuse), /* 73: fuse */
+ cdev_tun_init(NTUN,tap), /* 74: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.23 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.24 2015/10/23 15:10:52 claudio Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
cdev_pppx_init(NPPPX,pppx), /* 83: pppx */
cdev_hotplug_init(NHOTPLUG,hotplug), /* 84: devices hot plugging */
cdev_fuse_init(NFUSE,fuse), /* 85: fuse */
+ cdev_tun_init(NTUN,tap), /* 86: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.64 2014/10/09 04:10:03 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.65 2015/10/23 15:10:53 claudio Exp $ */
/* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */
/*
cdev_disk_init(1,diskmap), /* 129: disk mapper */
cdev_pppx_init(NPPPX,pppx), /* 130: pppx */
cdev_hotplug_init(NHOTPLUG,hotplug), /* 131: devices hot plugging */
+ cdev_tun_init(NTUN,tap), /* 132: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.74 2014/12/11 19:44:17 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.75 2015/10/23 15:10:53 claudio Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
cdev_gen_init(NVLDCP,vldcp), /* 132: vldcp */
cdev_vdsp_init(NVDSP,vdsp), /* 133: vdsp */
cdev_fuse_init(NFUSE,fuse), /* 134: fuse */
+ cdev_tun_init(NTUN,tap), /* 135: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-/* $OpenBSD: conf.c,v 1.70 2014/10/09 03:59:59 tedu Exp $ */
+/* $OpenBSD: conf.c,v 1.71 2015/10/23 15:10:53 claudio Exp $ */
/* $NetBSD: conf.c,v 1.44 1999/10/27 16:38:54 ragge Exp $ */
/*-
cdev_pppx_init(NPPPX,pppx), /* 80: pppx */
cdev_audio_init(NAUDIO,audio), /* 81: /dev/audio */
cdev_fuse_init(NFUSE,fuse), /* 82: fuse */
+ cdev_tun_init(NTUN,tap), /* 83: Ethernet network tunnel */
};
int nchrdev = nitems(cdevsw);
-# $OpenBSD: GENERIC,v 1.220 2015/08/10 20:35:36 sthen Exp $
+# $OpenBSD: GENERIC,v 1.221 2015/10/23 15:10:53 claudio Exp $
#
# Machine-independent option; used by all architectures for their
# GENERIC kernel
pseudo-device pppx # PPP multiplexer
pseudo-device sppp 1 # Sync PPP/HDLC
pseudo-device trunk # Trunking support
-pseudo-device tun # network tunneling over tty
+pseudo-device tun # network tunneling over tty (tun & tap)
pseudo-device vether # Virtual ethernet
pseudo-device vxlan # Virtual extensible LAN
pseudo-device vlan # IEEE 802.1Q VLAN
-/* $OpenBSD: conf.h,v 1.134 2015/09/10 18:14:52 mpi Exp $ */
+/* $OpenBSD: conf.h,v 1.135 2015/10/23 15:10:52 claudio Exp $ */
/* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */
/*-
cdev_decl(pf);
cdev_decl(tun);
+cdev_decl(tap);
cdev_decl(pppx);
cdev_decl(random);