summaryrefslogtreecommitdiffstats
path: root/sys/netatalk/at_var.h
Commit message (Collapse)AuthorAgeFilesLines
* Use queue(9) instead of hand-crafted link lists for the global netatalkrwatson2009-06-241-3/+5
| | | | | | | address list. Generally follow the style and convention of similar parts in netinet. MFC after: 6 weeks
* Add a global rwlock, at_ifaddr_rw, to protect the global netatalkrwatson2009-06-221-0/+8
| | | | | | | | | | | | | address lists, at_ifaddr_list. Acquire the lock, and use ifaddr refcounts where necessary, to close most known address-related races in netatalk. Annotate one potential race in at_control() where we acquire an ifaddr reference, drop the global lock, and scrub the address from the ifnet before re-acquiring the global lock, which could allow for a writer-writer race. MFC after: 3 weeks
* Cleanup of netatalk atalk layer includes, protocol definitions, andrwatson2007-01-121-26/+27
| | | | | | | | | | | | | | | | | | | routing: - style(9) cleanup -- white space, braces, etc. - Make include guards consistent with our more general naming convention. - Rearrange and complete forward structure declarations in at_extern.h, remove testing of guards of various other include files to protect function declarations. This leaves an ifdef _KERNEL in at_var.h, but from inspection it seems likely that this file is not actually safe for inclusion in user space still. However, since it's not included from within src/ so this does not appear to be an issue (ifconfig, etc, have migrated to the generic cross-protocol ioctls for address operations).
* Convert the aa_ifaddr timeout to a callout, and run the aarprobe calloutrwatson2005-02-221-1/+1
| | | | | | | MPSAFE. Acquire the aarptab_mtx to make sure that the callout and msleep in the ioctl thread don't race. MFC after: 1 week
* /* -> /*- for license, minor formatting changes, insert COPYRIGHT into filesimp2005-01-071-1/+1
|
* Rename 'at_ifaddr' list to 'at_ifaddr_list' so that the variable isrwatson2004-03-221-1/+1
| | | | more easily mechanically distinguished from 'struct at_ifaddr'.
* Update netisr handling; Each SWI now registers its queue, and all queuejlemon2003-03-041-1/+0
| | | | | | | | | | 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
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-1/+3
| | | | | | 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.
* Update for new callout interface.gibbs1997-09-211-8/+9
|
* Moved misplaced extern declarations.bde1997-09-071-1/+0
|
* Removed unused variable.bde1997-09-071-1/+0
|
* Fixed sloppy common-style declarations.bde1997-09-071-2/+2
|
* Actually POINT to the appletalk usrreqs struct.julian1997-06-021-0/+1
| | | | I guess no-one else tried to use this.. (yet)
* Add code to automaticall support subnets on ethertalk networksjulian1996-08-311-1/+1
| | | | | | | Subnets are represented in the routing table as a set of binary routing nets using the standard netmask algorythm. The code produces the minimum possible set of standard netmasks and net addresses to be able to represent a given netrange.
* Submitted by: archie@whistle.comjulian1996-07-231-1/+1
| | | | slight cleanups on yesterday's patches
* Submitted by: archie@whistle.comjulian1996-07-231-8/+2
| | | | appletalk cleanups
* Obtained from: netatalk distribution netatalk@itd.umich.edujulian1996-05-241-0/+71
Kernel Appletalk protocol support both CAP and netatalk can make use of this.. still needs some owrk but it seemd the right tiime to commit it so other can experiment.
OpenPOWER on IntegriCloud