Commit Graph

116310 Commits

Author SHA1 Message Date
jonathan f3ab6286e9 Change ipsec4_common_input() to return void (not int with errno,
as in FreeBSD), to match NetBSD protosw prototype.
2003-08-15 03:50:20 +00:00
jonathan 28b5f5dfab (fast-ipsec): Add hooks to pass IPv4 IPsec traffic into fast-ipsec, if
configured with ``options FAST_IPSEC''.  Kernels with KAME IPsec or
with no IPsec should work as before.

All calls to ip_output() now always pass an additional compulsory
argument: the inpcb associated with the packet being sent,
or 0 if no inpcb is available.

Fast-ipsec tested with ICMP or UDP over ESP. TCP doesn't work, yet.
2003-08-15 03:42:00 +00:00
simonb bc73aa40f5 Return NULL instead of 0 for functions that return pointers.
Sprinkle some KNF whitespace.
2003-08-15 02:59:32 +00:00
itojun 277f295364 regen 2003-08-14 23:39:47 +00:00
itojun 7f5e474ef7 s,PCI/ISA,PCI-ISA, 2003-08-14 23:39:22 +00:00
itojun 17b77b454e add National Semiconductors SC1100 (GEODE) PCI devices. 2003-08-14 23:38:34 +00:00
christos df57fab11f Adjust to 5.3 2003-08-14 18:20:47 +00:00
christos f412635e2b Move MI stuff into the Makefile 2003-08-14 18:18:05 +00:00
christos 52548ed6ed Adjust to 5.3... 2003-08-14 18:10:09 +00:00
wiz 82c8a2d63a Bump date and copyright for last, and add a comma. 2003-08-14 17:59:40 +00:00
elric b7b719ccb6 We're using a default keylength for cgd of 128 in AES not 256. 2003-08-14 17:57:07 +00:00
christos f2fb83f010 x86 gdb-5.3 support. 2003-08-14 17:40:54 +00:00
christos 744531991e a couple more additions. 2003-08-14 16:54:54 +00:00
christos 6dc8ebe23c Add auto-gen'ed files. 2003-08-14 16:50:53 +00:00
christos 7b11b526b4 Fix a compiler warning. 2003-08-14 16:49:37 +00:00
uwe a6c91a4aa0 Remove mention of gcc-3-libtelnet hack.
The hack was removed from lib/libtelnet/Makefile rev 1.16, following
the lib/libtelnet/kerberos.c revision rev 1.10 that fixed the original
problem.
2003-08-14 15:08:32 +00:00
christos b71227cf2b - merge changes from gdb-5.0 2003-08-14 14:22:27 +00:00
christos 88a26652e1 Undo previous change and introduce ugly makefile hack. 2003-08-14 14:17:01 +00:00
hannken 58f4f18578 Fix a typo: sm->sg_npte -> sp->sg_npte 2003-08-14 11:00:02 +00:00
itojun c4191f3816 plug memory leak. PR misc/22479 2003-08-14 10:06:36 +00:00
itojun 7094514d4d aha and le uses isadma 2003-08-14 10:03:03 +00:00
dsl 16243ec6f5 Bring closer to reality - specify correct filenames for new boot code.
Fixes port-i386/22477
2003-08-14 09:55:29 +00:00
tsutsui 143adabe3d If BUS_DMA_ALLOCNOW is specified with nsegments > 1
in jazz_bus_dmamap_create() disable BUS_DMA_ALLOCNOW for now
rather than return ENOMEM.  Required by some PCI devices (like pciide(4)).
XXX needs re-think how BUS_DMA_ALLOCNOW should be handled.
XXX (we should use another flag for the jazz internal DMAC?)
2003-08-14 09:35:26 +00:00
nonaka fcfc3fe7cb Add support for another Intel Pro/100 variant. 2003-08-14 07:59:39 +00:00
itojun fd3f06dabb enforce ipsec policy on raw wildcard. 2003-08-14 07:57:40 +00:00
itojun 230da08946 correct number range handling. David Young 2003-08-14 07:39:22 +00:00
itojun 95758d3554 avoid oldlenp mixup (in-kernel pointer and userland pointer). from atatat 2003-08-14 05:14:52 +00:00
christos 329946a58b remove the args from the macro. 2003-08-14 02:17:07 +00:00
christos 2fd435b3f0 - fix IS_THREAD
- fix typo ptid_equals
2003-08-14 01:12:26 +00:00
christos 230eaa023f gdb has signals.c too; rename the file. 2003-08-14 01:08:23 +00:00
christos 3b342f088b avoid gcc-3 warning. 2003-08-14 01:07:59 +00:00
christos 5aa0e076c6 do mechanical pid to ptid conversion. it now compiles. 2003-08-14 00:24:10 +00:00
itojun 25e6c004c4 fix INT_MAX check in if_clone_lookup 2003-08-14 00:19:43 +00:00
itojun 326e7bdf59 correct if_clone_lookup(). based on diff from Quentin Garnier 2003-08-14 00:13:34 +00:00
christos fcb15df895 ansify 2003-08-13 23:38:50 +00:00
christos 34fb5d34da initial checking of the 5.0 version. 2003-08-13 23:30:34 +00:00
reed 2adb877460 Add Jeremy C. Reed to the list of developers. 2003-08-13 22:26:44 +00:00
jonathan 23f68da565 Make sure one (potentially) overlapping copy is safe. 2003-08-13 20:13:59 +00:00
jonathan 740290313e Initial import of Sam Leffler's `Fast-IPsec' from FreeBSD 4.
Fast-IPsec is a rework of the OpenBSD and KAME IPsec code, using the
OpenCryptoFramework (and thus hardware crypto accelerators) and
numerous detailed performance improvements.

