aboutsummaryrefslogtreecommitdiff
path: root/sys/netncp/ncp_sock.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch to our preferred 2-clause BSD license.Joel Dahl2010-04-071-7/+1
| | | | | | | Approved by: bp Notes: svn path=/head/; revision=206361
* Refactor select to reduce contention and hide internal implementationJeff Roberson2007-12-161-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | details from consumers. - Track individual selecters on a per-descriptor basis such that there are no longer collisions and after sleeping for events only those descriptors which triggered events must be rescaned. - Protect the selinfo (per descriptor) structure with a mtx pool mutex. mtx pool mutexes were chosen to preserve api compatibility with existing code which does nothing but bzero() to setup selinfo structures. - Use a per-thread wait channel rather than a global wait channel. - Hide select implementation details in a seltd structure which is opaque to the rest of the kernel. - Provide a 'selsocket' interface for those kernel consumers who wish to select on a socket when they have no fd so they no longer have to be aware of select implementation details. Tested by: kris Reviewed on: arch Notes: svn path=/head/; revision=174647
* /* -> /*- 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/+2
| | | | | | | Reviewed by: tjr Notes: svn path=/head/; revision=111577
* Major update of NCP requester:Boris Popov2001-03-101-2/+1
| | | | | | | | | | | | | | | | | | | | 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/+7
| | | | 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/+51
Reviewed by: msmith, peter Obtained from: ncplib Notes: svn path=/head/; revision=51852