summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/esp_input.c
Commit message (Collapse)AuthorAgeFilesLines
* check packet length before fetching ESP crypto checksum.ume2002-08-241-0/+8
| | | | | Obtained from: KAME MFC after: 2 days
* fixed to make mbuf chain.ume2002-07-181-1/+1
| | | | | Obtained from: KAME MFC after: 1 week
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-191-26/+10
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* Corrected arguments to key_allocsa called fromume2002-03-251-4/+6
| | | | | | | | {esp6, ah6}_ctlinput. Previous ones were uninitialized auto variables, which were completely bogus. Obtained from: KAME MFC after: 1 week
* Fix another boatload of warnings (missing include) and a cosmeticpeter2002-02-281-0/+2
| | | | -Wuninitialized warning.
* Patches from KAME to remove usage of Varargs in existingjulian2001-09-071-13/+4
| | | | | | | IPV4 code. For now they will still have some in the developing stuff (IPv6) Submitted by: Keiichi SHIMA / <keiichi@iij.ad.jp> Obtained from: KAME
* Patches from Keiichi SHIMA <keiichi@iij.ad.jp>julian2001-09-031-4/+3
| | | | | | to make ip use the standard protosw structure again. Obtained from: Well, KAME I guess.
* Sync with recent KAME.ume2001-06-111-36/+228
| | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-251-11/+4
| | | | | | | | | | | | | | before adding/removing packets from the queue. Also, the if_obytes and if_omcasts fields should only be manipulated under protection of the mutex. IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on the queue. An IF_LOCK macro is provided, as well as the old (mutex-less) versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which needs them, but their use is discouraged. Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF, which takes care of locking/enqueue, and also statistics updating/start if necessary.
* add missing splx(), when outgoing interface queue is full on tunnelleditojun2000-08-161-0/+2
| | | | IPsec packet output. KAME PR 280.
* sync with kame tree as of july00. tons of bug fixes/improvements.itojun2000-07-041-391/+222
| | | | | | | API changes: - additional IPv6 ioctls - IPsec PF_KEY API was changed, it is mandatory to upgrade setkey(8). (also syntax change)
* Remove unneeded #include <sys/kernel.h>phk2000-04-291-1/+0
|
* Remove ~25 unneeded #include <sys/conf.h>phk2000-04-191-1/+0
| | | | Remove ~60 unneeded #include <sys/malloc.h>
* IPSEC support in the kernel.shin1999-12-221-0/+984
pr_input() routines prototype is also changed to support IPSEC and IPV6 chained protocol headers. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud