summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2013-10-19in order to make our life a tad easier and prevent rogue accessesMike Belopuhov
2013-10-19Bring back the if_detachhook. We're going to have more users now.Reyk Floeter
2013-10-19When we attach an interface, do not try to reuse the last index toMartin Pieuchot
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-10-09Introduce in_ifdetach() a function to remove all the IPv4 addressesMartin Pieuchot
2013-09-17Change vlan(4) detach procedure to not use a hook but a list of vlansMartin Pieuchot
2013-09-12Revert previous diff to always increment the interface index, tun_switch()Martin Pieuchot
2013-08-28When we attach an interface, do not try to reuse the last index to limitMartin Pieuchot
2013-08-28Remove unused argument from *rtrequest()Martin Pieuchot
2013-08-20tedu netnatm and ueagle(4).Martin Pieuchot
2013-06-20Revert previous and unbreak asr, the new include should be protected.Martin Pieuchot
2013-06-20Allocate the various hook head descriptors as part of the ifnetMartin Pieuchot
2013-06-18Use malloc(M_WAITOK) in if_attach_common(), because this function mustMasao Uebayashi
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