summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2014-05-16Do not put any link-layer address on the per-ifp lists or on the RB-Martin Pieuchot
2014-05-13While Rev 1.285 fixed a RB tree corruption it caused a TAILQ corruptionClaudio Jeker
2014-05-05Use a custom ifa_rtrequest function for point-to-point interfacesMartin Pieuchot
2014-04-22ifa_ifwithroute() is the only magic place where an AF_LINK sockaddrMartin Pieuchot
2014-04-20When switching rdomains the sadl needs to be removed and re-added from theClaudio Jeker
2014-04-19remove the altq enable/attach and disable/detach bitsHenning Brauer
2014-04-10Retire rtinit() an use rt_ifa_add(9) and rt_ifa_del(9) to manageMartin Pieuchot
2014-03-20Do not pull <sys/tree.h> unconditionally in <net/if.h>, only the addressMartin Pieuchot
2014-03-19Since in{,6}_ifdetach() take care of removing the IPv4/6 addressesMartin Pieuchot
2014-02-04reduce the length of some pool names. ok deraadt guenther mpiTed Unangst
2013-11-28Change the way protocol multicast addresses are linked to an interface.Martin Pieuchot
2013-11-27Let's call a rtableid a rtableid.Martin Pieuchot
2013-11-19Remove some FDDI/ATM leftovers.Martin Pieuchot
2013-11-18Convert trunk(4) to use a detachhook, discussed at b2k13 with many.Martin Pieuchot
2013-11-11Replace most of our formating functions to convert IPv4/6 addresses fromMartin Pieuchot
2013-10-23Remove the number of in_var.h inclusions by moving some functions andMartin Pieuchot
2013-10-21Enable IPv6 routing domain supportPeter Hessler
2013-10-20rt_mpath_next() was always called with 0 in the last argument. So drop it.Claudio Jeker
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