aboutsummaryrefslogtreecommitdiff
path: root/sys/netnatm/natm.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the NATM framework including the en(4), fatm(4), hatm(4), andBrooks Davis2017-04-241-120/+0
| | | | | | | | | | | | | | | | | | | | | | | | patm(4) devices. Maintaining an address family and framework has real costs when we make infrastructure improvements. In the case of NATM we support no devices manufactured in the last 20 years and some will not even work in modern motherboards (some newer devices that patm(4) could be updated to support apparently exist, but we do not currently have support). With this change, support remains for some netgraph modules that don't require NATM support code. It is unclear if all these should remain, though ng_atmllc certainly stands alone. Note well: FreeBSD 11 supports NATM and will continue to do so until at least September 30, 2021. Improvements to the code in FreeBSD 11 are certainly welcome. Reviewed by: philip Approved by: harti Notes: svn path=/head/; revision=317383
* s/destory/destroy/ (except for the code in contrib/).Pawel Jakub Dawidek2007-04-161-1/+1
| | | | Notes: svn path=/head/; revision=168776
* Factor out my copyrights + licenses from Charles D. Cranor andRobert Watson2007-01-081-4/+3
| | | | | | | | | | | University of Washington copyrights, which include the advertising clause. Move $NetBSD$ into standard location for FreeBSD source files, and normalize formatting. MFC after: 3 days Notes: svn path=/head/; revision=165900
* Remove FreeBSD 2.2 protocol usrreq compatibility code.Robert Watson2005-07-191-25/+0
| | | | | | | | | | | Remove minor #ifdefs for early NetBSD and OpenBSD compatibility. Remove spl-related definitions. MFC after: 2 weeks Notes: svn path=/head/; revision=148158
* Lock down netnatm and mark as MPSAFE:Robert Watson2005-07-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | - Introduce a subsystem mutex, natm_mtx, manipulated with accessor macros NATM_LOCK_INIT(), NATM_LOCK(), NATM_UNLOCK(), NATM_LOCK_ASSERT(). It protects the consistency of pcb-related data structures. Finer grained locking is possible, but should be done in the context of specific measurements (as very little work is done in netnatm -- most is in the ATM device driver or socket layer, so there's probably not much contention). - Remove GIANT_REQUIRED, mark as NETISR_MPSAFE, remove NET_NEEDS_GIANT("netnatm"). - Conditionally acquire Giant when entering network interfaces for ifp->if_ioctl() using IFF_LOCKGIANT(ifp)/IFF_UNLOCKGIANT(ifp) in order to coexist with non-MPSAFE atm ifnet drivers.. - De-spl. MFC after: 2 weeks Reviewed by: harti, bms (various versions) Notes: svn path=/head/; revision=148125
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-1/+1
| | | | Notes: svn path=/head/; revision=139823
* Remove the last vestiges of ATM raw mode. This has not been useful for aHartmut Brandt2003-08-061-17/+0
| | | | | | | | long time and has already been removed from the only driver that supported it (en(4)) and from the man page. Notes: svn path=/head/; revision=118547
* Style(9): remove unneccesary space and blank lines, indentation,Hartmut Brandt2003-08-061-41/+40
| | | | | | | | | | function prototypes. Use LIST_FOREACH instead of explicit loops. The indentation of functions indendet by 4 space have been left alone. 2-space indented functions have been re-indented. Notes: svn path=/head/; revision=118541
* Update netisr handling; Each SWI now registers its queue, and all queueJonathan Lemon2003-03-041-2/+1
| | | | | | | | | | | | | drain routines are done by swi_net, which allows for better queue control at some future point. Packets may also be directly dispatched to a netisr instead of queued, this may be of interest at some installations, but currently defaults to off. Reviewed by: hsu, silby, jayanth, sam Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=111888
* Remove __P.Alfred Perlstein2002-03-201-10/+10
| | | | Notes: svn path=/head/; revision=92745
* Back out the previous change to the queue(3) interface.Jake Burkholder2000-05-261-2/+2
| | | | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others Notes: svn path=/head/; revision=60938
* Change the way that the queue(3) structures are declared; don't assume thatJake Burkholder2000-05-231-2/+2
| | | | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd Notes: svn path=/head/; revision=60833
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-291-5/+2
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55205
* Fixed a sloppy common-style declaration.Bruce Evans1997-12-201-1/+1
| | | | | | | | | natm_pcb.c: Include <sys/socketvar.h> which will be used when M_PCB is declared in the right place. Notes: svn path=/head/; revision=31885
* import Chuck Cranor's ATM driverKenjiro Cho1997-05-091-0/+161
Notes: svn path=/cvs2svn/branches/CRANOR/; revision=25603