fixes for man page bugs reported by Hugh Redelmeier.
[oss-qm-packages.git] / lib / tunnel.c
blob19606c1a1edcae5c8cf0ffebb4083bdc0341be52
1 /*
2 * Tunnel.c, Alan Cox 1995.
4 */
6 #include "config.h"
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"
22 extern struct hwtype ether_hwtype;
24 static char *pr_tunnel(unsigned char *ptr)
26 return ("");
30 static int in_tunnel(char *bufp, struct sockaddr *sap)
32 return (-1);
36 struct hwtype tunnel_hwtype =
38 "tunnel", NULL, /*"IPIP Tunnel", */ ARPHRD_TUNNEL, 0,
39 pr_tunnel, in_tunnel, NULL, 0
43 #endif /* HAVE_HWTUNNEL */