version 1.113, 2011/12/19 11:59:57 |
version 1.114, 2012/03/22 20:34:39 |
Line 94 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 94 __KERNEL_RCSID(0, "$NetBSD$"); |
|
#include <netinet/in_proto.h> |
#include <netinet/in_proto.h> |
#include <netinet/in_var.h> |
#include <netinet/in_var.h> |
|
|
#ifdef KAME_IPSEC |
|
#include <netinet6/ipsec.h> |
|
#include <netinet6/ipsec_private.h> |
|
#endif /* KAME_IPSEC */ |
|
|
|
#ifdef FAST_IPSEC |
#ifdef FAST_IPSEC |
#include <netipsec/ipsec.h> |
#include <netipsec/ipsec.h> |
#include <netipsec/ipsec_var.h> |
#include <netipsec/ipsec_var.h> |
Line 208 rip_input(struct mbuf *m, ...) |
|
Line 203 rip_input(struct mbuf *m, ...) |
|
continue; |
continue; |
if (last == NULL) |
if (last == NULL) |
; |
; |
#if defined(KAME_IPSEC) || defined(FAST_IPSEC) |
#if defined(FAST_IPSEC) |
/* check AH/ESP integrity. */ |
/* check AH/ESP integrity. */ |
else if (ipsec4_in_reject_so(m, last->inp_socket)) { |
else if (ipsec4_in_reject_so(m, last->inp_socket)) { |
IPSEC_STATINC(IPSEC_STAT_IN_POLVIO); |
IPSEC_STATINC(IPSEC_STAT_IN_POLVIO); |
Line 222 rip_input(struct mbuf *m, ...) |
|
Line 217 rip_input(struct mbuf *m, ...) |
|
} |
} |
last = inp; |
last = inp; |
} |
} |
#if defined(KAME_IPSEC) || defined(FAST_IPSEC) |
#if defined(FAST_IPSEC) |
/* check AH/ESP integrity. */ |
/* check AH/ESP integrity. */ |
if (last != NULL && ipsec4_in_reject_so(m, last->inp_socket)) { |
if (last != NULL && ipsec4_in_reject_so(m, last->inp_socket)) { |
m_freem(m); |
m_freem(m); |