man/pt_BR/ifconfig.8: remove untranslated paragraph
[platform/upstream/net-tools.git] / lib / tunnel.c
1 /*
2  *    Tunnel.c, Alan Cox 1995.
3  *
4  */
5
6 #include "config.h"
7
8 #if HAVE_HWTUNNEL
9 #include <sys/types.h>
10 #include <sys/socket.h>
11 #include <net/if_arp.h>
12 #include <linux/if_ether.h>
13 #include <stdlib.h>
14 #include <stdio.h>
15 #include <errno.h>
16 #include <ctype.h>
17 #include <string.h>
18 #include <unistd.h>
19 #include "net-support.h"
20 #include "pathnames.h"
21
22 extern struct hwtype ether_hwtype;
23
24 static const char *pr_tunnel(const char *ptr)
25 {
26     return ("");
27 }
28
29
30 static int in_tunnel(char *bufp, struct sockaddr *sap)
31 {
32     return (-1);
33 }
34
35
36 struct hwtype tunnel_hwtype =
37 {
38     "tunnel", NULL, /*"IPIP Tunnel", */ ARPHRD_TUNNEL, 0,
39     pr_tunnel, in_tunnel, NULL, 0
40 };
41
42
43 #endif                          /* HAVE_HWTUNNEL */