summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
AgeCommit message (Expand)Author
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
2013-08-08Change MTU discovery functions to not abuse the global icmpsrc variableMartin Pieuchot
2013-08-08Make use of IFP_TO_IA() instead of rolling our own copy, no functionalMartin Pieuchot
2013-07-31Move bridge_broadcast and subsequently all IPsec SPD lookup code outMike Belopuhov
2013-07-04format string fixes: size_t and uint16_tStefan Fritsch
2013-06-26put the cksum diff back, of course with the bug fixed where we couldHenning Brauer
2013-06-11Replace all ovbcopy with memmove; swap the src and dst arguments tooTheo de Raadt
2013-06-05Calculate ICMP checksums with in4_cksum() which lets us get rid of theLawrence Teo
2013-04-24ansify.Martin Pieuchot
2013-04-11Remove the extern keyword from function declarations, documentMartin Pieuchot
2013-04-10Remove various external variable declaration from sources files andMartin Pieuchot
2013-04-09Remove read-only ipsec variables and directly use defines instead.Martin Pieuchot
2012-11-06backout csum diff for the moment, requested by theoHenning Brauer
2012-11-05Make sure that in[6]_proto_cksum_out() is called unconditinally and notClaudio Jeker
2012-11-01redo most of the protocol (tcp/udp/...) checksum handlingHenning Brauer
2012-10-05Point an interface directly to its bridgeport configuration, insteadCamiel Dobbelaar
2012-09-20spltdb() was really just #define'd to be splsoftnet(); replace the formerBret Lambert
2012-07-16add IP_IPSECFLOWINFO option to sendmsg() and recvmsg(), so npppd(4)Markus Friedl
2012-04-13unneccessary casts to unsigned; ok claudioTheo de Raadt
2012-04-07Bring the rtable sockopt code in line with the setrtable() implementation.Claudio Jeker
2012-03-30actually store the result of the pmtu-route lookup. otherwise weMarkus Friedl
2012-03-17remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.David Gwynne
2011-12-29Escape hardware-checksumming if interface is in a bridge, this isChristiano F. Haesbaert
2011-12-02Kill unused IFCAP_IPSEC and IFCAP_IPCOMP.Christiano F. Haesbaert
2011-07-04Bye bye pf_test6(). Only one pf_test function for both IPv4 and v6.Claudio Jeker
2011-06-15Add IP_RECVRTABLE socket option to be used with a IPPROTO_IPMike Belopuhov
2011-05-28Do not allow traffic to be sent with a destination address in 0/8;Paul de Weerd
2011-05-02recognize SO_RTABLE socket option at the SOL_SOCKET level;Mike Belopuhov
2011-04-28Make in_broadcast() rdomain aware. Mostly mechanical change.Claudio Jeker
2011-04-05in_proto_csum_out: if M_ICMP_CSUM_OUT is set, do the icmp checksumHenning Brauer
2011-04-05mechanic rename M_{TCP|UDP}V4_CSUM_OUT -> M_{TCP|UDP}_CSUM_OUTHenning Brauer
2011-04-04de-guttenberg our stack a bitHenning Brauer