summaryrefslogtreecommitdiff
path: root/sys/netinet/in.c
AgeCommit message (Expand)Author
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
2013-11-28Change the way protocol multicast addresses are linked to an interface.Martin Pieuchot
2013-10-23No need to expose twice in_socktrim(), it is only used in one file.Martin Pieuchot
2013-10-18Abstract the fact that IPv4 muticast records are linked to theMartin Pieuchot
2013-10-09Introduce in_ifdetach() a function to remove all the IPv4 addressesMartin Pieuchot
2013-09-26Move the logic for deleting an IPv4 address to its own function.Martin Pieuchot
2013-08-28If have an interface pointer, look for an address on its list ratherMartin Pieuchot
2013-08-19In case something bad happened when configuring an IPv4 address, makeMartin Pieuchot
2013-08-08Insert new IPv4 addresses in only one place, no functional change.Martin Pieuchot
2013-06-23Revert r1.78 for now, it breaks ipv4 on carp. As found the hard way byStuart Henderson
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-17Always add/remove IPv4 addresses consistently from the global list and tree.Martin Pieuchot
2013-05-31Remove the scrub argument from in_ifinit() and simply call in_ifscrub()Martin Pieuchot
2013-05-13Make SIOCSIFDSTMASK and SIOCSIFNETMASK fail if there is no previousMartin Pieuchot
2013-04-17Simplify the check to call in_ifinit() by merging two conditionalMartin Pieuchot
2013-03-22simple replacement of LIST_END with NULL. ok mpiTed Unangst
2013-03-07Remove the IFAFREE() macro, the ifafree() function it was calling alreadyMartin Pieuchot
2012-07-10in_scrubprefix needs the same netmask checking as in_addprefix (which wasClaudio Jeker
2012-07-08Instead of casting interface address pointers, use the macros NULLAlexander Bluhm
2012-01-03To access the ifaddr of an in_ifaddr or in6_ifaddr struct, it isAlexander Bluhm
2011-10-13Since the IPv6 madness is not enough introduce NAT64 -- which is actuallyClaudio Jeker
2011-07-06allow /31s on broadcast interfaces (eg ethernet) to work as per rfc3021.David Gwynne
2011-07-03slight knf (particularly the function decls) so i dont get too distractedDavid Gwynne
2011-07-02gc in_interfaces. doesnt seem to do anything except get incremented.David Gwynne
2011-04-28Make in_broadcast() rdomain aware. Mostly mechanical change.Claudio Jeker
2010-11-28Only call ifa_del() when no error happend previously. Do the same thingClaudio Jeker