summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
AgeCommit message (Expand)Author
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
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.Martin Pieuchot
2015-09-12Introduce if_input_local() a function to feed local traffic back toMartin Pieuchot
2015-09-12Fix two cases where it was possible to call if_put with an uninitialized ifpClaudio Jeker
2015-09-11if_put() after if_get for ip_output. This became suddenly super trivial.Claudio Jeker
2015-09-11There is no need to do the route lookups twice just because of IPSec.Claudio Jeker
2015-09-03Revert (again!) the two uses of rtisvalid(9), they break NFS!Martin Pieuchot
2015-09-03Convert ip{,6}_output() (cached) route entry checks to rtisvalid(9).Martin Pieuchot
2015-09-02Revert the two uses of rtisvalid(9) for the moment, it breaks dhclient(8)Martin Pieuchot
2015-09-01Convert ip{,6}_output() (cached) route entry checks to rtisvalid(9).Martin Pieuchot
2015-08-31`encif' should only be used under #ifdef NPF.Martin Pieuchot
2015-07-16Kill IP_ROUTETOETHER.Martin Pieuchot
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-07Replace a bunch of == 0 with == NULL in pointer tests. Nuke someKenneth R Westerback
2015-05-23remove PACKET_TAG_IPSEC_PENDING_TDB, it is never set; ok mikeb@Markus Friedl
2015-05-13test mbuf pointers against NULL not 0Jonathan Gray
2015-04-17Stubs and support code for NIC-enabled IPsec bite the dust.Mike Belopuhov
2015-04-16remove unfinished/unused support for socket-attached ipsec-policiesMarkus Friedl