if_gre.c (103032) | if_gre.c (103344) |
---|---|
1/* $NetBSD: if_gre.c,v 1.42 2002/08/14 00:23:27 itojun Exp $ */ | 1/* $NetBSD: if_gre.c,v 1.42 2002/08/14 00:23:27 itojun Exp $ */ |
2/* $FreeBSD: head/sys/net/if_gre.c 103032 2002-09-06 18:16:03Z sobomax $ */ | 2/* $FreeBSD: head/sys/net/if_gre.c 103344 2002-09-15 13:54:12Z bde $ */ |
3 4/* 5 * Copyright (c) 1998 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation 9 * by Heiko W.Rupp <hwr@pilhuhn.de> 10 * --- 31 unchanged lines hidden (view full) --- 42 * See RFC 1701 and 1702 for more details. 43 * If_gre is compatible with Cisco GRE tunnels, so you can 44 * have a NetBSD box as the other end of a tunnel interface of a Cisco 45 * router. See gre(4) for more details. 46 * Also supported: IP in IP encaps (proto 55) as of RFC 2004 47 */ 48 49#include <sys/cdefs.h> | 3 4/* 5 * Copyright (c) 1998 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation 9 * by Heiko W.Rupp <hwr@pilhuhn.de> 10 * --- 31 unchanged lines hidden (view full) --- 42 * See RFC 1701 and 1702 for more details. 43 * If_gre is compatible with Cisco GRE tunnels, so you can 44 * have a NetBSD box as the other end of a tunnel interface of a Cisco 45 * router. See gre(4) for more details. 46 * Also supported: IP in IP encaps (proto 55) as of RFC 2004 47 */ 48 49#include <sys/cdefs.h> |
50__RCSID("@(#) $FreeBSD: head/sys/net/if_gre.c 103032 2002-09-06 18:16:03Z sobomax $"); | 50__RCSID("@(#) $FreeBSD: head/sys/net/if_gre.c 103344 2002-09-15 13:54:12Z bde $"); |
51 52#include "opt_inet.h" 53#include "opt_ns.h" 54#include "bpf.h" 55 56#include <sys/param.h> 57#include <sys/kernel.h> 58#include <sys/malloc.h> 59#include <sys/mbuf.h> 60#include <sys/proc.h> 61#include <sys/protosw.h> 62#include <sys/socket.h> 63#include <sys/sockio.h> 64#include <sys/queue.h> 65#include <sys/sysctl.h> | 51 52#include "opt_inet.h" 53#include "opt_ns.h" 54#include "bpf.h" 55 56#include <sys/param.h> 57#include <sys/kernel.h> 58#include <sys/malloc.h> 59#include <sys/mbuf.h> 60#include <sys/proc.h> 61#include <sys/protosw.h> 62#include <sys/socket.h> 63#include <sys/sockio.h> 64#include <sys/queue.h> 65#include <sys/sysctl.h> |
66#include <sys/systm.h> |
|
66 67#include <machine/cpu.h> 68 69#include <net/ethernet.h> 70#include <net/if.h> 71#include <net/if_types.h> 72#include <net/netisr.h> 73#include <net/route.h> --- 710 unchanged lines hidden --- | 67 68#include <machine/cpu.h> 69 70#include <net/ethernet.h> 71#include <net/if.h> 72#include <net/if_types.h> 73#include <net/netisr.h> 74#include <net/route.h> --- 710 unchanged lines hidden --- |