summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
AgeCommit message (Expand)Author
2018-03-21In ip6_output() check that the interface of a route is valid. ForAlexander Bluhm
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2017-11-22It does not make sense to call pcb lookup from pf during packetAlexander Bluhm
2017-10-26Stop grabbing the KERNEL_LOCK() in network tasks when `ipsec_in_use'Martin Pieuchot
2017-09-20Use m_copym() instead of m_dup_pkt() to fix a kernel assert whenVisa Hankala
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-05-29Per-interface list of addresses, both multicast and unicast, areMartin Pieuchot
2017-04-19Use the rt_rmx defines that hide the struct rt_kmetrics indirection.Alexander Bluhm
2017-04-11Partially revert previous mallocarray conversions that containDavid Hill
2017-04-09Use mallocarray to allocate multicast group memberships.David Hill
2017-02-09percpu counters for TCP statsJeremie Courreges-Anglas
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-10Remove NULL checks before m_free(9), it deals with it.Martin Pieuchot
2016-12-19Extend the multicast sockets and multicast hash table support to multipleRafael Zalamena
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-28Kill a micro optimization that no longer make sense since the two routingMartin Pieuchot
2016-11-18turn ipstat into a set of percpu counters.David Gwynne
2016-11-14Automatically create a default lo(4) interface per rdomain.Martin Pieuchot
2016-11-14turn ipstat into a set of percpu counters.David Gwynne
2016-09-04Prevent a NULL derefernce in ip_output().Martin Pieuchot
2016-08-15replace the last uses of m_copym2 with m_dup_pkt.David Gwynne
2016-07-01Allow resetting the IP_TTL and IP_MINTTL sockoptsJeremie Courreges-Anglas
2016-06-23when pf_test returns something but PF_PASS, set error to EACCESHenning Brauer
2016-05-31Inverse two conditions to not grabe the KERNEL_LOCK for every multicastMartin Pieuchot
2016-05-04Preserve DiffServ value when fragmenting an ipv4 packet.Vincent Gross
2016-04-29Do not allow to change the routing table of a bound socket. ThisAlexander Bluhm
2016-04-18Unbreak RAMDISK, found by deraadt@Martin Pieuchot
2016-04-18Put a KERNEL_LOCK/UNLOCK dance around sections that still need someMartin Pieuchot
2016-02-11Return ENOBUFS when bumping in the multicast max group membershipsJeremie Courreges-Anglas
2016-01-21Introduce in{,6}_hasmulti(), two functions to check in the hot path ifMartin Pieuchot
2016-01-13Prevent a double if_put().Martin Pieuchot
2015-12-05upgrade tcp/ip to use the latest in C89 technology: memcpy.Ted Unangst
2015-12-03deleting ip_insertoptions() prototype, which is no longer neededAlexandr Nedvedicky
2015-12-03add ifdef IPSEC for protoypes; requested by mpi@Markus Friedl
2015-12-03Remove broadcast matching from ifa_ifwithaddr(), use in_broadcast() whereVincent Gross
2015-12-02factor out ip_output_ipsec_{lookup,send}(); with & ok claudio@Markus Friedl
2015-12-02Kill the RT_REPORT flag to rtalloc() and stop sending RTM_MISS messagesClaudio Jeker
2015-12-01typo in commentmmcc
2015-11-26Use rtalloc(9) to look for a local address (RTF_LOCAL) in ip_setmoptions().Martin Pieuchot
2015-11-19Grab the KERNEL_LOCK around ip_mforward(), in preparation for unlockingMartin Pieuchot
2015-11-11Store the index of the lo0 interface instead of a pointer to itsMartin Pieuchot
2015-11-03Disable TCP/UDP TX hardware checksumming if an IPv4 packet containsChristian Weisgerber
2015-10-24Convert some if_ref() to if_get().Martin Pieuchot
2015-10-20add a new getsockopt option IP_IPDEFTTL to retrieve the default ttl.Sebastian Benoit
2015-10-19Stop checking for RTF_UP directly, call rtisvalid(9) instead.Martin Pieuchot
2015-10-13Use rtisivalid(9) to check if the given (cached) route can be used.Martin Pieuchot
2015-10-07easy size for free(); ok mpiTheo de Raadt
2015-09-23Always increment rt_use inside rtalloc(9) instead of doing it in someMartin Pieuchot
2015-09-13There's no point in abstracting ifp->if_output() as long as pf_test()Martin Pieuchot
2015-09-13Get the default loopback interface pointer just after doing a routeMartin Pieuchot