summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-05-07Add MPLS support to loopback.Esben Norby
Makes it possible to do evil tricks locally. ok claudio@
2008-05-07check TIOCSIG for 0 and do not send that to psignal() and pgsignal()Theo de Raadt
ok fgsch
2008-05-07Missing return and correctly indent a debug printf.Claudio Jeker
2008-05-07add mpe_input() to be able to be fed packets that will reenter ip.Pierre-Yves Ritschard
no consumers yet, they should come soon. ok norby@
2008-05-07Make mpe a point-to-point interface.Pierre-Yves Ritschard
Make the mtu user definable. ok claudio@
2008-05-07scrub packets based on tags; ok henningMarkus Friedl
2008-05-07Correctly initialize labels by byte-swapping and inserting BoS and TTL.Pierre-Yves Ritschard
While there bump MTU to 1500 and set the receiving interface before calling mpls_input. mpestart will eventually call mpls_output when it exists. ``yaaaaayyy'' and ok claudio@ and norby@
2008-05-07allow setting TOS with scrub; ok mcbride, claudioMarkus Friedl
2008-05-07backout last change, it's already there....Markus Friedl
2008-05-07Prevent virtual interfaces from adding to the random pool.Marco Pfatschbacher
Also move the sampling into ether_input() where it can happen at the interrupt and not within splnet() processing, which might be less random. Discussed with mickey. OK markus@, mcbride@
2008-05-07Implement routing priorities. Every route inserted has a priority assignedClaudio Jeker
and the one route with the lowest number wins. This will be used by the routing daemons to resolve the synchronisations issue in case of conflicts. The nasty bits of this are in the multipath code. If no priority is specified the kernel will choose an appropriate priority. Looked at by a few people at n2k8 code is much older
2008-05-07Rather than fixing ises(4), nuke it.Kenneth R Westerback
ok deraadt@
2008-05-07Redo rev 1.8 but this time with an additional fix to solve the dhclient crashesClaudio Jeker
seen by krw. This is a prerequisite for upcomming routing priorities: Always compare the nexthop if one is specified even if it is a non-multipath route. This mostly affects "route delete" and it will not remove the last route if previous delete is redone. OK henning@
2008-05-07Rather than fixing ises(4), nuke it.Kenneth R Westerback
ok deraadt@
2008-05-07Rather than fixing ises(4), nuke it.Kenneth R Westerback
ok deraadt@
2008-05-07There is no reason to have a faithrtrequest() function that sets the MTU toClaudio Jeker
route MTU to the interface MTU. By default if no route MTU is set it will fall back to the interface MTU anyway. OK henning@
2008-05-06Add a PR_ZERO flag for pools, to compliment the M_ZEROThordur I. Bjornsson
malloc flag, does the same thing. use it in a few places. OK tedu@, "then go ahead. and don't forget the manpage (-:" miod@
2008-05-06Kill vtophys in drm.Owain Ainsworth
The code we inherited from FreeBSD used vtophys is a fair few places, nuke that and replace with bus_dma. technically _DRM_SHM should be managed with uao_create(), but until we move away from mmap and into an ioctl to map, this will do. This also paves the way for amd64 support (it lacks vtophys). ok kettenis, miod looked at it a while back too.
2008-05-06currently agp_i810 needs to map the same BAR as inteldrm, this obviouslyOwain Ainsworth
fails. In order to allow this, implement an API so that drm and agp can share mappings for the BARs. Now it works as it should. tested by many. ok kettenis, miod said he'd look at it when it's in tree.
2008-05-06retire vfs_mountroot();Thordur I. Bjornsson
setroot() is now (and has been) responsible for setting the mountroot function pointer "to the right thing", or failing todo that, to ffs_mountroot; based on a discussion/diff from deraadt@. OK deraadt@
2008-05-06Use the standard syslog levels on CARP logging messages instead ofRyan Thomas McBride
simple on/off, allowing more control over how verbose the logging is. This also allows you to do a further level of filtering in syslog.conf if you need to. Also add logging of state changes, inspired by diff provided by Brian A. Seklecki in PR 5513. These messages are logged by default. ok henning mpf deraadt
2008-05-06bring in the mpe interface - for ``MPLS Provider Edge'' - this is a workPierre-Yves Ritschard
in progress and some bits need to be cleaned up but will be in-tree for convenience. ok claudio@, norby@
2008-05-06Add support for the Apple USB Ethernet adapter.Marco Pfatschbacher
Work around the "latch in at the first working PHY address hack", that fails for this adapter because it returns 0xffff when reading from lower PHY addresses. Also add more debugging printfs. Testing and OK jsg@
2008-05-06AMD_8111_PMC has timecounter, too; ok grange@ some time agoMarkus Friedl
2008-05-06syncMarco Pfatschbacher
2008-05-06Add Apple USB Ethernet.Marco Pfatschbacher
2008-05-06Remove bogus entries for PCI_PRODUCT_DELL_PERC_3DI_2, which apparentlyMarco Pfatschbacher
is an UART. Makes aac(4) compile again. OK dlg@
2008-05-06Kill state if we get SYN for a state that has been closed from both sides.Markus Friedl
ok henning@
2008-05-06Report the clock status in a signal sensor, like all other timedeltas.Marc Balmer
2008-05-06remove tcp_drain code since it's not longer used; ok henning, feedback thibMarkus Friedl
2008-05-06Drop all broadcast and multicast packets.Esben Norby
ok claudio@
2008-05-06get rid of rtalloc, use rtalloc1 instead.Esben Norby
ok claudio@
2008-05-06syncTheo de Raadt
2008-05-06someone making usb keyboards.. for oems.. owned by vladas.urbonasTheo de Raadt
2008-05-06M_PREPEND can set its first parameter to NULL, and all other codeKenneth R Westerback
using M_PREPEND checks for NULL after the invocation. So check here too and return ENOBUFS if NULL is detected. ok henning@
2008-05-06syncTheo de Raadt
2008-05-06another omron usb that must be ugen; vladas.urbonas@gmailTheo de Raadt
2008-05-06Add a counter to record how many states have been created by a rule.Marco Pfatschbacher
It shows up in pfctl verbose mode and in the 7th field of the labels output. Also remove the label printing for scrub rules, as they do not support labels. OK dhartmei@ (on an earlier version), henning@, mcbride@
2008-05-06Prevent possible overflow of int variable on large memory machines.Tobias Weingartner
ok kettenis@
2008-05-06fix debug output.Esben Norby
ok claudio@
2008-05-06Rather than clearing particularly dangerous flags when found, justKenneth R Westerback
zero all flags when we pool_put mbufs. ok claudio@ henning@
2008-05-06rename file; Paul de WeerdTheo de Raadt
2008-05-05Correct defines for NXE_DB_PEGID_RX|TX. OK dlg@Claudio Jeker
2008-05-05We will never use __BUS_SPACE_HAS_STREAM_METHODS so remove all the codeClaudio Jeker
behind it. OK miod@, drahn@
2008-05-05dell drac 3 and 4 virtual uarts are pucs running very fast.David Gwynne
2008-05-05Make nmea(4) behave like the other timedelta sensors and provide aMarc Balmer
signal sensor that reflects the status of the receiver. tested by and ok ckuethe
2008-05-05retire ltsleep(); The only refrence left too it is in anThordur I. Bjornsson
ifdef netbsd block in drm code, but oga@ says he'll remove it soon... OK art@, oga@;
2008-05-05add lldp typeDavid Gwynne
2008-05-05in rt_gettable, we unfortunately have to check for rt_tables[id] != NULLHenning Brauer
before returning rt_tables[id][af2rtafidx[af]. when you created tables and left a hole (0 and 2 exist, 1 does not) it is possible to hit that case. issue found & ok claudio
2008-05-05remove a useless refcnt in pf_state_key.Henning Brauer
when it is in fact only used to delete the state key when the number of attached states (in a tailq) drops to zero, we can as well test for the queue beeing empty. this is a leftover from some early version that did things differently. ok ryan