summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
AgeCommit message (Expand)Author
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
2015-04-14Remove support for storing credentials and auth information in the kernel.Mike Belopuhov
2014-12-17Remove the "multicast_" prefix from the fields a multicast-only struct.Martin Pieuchot
2014-12-17Use an interface index instead of a pointer for multicast options.Martin Pieuchot
2014-12-08Do not use a "struct route" when a "struct rtentry" is enough.Martin Pieuchot
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-11-20sizes for simple free cases. sizeof(*) and one case where len is clear.Ted Unangst
2014-11-05Kill in_iawithaddr() and use ifa_ifwithaddr() directly.Martin Pieuchot
2014-11-01Rename rtalloc1() into rtalloc(9) and convert its flags to only enableMartin Pieuchot
2014-10-14Use rtfree() instead of RTFREE(), NULLify some free'd route pointers andMartin Pieuchot
2014-10-08Check if the outgoing route is associated to a broadcast address insteadMartin Pieuchot
2014-09-27Kill rtalloc() and update rtalloc1() and rtalloc_mpath() to no longerMartin Pieuchot
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-11in_proto_cksum_out: zero the icmp cksum before going on so that we do notHenning Brauer
2014-04-21ip_output() using varargs always struck me as bizarre, esp since it's onlyHenning Brauer
2014-04-20move in_cksum_phdr from in.h (under #ifdef _KERNEL, at least) to ip_output.cHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-04-07Retire kernel support for SO_DONTROUTE, this time without breakingMartin Pieuchot
2014-03-28revert "Retire kernel support for SO_DONTROUTE" diff, which does bad thingsStuart Henderson
2014-03-27Retire kernel support for SO_DONTROUTE, since the plan is to alwaysMartin Pieuchot
2014-01-23since the cksum rewrite the counters for hardware checksummed packetsHenning Brauer
2014-01-23put the in{,6}_delayed_cksum() and in{,6}_proto_cksum_out() prototypesChristian Weisgerber
2014-01-21Do not clean the multicast records of an interface when it is destroyedMartin Pieuchot
2014-01-09bzero/bcmp -> memset/memcmp. ok matthewTed Unangst
2013-12-17Change ip_output()'s non-optional arguments to be standard argumentsMatthew Dempsky
2013-12-04ifp must be initialized in ip_setmoptions; from oga via mpi, ok mpiMike Belopuhov
2013-11-27Replace INADDR_TO_IFP() by in_iawithaddr() and kill the macro.Martin Pieuchot
2013-10-25Don't let in_proto_cksum_out() assume that the ICMP checksum field isLawrence Teo
2013-10-20no need to make the icmp cksum "offloading" case special insofar that theHenning Brauer
2013-10-19make in_proto_cksum_out not rely on the pseudo header checksum to beHenning Brauer
2013-10-18Abstract the fact that IPv4 muticast records are linked to theMartin Pieuchot