version 1.24, 2001/12/20 07:26:37 |
version 1.25, 2001/12/21 03:21:51 |
Line 48 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 48 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#include <sys/ioctl.h> |
#include <sys/ioctl.h> |
#include <sys/queue.h> |
#include <sys/queue.h> |
#include <sys/syslog.h> |
#include <sys/syslog.h> |
|
#include <sys/protosw.h> |
|
|
#include <net/if.h> |
#include <net/if.h> |
#include <net/route.h> |
#include <net/route.h> |
Line 64 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 65 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#include <netinet6/in6_gif.h> |
#include <netinet6/in6_gif.h> |
#include <netinet6/in6_var.h> |
#include <netinet6/in6_var.h> |
#endif |
#endif |
|
#include <netinet6/ip6protosw.h> |
#include <netinet/ip_ecn.h> |
#include <netinet/ip_ecn.h> |
|
|
#include <net/if_gif.h> |
#include <net/if_gif.h> |
Line 73 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 75 __KERNEL_RCSID(0, "$NetBSD$"); |
|
static int gif_validate6 __P((const struct ip6_hdr *, struct gif_softc *, |
static int gif_validate6 __P((const struct ip6_hdr *, struct gif_softc *, |
struct ifnet *)); |
struct ifnet *)); |
|
|
extern struct ip6protosw in6_gif_protosw; |
extern struct domain inet6domain; |
|
struct ip6protosw in6_gif_protosw = |
|
{ SOCK_RAW, &inet6domain, 0/* IPPROTO_IPV[46] */, PR_ATOMIC|PR_ADDR, |
|
in6_gif_input, rip6_output, 0, rip6_ctloutput, |
|
rip6_usrreq, |
|
0, 0, 0, 0, |
|
}; |
|
|
int |
int |
in6_gif_output(ifp, family, m) |
in6_gif_output(ifp, family, m) |