summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_subr.h
Commit message (Collapse)AuthorAgeFilesLines
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-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@
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-5/+5
| | | | also don't use ANSI string concatenation.
* Use new kernel_sysctlbyname function. Remove private copy.jlemon2001-05-191-2/+0
|
* Major update of NCP requester:bp2001-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.
* Forward declare some structs so that this header is more self-suifficent.bde2000-01-141-0/+3
|
* Update to version 1.3.4 of ncplib. Cleanup header files.bp1999-12-121-2/+2
|
* Import kernel part of ncplib: netncp and nwfsbp1999-10-021-0/+130
Reviewed by: msmith, peter Obtained from: ncplib
OpenPOWER on IntegriCloud