summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tokensubr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rewriting the lladdr can now be done without using mbuf tags.mpf2005-01-181-6/+5
| | | | | | | | | | Advertisements run through the carp interface first. So we just take the address from ifp0. While we're there, also remove carp_macmatch6, which isn't used anymore. Proposed by mcbride@ ok mcbride@, pascoe@
* Make it possible for carp to work on fddi and token ring again.mcbride2004-12-191-4/+49
| | | | ok pascoe@ mpf@
* remove netiso shitz, millert okhenning2004-07-161-122/+1
|
* First step towards more sane time handling in the kernel -- this changestholo2004-06-211-2/+2
| | | | | | | | things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
* add a congestion indicator to if_queue. It is set when the input queuehenning2004-04-171-7/+2
| | | | | | | | is full, along with a timer that unsets it again after 10ms. The input queue beeing full is a reliable indicator for CPU overload, and this flag allows other subsystems to cope with the situation. hacked with beck ok kjc@ markus@ beck@
* de-register. deraadt okitojun2003-12-101-12/+12
|
* prevent looutput() feedback of broadcast/multicast packets if they aredhartmei2003-08-181-2/+3
| | | | | pf routed. prevents a kernel lockup with some (non-sensical) route-to rules. report and debugging by mpech@. ok itojun@, henning@, mpech@.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* use "tokenbroadcastaddr" throughout the code for consistency. deraadt okitojun2003-05-011-3/+3
|
* remove the altq classifier code which is replaced by pf and no longer used.kjc2003-01-071-9/+2
| | | | ok henning@, deraadt@
* make it compile by removing unused local varsmickey2002-07-181-4/+1
|
* allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always knowitojun2002-06-301-11/+4
| | | | | the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* Use queue.h TAILQ macros instead of accessing members directly.jason2001-12-091-3/+3
| | | | (And convert a few loops to TAILQ_FOREACH).
* introduce the ALTQ queue macros into sys/net files.kjc2001-06-271-9/+20
| | | | | | | | | | | | | | the new model removes direct references to the fields in ifp->if_snd, and defines the following macros to manipulate ifp->if_snd. IFQ_ENQUEUE(ifq, m, pktattr, err) IFQ_DEQUEUE(ifq, m) IFQ_POLL(ifq, m) IFQ_PURGE(ifq) IFQ_IS_EMPTY(ifq) the new model also enforces some rules regarding how to use these macros. details are descrined in http://www.csl.sony.co.jp/~kjc/software/altq-new-design.txt
* change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.itojun2001-06-151-3/+1
| | | | | | | | follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed.
* Make token_output not static.fgsch2000-01-211-4/+4
|
* Token ring subroutines. For details see next commit.fgsch1999-12-271-0/+698