| version 1.37.2.7, 2001/11/14 19:18:09 |
version 1.37.2.8, 2002/01/08 00:34:19 |
| Line 124 __KERNEL_RCSID(0, "$NetBSD$"); |
|
| Line 124 __KERNEL_RCSID(0, "$NetBSD$"); |
|
| #include "gif.h" |
#include "gif.h" |
| #include "bpfilter.h" |
#include "bpfilter.h" |
| |
|
| |
#if NGIF > 0 |
| |
#include <netinet6/in6_gif.h> |
| |
#endif |
| |
|
| #include <net/net_osdep.h> |
#include <net/net_osdep.h> |
| |
|
| extern struct domain inet6domain; |
extern struct domain inet6domain; |
|
|
| * should the inner packet be considered authentic? |
* should the inner packet be considered authentic? |
| * see comment in ah4_input(). |
* see comment in ah4_input(). |
| */ |
*/ |
| if (m) { |
m->m_flags &= ~M_AUTHIPHDR; |
| m->m_flags &= ~M_AUTHIPHDR; |
m->m_flags &= ~M_AUTHIPDGM; |
| m->m_flags &= ~M_AUTHIPDGM; |
|
| } |
|
| #endif |
#endif |
| |
|
| /* |
/* |
|
|
| ip6 = mtod(m, struct ip6_hdr *); |
ip6 = mtod(m, struct ip6_hdr *); |
| |
|
| /* |
/* |
| * if the payload length field is 0 and the next header field |
* if the payload length field is 0 and the next header field |
| * indicates Hop-by-Hop Options header, then a Jumbo Payload |
* indicates Hop-by-Hop Options header, then a Jumbo Payload |
| * option MUST be included. |
* option MUST be included. |
| */ |
*/ |
| Line 1446 ip6_sysctl(name, namelen, oldp, oldlenp, |
|
| Line 1448 ip6_sysctl(name, namelen, oldp, oldlenp, |
|
| case IPV6CTL_DEFMCASTHLIM: |
case IPV6CTL_DEFMCASTHLIM: |
| return sysctl_int(oldp, oldlenp, newp, newlen, |
return sysctl_int(oldp, oldlenp, newp, newlen, |
| &ip6_defmcasthlim); |
&ip6_defmcasthlim); |
| |
#if NGIF > 0 |
| case IPV6CTL_GIF_HLIM: |
case IPV6CTL_GIF_HLIM: |
| return sysctl_int(oldp, oldlenp, newp, newlen, |
return sysctl_int(oldp, oldlenp, newp, newlen, |
| &ip6_gif_hlim); |
&ip6_gif_hlim); |
| |
#endif |
| case IPV6CTL_KAME_VERSION: |
case IPV6CTL_KAME_VERSION: |
| return sysctl_rdstring(oldp, oldlenp, newp, __KAME_VERSION); |
return sysctl_rdstring(oldp, oldlenp, newp, __KAME_VERSION); |
| case IPV6CTL_USE_DEPRECATED: |
case IPV6CTL_USE_DEPRECATED: |