summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2010-08-27remove the unused if_init callback in struct ifnetJonathan Gray
2010-08-25Let rtable_add() return usefull errnos so that the ioctl handler and theClaudio Jeker
2010-08-25Move the iface specific ioctl call for SIOCSIFRDOMAIN further down so thatClaudio Jeker
2010-08-25When setting a rdomain also force -inet6 aka IFXF_NOINET6 on the interfaceClaudio Jeker
2010-08-24spacesClaudio Jeker
2010-08-24Add a splnet() around a block that needs it for sure. Maybe more inClaudio Jeker
2010-07-31another pair of files which relied on mbuf.h for pool.h; should be the last,Bret Lambert
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
2010-06-29Replace enc(4) with a new implementation as a cloner device. We stillReyk Floeter
2010-05-28Rework the way we handle MPLS in the kernel. Instead of fumbling MPLS intoClaudio Jeker
2010-05-08While handling SIOCSIFLLADDR, after adjusting the MAC of the interface,Stefan Sperling
2010-04-25Properly adjust group demotion counters when groups are added orMarco Pfatschbacher
2010-04-17When the MAC address changes, change the IPv6 link local addressStefan Sperling
2010-04-17split SIOCSIFLLADDR code out into an ifnewlladr() functionTheo de Raadt
2010-03-08argh, in del too, simultaneously spotted by kettenis and meHenning Brauer
2010-03-08aye, broadcast addr too. spotted by kettenisHenning Brauer
2010-03-08don't call ifa_item_add/del in ifa_add/del, so the ifa RB tree doesn'tHenning Brauer
2010-03-05in ifa_ifwithaddr, do not use the shiny new RB tree, there is aHenning Brauer
2010-01-13make ifa_ifwithaddr use the shiny new ifaddr RB tree instead of traversingHenning Brauer
2010-01-13maintain a global RB tree of all local addresses in the system. thisHenning Brauer
2010-01-13instead of fiddling with the per-interface address lists directly inHenning Brauer
2010-01-12Move initialization of the MCLGETI ticker to mbinit(), instead of ifinit()Theo de Raadt
2010-01-08During "ifconfig $if -inet6" remove v6 addresses even if theStefan Sperling
2009-12-13Ensure that if_start() is called at IPL_NET.Joel Sing
2009-11-21Add a way to bind the tunnel endpoint of a gif/gre interface into aClaudio Jeker
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-08-12dlg deferred calling interfaces' if_start routine so we call them less,Henning Brauer
2009-08-10At sys_reboot time, bring all the interfaces down so that their xxstopTheo de Raadt
2009-07-09unsigned -> unsigned intBret Lambert
2009-06-06when xflags got changed, tell the userland by routing socketsRainer Giedat
2009-06-05Add missing #ifdef INET6 ... #endifAlexander Hall
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-06-04allow IPvShit to be turned off completely per-interface.Henning Brauer
2009-06-01There is no need to use a variable just for sizeof(). Garbage collect ifa.Claudio Jeker
2009-05-31Consolidate common code for interface attachment into single functionBret Lambert
2009-05-31Reenable interface state tracking now that I found and fixed the cause ofClaudio Jeker
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
2009-02-24Disable rt_if_track() for now. This causes the rtfree panic seen in PR6043Claudio Jeker
2009-01-31No need to invent another _offset, just use the one from param.h.Alexander Yurchenko
2009-01-09fix egress group matching for IPv6; ok claudio@David Krause
2008-12-12Introduce a if_priority that will be added to RTP_STATIC when routes areClaudio Jeker
2008-12-11export per-interface mbuf cluster pool use statistics out to userlandTheo de Raadt
2008-11-26Avoid network livelock.Theo de Raadt
2008-11-26provide m_clsetlwm, an interface for an interface to raise its lowDavid Gwynne
2008-11-25expect if_flags to have IFF_RUNNING rather than IFF_UP before modifyingDavid Gwynne
2008-11-25art says he doesnt suck anymore, so enable the really big clusterDavid Gwynne
2008-11-25Factor increases are not needed, +1 appears to work as well.Theo de Raadt
2008-11-25m_cluncount() needs to walk the mbuf chain to correctly uncount all clustersClaudio Jeker
2008-11-24add several backend pools to allocate mbufs clusters of various sizes outDavid Gwynne
2008-11-24Implement link-state tracking on the routing table. Routes to interfacesClaudio Jeker