Deleted Added
full compact
if_tun.c (32957) if_tun.c (33679)
1/* $NetBSD: if_tun.c,v 1.14 1994/06/29 06:36:25 cgd Exp $ */
2
3/*
4 * Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk>
5 * Nottingham University 1987.
6 *
7 * This source may be freely distributed, however I would be interested
8 * in any changes that are made.

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

91#define CDEV_MAJOR 52
92static struct cdevsw tun_cdevsw = {
93 tunopen, tunclose, tunread, tunwrite,
94 tunioctl, nullstop, noreset, nodevtotty,
95 tunpoll, nommap, nostrategy, "tun", NULL, -1
96};
97
98
1/* $NetBSD: if_tun.c,v 1.14 1994/06/29 06:36:25 cgd Exp $ */
2
3/*
4 * Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk>
5 * Nottingham University 1987.
6 *
7 * This source may be freely distributed, however I would be interested
8 * in any changes that are made.

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

91#define CDEV_MAJOR 52
92static struct cdevsw tun_cdevsw = {
93 tunopen, tunclose, tunread, tunwrite,
94 tunioctl, nullstop, noreset, nodevtotty,
95 tunpoll, nommap, nostrategy, "tun", NULL, -1
96};
97
98
99static tun_devsw_installed = 0;
99static int tun_devsw_installed;
100#ifdef DEVFS
101static void *tun_devfs_token[NTUN];
102#endif
103
104static void
105tunattach(dummy)
106 void *dummy;
107{

--- 527 unchanged lines hidden ---
100#ifdef DEVFS
101static void *tun_devfs_token[NTUN];
102#endif
103
104static void
105tunattach(dummy)
106 void *dummy;
107{

--- 527 unchanged lines hidden ---