aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was generated by cvs2svn to compensate for changes in r143439,David E. O'Brien2005-03-127-0/+1975
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=143440
| * Import the nForce MCP NIC bits. This is version 1.0-0301.vendor/nve/1.0.0301David E. O'Brien2005-03-127-0/+1975
| | | | | | | | | Demanded by: DES Encouraged by: scottl Notes: svn path=/vendor-sys/nve/dist/; revision=143439 svn path=/vendor-sys/nve/1.0.0301/; revision=143441; tag=vendor/nve/1.0.0301
* Replace my previous change for 32 bit systems with hz > 169 with Bruce'sPeter Wemm2005-03-121-10/+11
| | | | | | | simpler one. Notes: svn path=/head/; revision=143438
* Make the tty vmin/vtime timeouts work for hz > 169 on 32 bit machines.Peter Wemm2005-03-121-7/+7
| | | | Notes: svn path=/head/; revision=143437
* Correct a last-minute thinko. Instead of copying the nul with the string,Nate Lawson2005-03-111-1/+1
| | | | | | | nul-terminate the dp->d_name directly and only copy the string. Notes: svn path=/head/; revision=143436
* The mbnambuf routines combine multiple substrings into a singleNate Lawson2005-03-111-36/+41
| | | | | | | | | | | | | | | | | | | | | | | | | long filename. Each substring is indexed by the windows ID, a sequential one-based value. The previous code was extremely slow, doing a malloc/strcpy/free for each substring. This code optimizes these routines with this in mind, using the ID to index into a single array and concatenating each WIN_CHARS chunk at once. (The last chunk is variable-length.) This code has been tested as working on an FS with difficult filename sizes (255, 13, 26, etc.) It gives a 77.1% decrease in profiled time (total across all functions) and a 73.7% decrease in wall time. Test was "ls -laR > /dev/null". Per-function time savings: mbnambuf_init: -90.7% mbnambuf_write: -18.7% mbnambuf_flush: -67.1% MFC after: 1 month Notes: svn path=/head/; revision=143435
* Remove diffs to i386 version that came in via the compiler support ifdefs.Peter Wemm2005-03-1110-28/+37
| | | | | | | | This changes things like whitespace, inconsistent use of #ifndef vs #if !defined(), different macro argument orders, mismatched comments, etc. Notes: svn path=/head/; revision=143434
* MFi386: reduce apic clock interrupt ratePeter Wemm2005-03-111-15/+5
| | | | Notes: svn path=/head/; revision=143433
* Whitespace sync with amd64. (Rather than re-add the extra blank linesPeter Wemm2005-03-112-6/+0
| | | | | | | on amd64, I'm removing them here) Notes: svn path=/head/; revision=143432
* gbde(8) is also rejndael user.Hajimu UMEMOTO2005-03-112-3/+1
| | | | | | | Reported by: phk Notes: svn path=/head/; revision=143431
* Fix a mismerge of i386 rev 1.209Peter Wemm2005-03-111-1/+1
| | | | Notes: svn path=/head/; revision=143430
* Match i386 rev 1.38 with __cplusplus supportPeter Wemm2005-03-111-0/+8
| | | | Notes: svn path=/head/; revision=143429
* Remove an OBE set of comments, fix a minor whitespace nit while here.Peter Wemm2005-03-111-8/+1
| | | | Notes: svn path=/head/; revision=143428
* First step in simplifying accept filter socket option logic in theRobert Watson2005-03-111-17/+24
| | | | | | | | post-SMPng world order. Centralize handling of the socket option clear case in do_setopt_accept_filter(). Notes: svn path=/head/; revision=143427
* reorder ath_rate_onoe to after ath_rate_sample so it gets used as theSam Leffler2005-03-111-1/+1
| | | | | | | | default rate control algorithm; this should be done differently but for now use this simple solution Notes: svn path=/head/; revision=143426
* Remove an additional commented out reference to a possible future sxRobert Watson2005-03-111-1/+0
| | | | | | | lock. Notes: svn path=/head/; revision=143425
* just use crypto/rijndaelHajimu UMEMOTO2005-03-111-1/+2
| | | | | | | (I forgot to commit this in my previous commit) Notes: svn path=/head/; revision=143424
* just use crypto/rijndael, and nuke opencrypto/rindael.[ch].Hajimu UMEMOTO2005-03-116-1293/+12
| | | | | | | | | the two became almost identical since latest KAME merge. Discussed with: sam Notes: svn path=/head/; revision=143423
* When setting up a socket in socreate(), there's no need to lock theRobert Watson2005-03-111-3/+1
| | | | | | | | | | | | | socket lock around knlist_init(), so don't. Hard code the setting of the socket reference count to 1 rather than using soref() to avoid asserting the socket lock, since we've not yet exposed the socket to other threads. This removes two mutex operations from each socket allocation. Notes: svn path=/head/; revision=143422
* Remove suggestive sx_init() comment in soalloc(). We will have somethingRobert Watson2005-03-111-1/+0
| | | | | | | like this at some point, but for now it clutters the source. Notes: svn path=/head/; revision=143421
* integrate rijndael-alg-fst.h into rijndael.h.Hajimu UMEMOTO2005-03-115-44/+14
| | | | Notes: svn path=/head/; revision=143420
* Adding missing module dependency. This should fix the undefined symbolTai-hwa Liang2005-03-111-0/+1
| | | | | | | | | error(ath_hal_computetxtime) during module loading. Reviewed by: sam (mentor) Notes: svn path=/head/; revision=143419
* stop including rijndael-api-fst.h from rijndael.h.Hajimu UMEMOTO2005-03-118-10/+7
| | | | | | | this is required to integrate opencrypto into crypto. Notes: svn path=/head/; revision=143418
* The SO_NOSIGPIPE socket option allows a user process to mark a socketRobert Watson2005-03-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that the socket does not generate SIGPIPE, only EPIPE, when a write is attempted after socket shutdown. When the option was introduced in 2002, this required the logic for determining whether SIGPIPE was generated to be pushed down from dofilewrite() to the socket layer so that the socket options could be considered. However, the change in 2002 omitted modification to soo_write() required to add that logic, resulting in SIGPIPE not being generated even without SO_NOSIGPIPE when the socket was written to using write() or related generic system calls. This change adds the EPIPE logic to soo_write(), generating a SIGPIPE signal to the process associated with the passed uio in the event that the SO_NOSIGPIPE option is not set. Notes: - The are upsides and downsides to placing this logic in the socket layer as opposed to the file descriptor layer. This is really fd layer logic, but because we need so_options, we have a choice of layering violations and pick this one. - SIGPIPE possibly should be delivered to the thread performing the write, not the process performing the write. - uio->uio_td and the td argument to soo_write() might potentially differ; we use the thread in the uio argument. - The "sigpipe" regression test in src/tools/regression/sockets/sigpipe tests for the bug. Submitted by: Mikko Tyolajarvi <mbsd at pacbell dot net> Talked with: glebius, alfred PR: 78478 MFC after: 1 week Notes: svn path=/head/; revision=143417
* Fix typos in comments.Stefan Farfeleder2005-03-111-3/+3
| | | | Notes: svn path=/head/; revision=143416
* Use socklen_t where appropriate.Stefan Farfeleder2005-03-115-12/+18
| | | | Notes: svn path=/head/; revision=143415
* Simplify the print routines by using LST_FOREACH instead of Lst_ForEachHartmut Brandt2005-03-113-64/+66
| | | | | | | | | and inlining the small printing utility functions. Create a function that can be used to produce printable representations of flag words. Notes: svn path=/head/; revision=143414
* Check the return value of shutdown().Robert Watson2005-03-111-4/+8
| | | | Notes: svn path=/head/; revision=143413
* Remove leading underscores from the pathname defines. All identifiersHartmut Brandt2005-03-113-25/+29
| | | | | | | | with leading underscore followed by an uppercase letter are in the implementation namespace. Notes: svn path=/head/; revision=143412
* Remove the leading underscore from structure tags. All identifiersHartmut Brandt2005-03-112-5/+5
| | | | | | | with a leading underscore are in the implementation namespace. Notes: svn path=/head/; revision=143411
* sys/crypto/md5.[ch] is used from nowhere. So, just nuke them.Hajimu UMEMOTO2005-03-112-382/+0
| | | | Notes: svn path=/head/; revision=143410
* Add sigpipe, a simple UNIX domain socket and TCP regression test that isRobert Watson2005-03-112-0/+327
| | | | | | | | | | | | | | | | intended to verify that SIGPIPE is delivered to a process writing or sending on a socket that has been shut down for write. If available, SO_NOSIGPIPE is also tested. This regression test is currently passed by RELENG_4, but not by HEAD or RELENG_5, due to a bug in the write() code for sockets. SO_NOSIGPIPE is not present in RELENG_4, however, so is not tested there. Reported by: Mikko Tyolajarvi <mbsd at pacbell dot net> PR: 78478 Notes: svn path=/head/; revision=143409
* - use 1/2 space for rijndael context in ipsecHajimu UMEMOTO2005-03-113-25/+14
| | | | | | | | | | | - rijndael_set_key() always sets up full context - rijndaelKeySetupDec() gets back original protoype Reviewed by: sam Obtained from: OpenBSD Notes: svn path=/head/; revision=143408
* Style: Fix indentation.Hartmut Brandt2005-03-111-1117/+1129
| | | | Notes: svn path=/head/; revision=143407
* refer opencrypto/cast.h directly.Hajimu UMEMOTO2005-03-113-19/+10
| | | | Notes: svn path=/head/; revision=143406
* Call ParseFinishLine() also for the last line in a file. ThisHartmut Brandt2005-03-111-0/+3
| | | | | | | | | | | | | | | | | patch differs from the previous one in that it calls the function only when a real file hits EOF. The bodies of .for loops are also handled as files, but for these we don't want to end a dependency block on the 'EOF' as in: foo: do-this .for ... do-something .endfor do-more Notes: svn path=/head/; revision=143405
* Fix getting stats from many links with index > 0.Gleb Smirnoff2005-03-111-1/+1
| | | | | | | | Submitted by: Richard Kojedzinszky MFC after: 3 days Notes: svn path=/head/; revision=143404
* Move common credential save and restore code into a separate file.Diomidis Spinellis2005-03-115-29/+86
| | | | | | | Improve credential handling in pt_file.c Notes: svn path=/head/; revision=143402
* Back out the last commit. It turns out that this breaks more thanHartmut Brandt2005-03-111-3/+0
| | | | | | | it fixes. This should fix the buildworld breakage. Notes: svn path=/head/; revision=143401
* Ensure the configuration file is given with an absolute file path.Diomidis Spinellis2005-03-111-0/+6
| | | | Notes: svn path=/head/; revision=143400
* Add examples for tcplisten, data scattering, and file views.Diomidis Spinellis2005-03-111-4/+35
| | | | | | | Improve formatting of existing examples. Notes: svn path=/head/; revision=143399
* Make the pps interrupt register as MPSAFE and FAST. Use a spin lockWarner Losh2005-03-111-6/+15
| | | | | | | | | | | to syncrhonize access to the data as a result. This makes the pps less likely to miss the 1ms pulse that I'm feeding it, but not entirely reliable yet on my 133MHz P5. Reviewed by: phk Notes: svn path=/head/; revision=143398
* Fix minor grammar and punctuation nits in a few recently-addedBruce A. Mah2005-03-112-44/+44
| | | | | | | entries. Notes: svn path=/head/; revision=143396
* Doh! silly typo precludes compilingWarner Losh2005-03-111-2/+2
| | | | Notes: svn path=/head/; revision=143395
* Revert changes of 1.49. Lots-a-people broke with it, for reasonsWarner Losh2005-03-111-5/+9
| | | | | | | | | | | | unknown (since my sony vaio didn't :-(. Instead, fix the problem described by 1.49 in a different way: just add the two calls I'd hoped I'd avoid in 1.49 by doing the (wrong) gymnastics there. While 1.49 is a good direction to go in, each step of the way should work :-(. Notes: svn path=/head/; revision=143394
* SampleRate rate control algorithm for the ath driverSam Leffler2005-03-116-0/+795
| | | | | | | Submitted by: John Bicket Notes: svn path=/head/; revision=143392
* Kill trailing white spaceWarner Losh2005-03-101-3/+3
| | | | Notes: svn path=/head/; revision=143390
* Add a new pipe sub-namespace.Diomidis Spinellis2005-03-105-2/+252
| | | | | | | | | | | | | | This allows us to: - perform scatter gather operations without using temporary files, - create non-linear pipelines, and - implement file views using symbolic links. File view idea by: Vassilios Karakoidas Portalfs pointer by: John Ioannidis MFC after: 1 month Notes: svn path=/head/; revision=143389
* Document new pipe sub-namespace.Diomidis Spinellis2005-03-101-13/+45
| | | | | | | | | | Alphabetically order the description of the sub-namespaces. Add usage examples for the net and pipe sub-namespaces. MFC after: 1 month Notes: svn path=/head/; revision=143388
* Make some basic grammar and style fixes to ng_source.c and ng_source.h.Bosko Milekic2005-03-102-25/+14
| | | | | | | | The latter was particularly violated by someone's editor in the past, due to an effect I like to call "premature linewrapping." Notes: svn path=/head/; revision=143387