if.c (111815) | if.c (111821) |
---|---|
1/* 2 * Copyright (c) 1980, 1986, 1993 3 * The Regents of the University of California. 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)if.c 8.5 (Berkeley) 1/9/95 | 1/* 2 * Copyright (c) 1980, 1986, 1993 3 * The Regents of the University of California. 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)if.c 8.5 (Berkeley) 1/9/95 |
34 * $FreeBSD: head/sys/net/if.c 111815 2003-03-03 12:15:54Z phk $ | 34 * $FreeBSD: head/sys/net/if.c 111821 2003-03-03 16:24:47Z phk $ |
35 */ 36 37#include "opt_compat.h" 38#include "opt_inet6.h" 39#include "opt_inet.h" 40#include "opt_mac.h" 41 42#include <sys/param.h> --- 88 unchanged lines hidden (view full) --- 131static d_kqfilter_t netkqfilter; 132 133static struct cdevsw net_cdevsw = { 134 .d_open = netopen, 135 .d_close = netclose, 136 .d_ioctl = netioctl, 137 .d_name = "net", 138 .d_maj = MAJOR_AUTO, | 35 */ 36 37#include "opt_compat.h" 38#include "opt_inet6.h" 39#include "opt_inet.h" 40#include "opt_mac.h" 41 42#include <sys/param.h> --- 88 unchanged lines hidden (view full) --- 131static d_kqfilter_t netkqfilter; 132 133static struct cdevsw net_cdevsw = { 134 .d_open = netopen, 135 .d_close = netclose, 136 .d_ioctl = netioctl, 137 .d_name = "net", 138 .d_maj = MAJOR_AUTO, |
139 .d_flags = D_KQFILTER, | |
140 .d_kqfilter = netkqfilter, 141}; 142 143static int 144netopen(dev_t dev, int flag, int mode, struct thread *td) 145{ 146 return (0); 147} --- 1861 unchanged lines hidden --- | 139 .d_kqfilter = netkqfilter, 140}; 141 142static int 143netopen(dev_t dev, int flag, int mode, struct thread *td) 144{ 145 return (0); 146} --- 1861 unchanged lines hidden --- |