summaryrefslogtreecommitdiffstats
path: root/sys/netkey
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors.bde1998-08-171-14/+16
|
* Really make this compile..peter1998-04-061-12/+58
| | | | Pointed out by: bde
* Maybe fix netkey. I am not sure how to test this..peter1998-04-051-44/+68
|
* Substitute a panic for a undefined function so LINT will compile.phk1998-04-041-0/+4
|
* Eradicate the variable "time" from the kernel, using various measures.phk1998-03-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "time" wasn't a atomic variable, so splfoo() protection were needed around any access to it, unless you just wanted the seconds part. Most uses of time.tv_sec now uses the new variable time_second instead. gettime() changed to getmicrotime(0. Remove a couple of unneeded splfoo() protections, the new getmicrotime() is atomic, (until Bruce sets a breakpoint in it). A couple of places needed random data, so use read_random() instead of mucking about with time which isn't random. Add a new nfs_curusec() function. Mark a couple of bogosities involving the now disappeard time variable. Update ffs_update() to avoid the weird "== &time" checks, by fixing the one remaining call that passwd &time as args. Change profiling in ncr.c to use ticks instead of time. Resolution is the same. Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call hzto() which subtracts time" sequences. Reviewed by: bde
* Removed unused #includes.bde1998-03-282-5/+0
|
* key_getspi() bugfix.itojun1998-03-231-2/+19
| | | | Submitted by: k-sugyou@ccs.mt.nec.co.jp
* polish the code.itojun1998-02-274-203/+288
| | | | use tradictional decls. tabify. remove bogus #defines. prototypes.
* make sys/netkey/key{,_debug}.c compile. I believe it works but not tested.itojun1998-02-274-165/+355
| | | | I'll polish the code later on.
* Added a used #include.bde1998-02-251-0/+1
| | | | | "options KEY" is not in LINT, and consequently doesn't actually compile, even with this change.
* Last major round (Unless Bruce thinks of somthing :-) of malloc changes.phk1997-10-121-1/+1
| | | | | | | | Distribute all but the most fundamental malloc types. This time I also remembered the trick to making things static: Put "static" in front of them. A couple of finer points by: bde
* Distribute and statizice a lot of the malloc M_* types.phk1997-10-111-0/+2
| | | | Substantial input from: bde
* This is the `netkey' kernel key-management service (the PF_KEY analoguewollman1996-06-144-0/+3435
to PF_ROUTE) from NRL's IPv6 distribution, heavily modified by me for better source layout, formatting, and textual conventions. I am told that this code is no longer under active development, but it's a useful hack for those interested in doing work on network security, key management, etc. This code has only been tested twice, so it should be considered highly experimental. Obtained from: ftp.ripe.net
OpenPOWER on IntegriCloud