Wed Apr 15 03:32:23 2015 UTC ()
Add $NetBSD$ at the top of the file


(ozaki-r)
diff -r1.39 -r1.40 src/sys/netinet/ip_encap.c

cvs diff -r1.39 -r1.40 src/sys/netinet/ip_encap.c (expand / switch to unified diff)

--- src/sys/netinet/ip_encap.c 2011/07/17 20:54:53 1.39
+++ src/sys/netinet/ip_encap.c 2015/04/15 03:32:23 1.40
@@ -1,13 +1,14 @@ @@ -1,13 +1,14 @@
 1/* $NetBSD: ip_encap.c,v 1.40 2015/04/15 03:32:23 ozaki-r Exp $ */
1/* $KAME: ip_encap.c,v 1.73 2001/10/02 08:30:58 itojun Exp $ */ 2/* $KAME: ip_encap.c,v 1.73 2001/10/02 08:30:58 itojun Exp $ */
2 3
3/* 4/*
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
5 * All rights reserved. 6 * All rights reserved.
6 * 7 *
7 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
9 * are met: 10 * are met:
10 * 1. Redistributions of source code must retain the above copyright 11 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 13 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 14 * notice, this list of conditions and the following disclaimer in the
@@ -64,27 +65,27 @@ @@ -64,27 +65,27 @@
64 * The code assumes that radix table code can handle non-continuous netmask, 65 * The code assumes that radix table code can handle non-continuous netmask,
65 * as it will pass radix table memory region with (src + dst) sockaddr pair. 66 * as it will pass radix table memory region with (src + dst) sockaddr pair.
66 * 67 *
67 * FreeBSD is excluded here as they make max_keylen a static variable, and 68 * FreeBSD is excluded here as they make max_keylen a static variable, and
68 * thus forbid definition of radix table other than proper domains. 69 * thus forbid definition of radix table other than proper domains.
69 *  70 *
70 * !!!!!!! 71 * !!!!!!!
71 * !!NOTE: dom_maxrtkey assumes USE_RADIX is defined. 72 * !!NOTE: dom_maxrtkey assumes USE_RADIX is defined.
72 * !!!!!!! 73 * !!!!!!!
73 */ 74 */
74#define USE_RADIX 75#define USE_RADIX
75 76
76#include <sys/cdefs.h> 77#include <sys/cdefs.h>
77__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.39 2011/07/17 20:54:53 joerg Exp $"); 78__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.40 2015/04/15 03:32:23 ozaki-r Exp $");
78 79
79#include "opt_mrouting.h" 80#include "opt_mrouting.h"
80#include "opt_inet.h" 81#include "opt_inet.h"
81 82
82#include <sys/param.h> 83#include <sys/param.h>
83#include <sys/systm.h> 84#include <sys/systm.h>
84#include <sys/socket.h> 85#include <sys/socket.h>
85#include <sys/sockio.h> 86#include <sys/sockio.h>
86#include <sys/mbuf.h> 87#include <sys/mbuf.h>
87#include <sys/errno.h> 88#include <sys/errno.h>
88#include <sys/protosw.h> 89#include <sys/protosw.h>
89#include <sys/queue.h> 90#include <sys/queue.h>
90 91