summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
AgeCommit message (Expand)Author
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
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