if_tap.h revision 1.6 1 1.6 dholland /* $NetBSD: if_tap.h,v 1.6 2015/09/06 06:01:01 dholland Exp $ */
2 1.1 cube
3 1.1 cube /*
4 1.1 cube * Copyright (c) 2004 The NetBSD Foundation.
5 1.1 cube * All rights reserved.
6 1.1 cube *
7 1.1 cube * Redistribution and use in source and binary forms, with or without
8 1.1 cube * modification, are permitted provided that the following conditions
9 1.1 cube * are met:
10 1.1 cube * 1. Redistributions of source code must retain the above copyright
11 1.1 cube * notice, this list of conditions and the following disclaimer.
12 1.1 cube * 2. Redistributions in binary form must reproduce the above copyright
13 1.1 cube * notice, this list of conditions and the following disclaimer in the
14 1.1 cube * documentation and/or other materials provided with the distribution.
15 1.2 perry *
16 1.1 cube * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17 1.1 cube * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18 1.1 cube * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 1.1 cube * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20 1.1 cube * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 1.1 cube * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 1.1 cube * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 1.1 cube * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 1.1 cube * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 1.1 cube * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 1.1 cube * POSSIBILITY OF SUCH DAMAGE.
27 1.1 cube */
28 1.1 cube
29 1.3 elad #ifndef _NET_IF_TAP_H_
30 1.3 elad #define _NET_IF_TAP_H_
31 1.3 elad
32 1.6 dholland #include <sys/ioccom.h>
33 1.6 dholland
34 1.1 cube /* 'e' comes from former name 'ethfoo' */
35 1.1 cube #define TAPGIFNAME _IOR('e', 0, struct ifreq)
36 1.3 elad
37 1.3 elad #endif /* !_NET_IF_TAP_H_ */
38 1.3 elad
39