URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [uclinux/] [userland/] [route/] [lib/] [tunnel.c] - Rev 1767
Go to most recent revision | Compare with Previous | Blame | View Log
/* * Tunnel.c, Alan Cox 1995. * */ #include "config.h" #if HAVE_HWTUNNEL #include <sys/types.h> #include <sys/socket.h> #include <net/if_arp.h> #include <linux/if_ether.h> #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <ctype.h> #include <string.h> #include <unistd.h> #include "net-support.h" #include "pathnames.h" extern struct hwtype ether_hwtype; static char *pr_tunnel(unsigned char *ptr) { return (""); } static char *pr_stunnel(struct sockaddr *sap) { return (""); } static int in_tunnel(char *bufp, struct sockaddr *sap) { return (-1); } struct hwtype tunnel_hwtype = { "tunnel", NULL, /*"IPIP Tunnel", */ ARPHRD_TUNNEL, 0, pr_tunnel, pr_stunnel, in_tunnel, NULL }; #endif /* HAVE_HWTUNNEL */
Go to most recent revision | Compare with Previous | Blame | View Log