summaryrefslogtreecommitdiffstats
path: root/sys/netatalk
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors.bde1998-08-171-8/+9
|
* fix broken loopback code for ddp (again)julian1998-08-041-4/+37
| | | | Submitted by: Stefan Bethke <stb@hanse.de>
* Typo fix: teh --> (the|they)alex1998-07-301-1/+1
|
* 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 :-)
* This commit fixes various 64bit portability problems required fordfr1998-06-072-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* spurious ntohs calls were stopping some packets from being recognisedjulian1998-06-051-6/+6
| | | | | for what they are.. Taken from the netatalk mailing list. from a NetBSD user.
* Remove stray debug message.steve1998-05-241-1/+0
| | | | PR: 6722
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.des1998-04-171-1/+1
|
* Eradicate the variable "time" from the kernel, using various measures.phk1998-03-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "time" wasn't a atomic variable, so splfoo() protection were needed around any access to it, unless you just wanted the seconds part. Most uses of time.tv_sec now uses the new variable time_second instead. gettime() changed to getmicrotime(0. Remove a couple of unneeded splfoo() protections, the new getmicrotime() is atomic, (until Bruce sets a breakpoint in it). A couple of places needed random data, so use read_random() instead of mucking about with time which isn't random. Add a new nfs_curusec() function. Mark a couple of bogosities involving the now disappeard time variable. Update ffs_update() to avoid the weird "== &time" checks, by fixing the one remaining call that passwd &time as args. Change profiling in ncr.c to use ticks instead of time. Resolution is the same. Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call hzto() which subtracts time" sequences. Reviewed by: bde
* Removed unused #includes.bde1998-02-251-1/+1
|
* Removed unused #includes.bde1998-02-251-9/+0
|
* Staticize.eivind1998-02-093-7/+7
|
* Fixed pedantic syntax errors.bde1998-02-032-2/+2
|
* Forward declare some structs so that this file is more self-sufficient.bde1998-02-031-0/+6
|
* Make the debug options new-style.eivind1998-01-311-2/+4
| | | | | This also zaps a DPT option from lint; it wasn't referenced from anywhere.
* Make INET a proper option.eivind1998-01-081-1/+1
| | | | | | | | | | | | This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
* Fix various problems with netatalk kernel support.julian1997-10-295-85/+172
| | | | | | | | 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.
* Remove dereference of uninitialized (and unused) variable. This enablesjlemon1997-10-062-6/+0
| | | | netatalk to work again.
* Update for new callout interface.gibbs1997-09-213-14/+18
|
* Update network code to use poll support.peter1997-09-142-2/+2
|
* Removed unused #includes.bde1997-09-075-33/+4
|
* Cleaned up a little.bde1997-09-072-3/+1
|
* Moved misplaced extern declarations.bde1997-09-072-1/+2
|
* Staticicized.bde1997-09-073-14/+8
|
* Fixed another sloppy common-style declaration (staticized it).bde1997-09-072-1/+2
|
* Removed unused variable.bde1997-09-071-1/+0
|
* Fixed sloppy common-style declarations.bde1997-09-073-2/+6
|
* Added used #include - don't depend on <sys/mbuf.h> includingbde1997-09-023-0/+3
| | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
* Add a per-interface-address pointer to a function that can be suppliedjulian1997-08-282-4/+62
| | | | | | | | | | | | 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.
* Fix all areas of the system (or at least all those in LINT) to avoid storingwollman1997-08-162-100/+88
| | | | | | | | socket addresses in mbufs. (Socket buffers are the one exception.) A number of kernel APIs needed to get fixed in order to make this happen. Also, fix three protocol families which kept PCBs in mbufs to not malloc them instead. Delete some old compatibility cruft while we're at it, and add some new routines in the in_cksum family.
* Removed unused #includes.bde1997-08-022-12/+0
|
* Actually POINT to the appletalk usrreqs struct.julian1997-06-022-0/+2
| | | | I guess no-one else tried to use this.. (yet)
* First cut at patches to make appletalk compile againjulian1997-05-135-222/+378
| | | | after the dissapearance of the USRREQ() entrypoint.
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-203-5/+6
| | | | type mismatches. There was no problem in practice (at least on 386's).
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includebde1997-03-241-1/+1
| | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files.
* Don't include <sys/ioctl.h> in the kernel. Stage 1: don't includebde1997-03-242-2/+0
| | | | | it when it is not used. In most cases, the reasons for including it went away when the special ioctl headers became self-sufficient.
* make the netatalk output routine matcy the prtotype used in thejulian1997-03-054-4/+9
| | | | protocol structure. Silences a warning from Gcc.
* Convert the interface address and IP interface address structureswollman1996-12-133-41/+23
| | | | | | to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable).
* bzero the entire at_ifaddr struct we malloc, not just the first part of it..julian1996-09-111-1/+1
|
* chnages to bring atlak a bit more into the BSD4.4 world and tojulian1996-09-111-19/+33
| | | | | (more) properly keep track of the allocation and freeing of interface address structures.
* Updated #includes to 4.4Lite style.bde1996-09-106-28/+28
|
* allow a new loopback route to overwrite an old one..julian1996-09-031-5/+10
| | | | this allows the atalkd to be restarted.. a better fix will come later.
* wow we can even make net ranges go away now (how sophisticated!)julian1996-08-311-55/+44
|
* Add code to automaticall support subnets on ethertalk networksjulian1996-08-313-105/+68
| | | | | | | 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.
* Massively COMMENT at_control.cjulian1996-08-292-43/+278
| | | | | | | | | and fix some bugs.. also fix a bug in aarp.c that didn't take netranges into account. default routes now work with appletalk, which is a poor-man's way of being able to access netranges if you only have one network :) Hopefully the full netranges fix will happen soon.
* fix a broken atalk stack..julian1996-08-191-3/+16
| | | | | the lat commits (3 weeks ago ) broke this, and I'm only now getting complaints.. oops!
* Submitted by: archie@whistle.comjulian1996-07-233-12/+13
| | | | slight cleanups on yesterday's patches
* Submitted by: archie@whistle.comjulian1996-07-2313-891/+276
| | | | appletalk cleanups
OpenPOWER on IntegriCloud