summaryrefslogtreecommitdiff
path: root/sys/netinet/in.c
AgeCommit message (Expand)Author
2017-05-29Per-interface list of addresses, both multicast and unicast, areMartin Pieuchot
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-04Introduce sstosa() for converting sockaddr_storage with a type safeAlexander Bluhm
2017-03-27Fix the prefixlen sent by RTM_NEWADDR on new addresses without masks:Rafael Zalamena
2017-02-16Revert "Release the NET_LOCK() before entering per-driver ioctl() routine".Martin Pieuchot
2017-02-07Release the NET_LOCK() before entering per-driver ioctl() routine.Martin Pieuchot
2016-12-20Remove duplicate in_ioctl() prototype, it is in in_var.h now.Alexander Bluhm
2016-12-19Remove a recursive splsoftnet() in in_ioctl() that already asserts thatMartin Pieuchot
2016-12-19If rt_ifa_addlocal() in in_ifinit() fails, the address has beenAlexander Bluhm
2016-12-05Remove recursive splsoftnet()s in ioctl(2) path.Martin Pieuchot
2016-09-04Purge routes attached to an address when this address is removed.Martin Pieuchot
2016-06-13Move the ioctl(2) logic of in{,6}_control() into two new functionsMartin Pieuchot
2016-04-18Put a KERNEL_LOCK/UNLOCK dance around sections that still need someMartin Pieuchot
2016-01-21Introduce in{,6}_hasmulti(), two functions to check in the hot path ifMartin Pieuchot
2015-12-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everyMartin Pieuchot
2015-11-24No need for <net/if_types.h>Martin Pieuchot
2015-09-12Now that rtrequest1(9) properly sets RTF_UP for newly added route,Martin Pieuchot
2015-09-09gotta if_put after you if_getDavid Gwynne
2015-08-24In kernel initialize struct sockaddr_in and sockaddr_in6 to zeroAlexander Bluhm
2015-07-08Use a new RTF_CONNECTED flag for interface (connected) routes.Martin Pieuchot
2015-07-06We're now creating a connected route for every configured address soMartin Pieuchot
2015-07-06No longer need to manually pass RTF_MPATH to rt_ifa_add(9).Martin Pieuchot
2015-05-26Store the IP address of the corresponding ifa in the rt_gateway fieldMartin Pieuchot
2015-05-15Allow multiple connected/interface routes to exist at the same time.Claudio Jeker
2015-01-12Kill the global list of IPv4 addresses.Martin Pieuchot
2015-01-05Explicitly check for a non NULL ifp in in_control(). Only MROUTINGMartin Pieuchot
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-11-25Since in_broadcast() is now used to always iterate on all the interfacesMartin Pieuchot
2014-11-24Rename rt_ifa_addloop() into rt_ifa_addlocal() and make it return anMartin Pieuchot
2014-11-20sizes for simple free cases. sizeof(*) and one case where len is clear.Ted Unangst
2014-11-20funky spacing.Martin Pieuchot
2014-11-20Instead of playing hide-and-seek with the route to destination attachedMartin Pieuchot
2014-11-05Did you ever wonder why loopback's ifas have a destination address?Martin Pieuchot
2014-10-07Do not protect the SIOCSIFADDR call by splnet(). Drivers alreadyMartin Pieuchot
2014-10-02There is no point in trying to purge the default host route forMartin Pieuchot
2014-10-01Fix loopback related breakage introduced by the conversion of in_ouraddr()Martin Pieuchot
2014-09-03When a route to prefix (connected route) is added, if its associatedMartin Pieuchot
2014-08-23Move splnet() in in_ifinit() to protect less code that does notAlexander Bluhm
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-12Always create a local route for every configured IPv4 address on theMartin Pieuchot
2014-06-26Calling in{6,}_purgeaddr() is not enough to remove an address fromMartin Pieuchot
2014-06-16Revert "Always create a local route for every configured IPv4 address",Martin Pieuchot
2014-06-11Always create a local route for every configured IPv4 address on theMartin Pieuchot
2014-04-25Kill in_localaddr(), one less usage of the global list of IPv4 addresses.Martin Pieuchot
2014-04-10Retire rtinit() an use rt_ifa_add(9) and rt_ifa_del(9) to manageMartin Pieuchot
2014-03-27Stop mixing interface address flags with routing entry ones.Martin Pieuchot
2014-03-21Split the magic to add a connected route for every new IPv4 addressMartin Pieuchot
2014-03-14Add missing parens so 'if' statement controls both of the statementsKenneth R Westerback
2014-01-21Do not clean the multicast records of an interface when it is destroyedMartin Pieuchot
2013-12-31bcopy -> memcpy. reviewed with one fix from matthewTed Unangst