This import is (aside from SPL-level names) the FreeBSD source,
imported ``as-is'' as a historical snapshot, for future maintenance
and comparison against the FreeBSD source.  For now, several minor
kernel-API differences are hidden by macros a shim file, ipsec_osdep.h,
which (aside from SPL names) can be targeted at either NetBSD or FreeBSD.
2003-08-13 20:06:49 +00:00
wrstuden 2d11b64df0 Include correct file for defopt. 2003-08-13 19:44:12 +00:00
nathanw bd9a18b79f Split out pthread_{set,get}specific() into a separate file and arrange
for that file to not be built with profiling. This makes it reasonable to
use pthread_{set,get}specific() to implement thread-safe profiline call counts.
2003-08-13 18:52:01 +00:00
itojun b103dc8ce0 another fix for PR bin/22464; never set wwbaud to 0. 2003-08-13 15:21:07 +00:00
itojun c0c6d52ab2 backout previous - commited by mistake 2003-08-13 15:14:55 +00:00
itojun e0a59ddcd9 fix PR bin/22464 (hang up on kterm) 2003-08-13 15:13:46 +00:00
christos fa2d773e2e Kill select. 2003-08-13 14:13:14 +00:00
yamt e6483a7858 - leave a compiler which register is used for an asm argument.
- use correct asm constraints.
- eliminate usage of dummy variables.
2003-08-13 12:40:31 +00:00
yamt fd72624430 use correct asm operand indexes.
(previously 'GLptr' was used as mask.)
this long standing bug seems to be uncovered by
my previous change(rev.1.2) on some machines.

PR/22457 from Matthias Scheler, and tested by him.
2003-08-13 12:38:35 +00:00
ragge 303f533292 sys/types.h -> sys/param.h to get vax inlines correct. 2003-08-13 11:35:25 +00:00
ragge bc830a1980 Do not use the builtins for the mem* functions on vax, the compiler gets
confused with the static inline functions vax uses.
2003-08-13 11:34:24 +00:00
ragge f69577d50c Include the C versions of the string instructions.
Replace blkcpy() with a version that can handle overlapping data areas.
2003-08-13 11:32:23 +00:00