summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2013-04-02Instead of storing the link-level address of every interface in a globalMartin Pieuchot
2013-03-29Replace hand-crafted loops in if.c with the FOREACH macro.Alexander Bluhm
2013-03-28code that calls timeout functions should include timeout.hTed Unangst
2013-03-28no need for a lot of code to include proc.hTed Unangst
2013-03-28Replace some casts to struct in_ifaddr pointer by ifatoia() or NULL.Martin Pieuchot
2013-03-26Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.Martin Pieuchot
2013-03-20Introduce if_get() to retrieve an interface descriptor pointer givenMartin Pieuchot
2013-03-15change LIST_END to literal NULL for clarity.Ted Unangst
2013-03-07Remove unused ifa_ifwithaf() function.Martin Pieuchot
2013-03-07Remove the IFAFREE() macro, the ifafree() function it was calling alreadyMartin Pieuchot
2012-11-23Add SIOCGIFHARDMTU to allow retrieving the driver's maximum supported MTUStuart Henderson
2012-10-23Only clear the revarp_ifp if the ifp pointing to it is detached.Claudio Jeker
2012-10-18Move revarp code into #ifdef NFSCLIENT; saving space on some media.Theo de Raadt
2012-10-05Point an interface directly to its bridgeport configuration, insteadCamiel Dobbelaar
2012-09-19Make rt_lookup return a pointer to an rtentry struct instead ofBret Lambert
2012-09-19More radix internals pushdown; place rn_mpath_next, which accepts andBret Lambert
2012-09-18Wrap rtable_add() and rtable_l2set() calls inside ifioctl() inside softnet,Bret Lambert
2012-01-03To access the ifaddr of an in_ifaddr or in6_ifaddr struct, it isAlexander Bluhm
2011-10-24Don't detach interface from group in if_clone_destroy(),Camiel Dobbelaar
2011-07-09begone, fucking rotten appletalk shit. ok roomHenning Brauer
2011-07-08new priority queueing implementation, extremely low overhead, thus fast.Henning Brauer
2011-07-06cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhmHenning Brauer
2011-07-05now of course I only noticed if_qflush is completely unused afterHenning Brauer
2011-07-04remove compat_svr4 support. ok deraadtTed Unangst
2011-03-13Add a way to enable/disable Wake On LAN with ifconfig.Stefan Sperling
2011-01-25pool is properly spelled pl. makes this one fit in netstat column.Ted Unangst
2011-01-18When changing the ifa_broadaddr broadcast address, ifa_update_broadaddr()Alexander Bluhm
2010-11-29Let ifa_print_rb() build on INET6-free kernels. Repairs RAMDISK on a fewMiod Vallat
2010-11-17make ifa_ifwithaddr use the RB tree for lookups instead of nested listHenning Brauer
2010-11-17add ifa_print_rb(), dumps the RB tree to the console, can be called fromHenning Brauer
2010-11-17maintain an RB tree of ifaddrs in the system (addresses and broadcast addrs,Henning Brauer
2010-11-17introduce ifa_update_broadaddr to update an ifaddr's broadcast address,Henning Brauer
2010-10-25move to static initializers for the ifnet/ifg_head TAILQ'sBret Lambert
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