Project

General

Profile

Bug #150 » ipsec.diff

dragonfly, 04/22/2006 03:56 PM

View differences:

sys/netproto/ipsec/ipsec.c 22 Apr 2006 12:01:51 -0000
spidx->dst.sin.sin_port = uh.uh_dport;
return;
case IPPROTO_AH:
if (m->m_pkthdr.len > off + sizeof(ip6e))
if (off + sizeof(ip6e) > m->m_pkthdr.len)
goto done;
/* XXX sigh, this works but is totally bogus */
m_copydata(m, off, sizeof(ip6e), (caddr_t) &ip6e);
sys/netproto/ipsec/keysock.c 19 Apr 2006 18:00:36 -0000
#include <sys/socketvar.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
#include <sys/thread2.h>
#include <net/raw_cb.h>
#include <net/route.h>
sys/netproto/ipsec/xform_ipcomp.c 19 Apr 2006 17:46:55 -0000
#include <sys/kernel.h>
#include <sys/protosw.h>
#include <sys/sysctl.h>
#include <sys/thread2.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
(2-2/6)