aboutsummaryrefslogtreecommitdiff
path: root/sys/netncp/ncp_subr.c
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139823
* Make the process_exit eventhandler run without Giant. Add Giant hooksPeter Wemm2004-03-141-0/+2
| | | | | | | | | in the two consumers that need it.. processes using AIO and netncp. Update docs. Say that process_exec is called with Giant, but not to depend on it. All our consumers can handle it without Giant. Notes: svn path=/head/; revision=126941
* Use __FBSDID().David E. O'Brien2003-06-111-2/+4
| | | | Notes: svn path=/head/; revision=116189
* Replace the at_fork, at_exec, and at_exit functions with the slightly moreJohn Baldwin2003-03-241-7/+7
| | | | | | | | | | | | flexible process_fork, process_exec, and process_exit eventhandlers. This reduces code duplication and also means that I don't have to go duplicate the eventhandler locking three more times for each of at_fork, at_exec, and at_exit. Reviewed by: phk, jake, almost complete silence on arch@ Notes: svn path=/head/; revision=112564
* Catch up with KSE changes.Max Khon2003-02-261-13/+17
| | | | | | | Reviewed by: tjr Notes: svn path=/head/; revision=111577
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-1/+1
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-1/+1
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* Use new kernel_sysctlbyname function. Remove private copy.Jonathan Lemon2001-05-191-18/+0
| | | | Notes: svn path=/head/; revision=76835
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inMark Murray2001-05-011-3/+4
| | | | | | | | | | | | | | other "system" header files. Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys/lockmgr.h form kernel .c files. Sort sys/*.h includes where possible in affected files. OK'ed by: bde (with reservations) Notes: svn path=/head/; revision=76166
* Major update of NCP requester:Boris Popov2001-03-101-139/+36
| | | | | | | | | | | | | | | | | | | | Use mchain API to work with mbuf chains. Do not depend on INET and IPX options. Allocate ncp_rq structure dynamically to prevent possible stack overflows. Let ncp_request() dispose control structure if request failed. Move all NCP wrappers to ncp_ncp.c file and all NCP request processing functions to ncp_rq.c file. Improve reconnection logic. Misc style fixes. Notes: svn path=/head/; revision=74060
* Mechanical change to use <sys/queue.h> macro API instead ofPoul-Henning Kamp2001-02-041-4/+4
| | | | | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1) Notes: svn path=/head/; revision=71999
* Convert lockmgr locks from using simple locks to using mutexes.Jason Evans2000-10-041-0/+1
| | | | | | | | | Add lockdestroy() and appropriate invocations, which corresponds to lockinit() and must be called to clean up after a lockmgr lock is no longer needed. Notes: svn path=/head/; revision=66615
* Remove unnessary includes.Boris Popov1999-10-121-1/+0
| | | | Notes: svn path=/head/; revision=52152
* Import kernel part of ncplib: netncp and nwfsBoris Popov1999-10-021-0/+255
Reviewed by: msmith, peter Obtained from: ncplib Notes: svn path=/head/; revision=51852