aboutsummaryrefslogtreecommitdiff
path: root/sys/netncp/ncp_subr.h
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139823
* Catch up with KSE changes.Max Khon2003-02-261-1/+1
| | | | | | | Reviewed by: tjr Notes: svn path=/head/; revision=111577
* Change the suser() API to take advantage of td_ucred as well as do aJohn Baldwin2002-04-011-1/+1
| | | | | | | | | | | | | | | general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@ Notes: svn path=/head/; revision=93593
* Update to C99, s/__FUNCTION__/__func__/,David E. O'Brien2001-12-101-5/+5
| | | | | | | also don't use ANSI string concatenation. Notes: svn path=/head/; revision=87599
* Use new kernel_sysctlbyname function. Remove private copy.Jonathan Lemon2001-05-191-2/+0
| | | | Notes: svn path=/head/; revision=76835
* Major update of NCP requester:Boris Popov2001-03-101-13/+4
| | | | | | | | | | | | | | | | | | | | 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
* Forward declare some structs so that this header is more self-suifficent.Bruce Evans2000-01-141-0/+3
| | | | Notes: svn path=/head/; revision=55991
* Update to version 1.3.4 of ncplib. Cleanup header files.Boris Popov1999-12-121-2/+2
| | | | Notes: svn path=/head/; revision=54477
* Import kernel part of ncplib: netncp and nwfsBoris Popov1999-10-021-0/+130
Reviewed by: msmith, peter Obtained from: ncplib Notes: svn path=/head/; revision=51852