summaryrefslogtreecommitdiffstats
path: root/sys/netatalk/ddp_output.c
Commit message (Collapse)AuthorAgeFilesLines
* * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT.bmilekic2000-12-211-2/+2
| | | | | | | | | | | | | | | | | | This is because calls with M_WAIT (now M_TRYWAIT) may not wait forever when nothing is available for allocation, and may end up returning NULL. Hopefully we now communicate more of the right thing to developers and make it very clear that it's necessary to check whether calls with M_(TRY)WAIT also resulted in a failed allocation. M_TRYWAIT basically means "try harder, block if necessary, but don't necessarily wait forever." The time spent blocking is tunable with the kern.ipc.mbuf_wait sysctl. M_WAIT is now deprecated but still defined for the next little while. * Fix a typo in a comment in mbuf.h * Fix some code that was actually passing the mbuf subsystem's M_WAIT to malloc(). Made it pass M_WAITOK instead. If we were ever to redefine the value of the M_WAIT flag, this could have became a big problem.
* Just need to pass the address family to if_simloop(), not the whole sockaddr.archie2000-05-241-1/+3
|
* fix broken loopback code for ddp (again)julian1998-08-041-4/+37
| | | | Submitted by: Stefan Bethke <stb@hanse.de>
* Fix braino in last commit.julian1998-07-131-1/+1
| | | | Not even sure how I got this commit in as it didn't even compile.
* Slight optimisation. Don't do the same calculation twice.julian1998-07-091-17/+14
|
* Go through the loopback code with a broom..julian1998-06-121-0/+9
| | | | | | | | | | | | | | | | Remove lots'o'hacks. looutput is now static. Other callers who want to use loopback to allow shortcutting should call the special entrypoint for this, if_simloop(), which is specifically designed for this purpose. Using looutput for this purpose was problematic, particularly with bpf and trying to keep track of whether one should be using the charateristics of the loopback interface or the interface (e.g. if_ethersubr.c) that was requesting the loopback. There was a whole class of errors due to this mis-use each of which had hacks to cover them up. Consists largly of hack removal :-)
* Remove stray debug message.steve1998-05-241-1/+0
| | | | PR: 6722
* Fix various problems with netatalk kernel support.julian1997-10-291-3/+3
| | | | | | | | Some of these changes are a bit rough and will become more polished later. the changes to if_ethersubr should largely be moved to within the appletalk code, but that will happen later. A few of these were related to network-byteorder problems, and more were related to loopback failures.
* Removed unused #includes.bde1997-09-071-6/+0
|
* Cleaned up a little.bde1997-09-071-1/+0
|
* Add a per-interface-address pointer to a function that can be suppliedjulian1997-08-281-3/+19
| | | | | | | | | | | | by a protocol, to detirmine if an address matches the net this address is part of. This is needed by protocols for which netmasks "just don't work", for example appletalk. Also add the code in appletalk to make use of this new feature. Thsi fixes one of the longest standing bugs in appletalk. The inability to talk to machines to which the path is via a router which is on a different net, but the same netrange, as your interface. Protocols that do not supply this function (e.g. IP) should not be affected.
* make the netatalk output routine matcy the prtotype used in thejulian1997-03-051-1/+4
| | | | protocol structure. Silences a warning from Gcc.
* Updated #includes to 4.4Lite style.bde1996-09-101-5/+5
|
* Submitted by: archie@whistle.comjulian1996-07-231-123/+3
| | | | appletalk cleanups
* Obtained from: netatalk distribution netatalk@itd.umich.edujulian1996-05-241-0/+298
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