summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
AgeCommit message (Expand)Author
2013-07-04Rewrite the function used to determine if we do proxy ARP for one ofMartin Pieuchot
2013-06-26put the cksum diff back, of course with the bug fixed where we couldHenning Brauer
2013-06-13Move the local delivery code from ipv4_input() into its own function andMartin Pieuchot
2013-05-17Move an extern declaration into its corresponding header file.Martin Pieuchot
2013-04-24Instead of having various extern declarations for protocol variables,Martin Pieuchot
2013-04-17Replace some casts by ifatoia() and sintosa().Martin 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
2013-03-29Declare struct pf_state_key in the mbuf and in_pcb header files toAlexander Bluhm
2013-03-28no need for a lot of code to include proc.hTed Unangst
2013-03-28Replace some casts to struct in_ifaddr pointer by ifatoia() or NULL.Martin Pieuchot
2013-03-28Unfortunately the satosin, sintosa, ifatoia, satosin6, sin6tosa,Alexander Bluhm
2013-03-26Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.Martin Pieuchot
2013-03-22simple replacement of LIST_END with NULL. ok mpiTed Unangst
2012-11-06backout csum diff for the moment, requested by theoHenning Brauer
2012-11-01redo most of the protocol (tcp/udp/...) checksum handlingHenning Brauer
2012-09-18sysctl calls shouldn't clobber route timers without spl protectionBret Lambert
2012-08-07Store the data used to generate an ICMP error message on a stackMike Belopuhov
2012-07-16add IP_IPSECFLOWINFO option to sendmsg() and recvmsg(), so npppd(4)Markus Friedl
2011-07-06cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhmHenning Brauer
2011-07-05ansifyDavid Hill
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-04-19reintroduce using the RB tree for local address lookups. this isDavid Gwynne
2011-04-14Backout the in_iawithaddr() -> ifa_ifwithaddr() change.Claudio Jeker
2011-04-04The forced IP header pullup in the multicast case is only needed whenClaudio Jeker
2011-04-04make in_iawithaddr a wrapper for ifa_ifwithaddr plus a hack for old ancientHenning Brauer
2011-04-02rmeove the link1 hack, it is in the way, it is only half-baked and doesn'tHenning Brauer
2011-02-11In ip_forward() free the mbuf chain mcopy with m_freem() insteadAlexander Bluhm
2011-02-03ip_ttl is u_int8_t, not u_char so adjust sizeof for consistency.Todd C. Miller
2010-09-08Return EACCES when pf_test() blocks a packet in ip_output(). This allowsClaudio Jeker
2010-08-20white space fixDavid Gwynne
2010-07-09Add support for using IPsec in multiple rdomains.Reyk Floeter
2010-06-07unfortunately classful routing isn't 100% dead, mostly thanks to ancientHenning Brauer
2010-06-04Missed this file in previous commit; previous commit message was:Bret Lambert
2010-05-07Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1Claudio Jeker
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
2010-01-13no point in looking for the old "all host bits zero" broadcast address anyHenning Brauer
2010-01-13we don't need broadcast for the classful network AND broadcast for theHenning Brauer
2010-01-13let's admit it's not 1992 any more. CIDR is around for a long time, evenHenning Brauer
2009-12-07do not forward and drop packets with M_MCAST flag set in ip_forward()Joerg Goltermann
2009-11-19avoid overflow since protos > IPPROTO_MAX exist. From FreeBSD withOtto Moerbeek
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-08-23revert the icmp error diff again (r1.167-1.169)David Krause
2009-08-107 years ofHenning Brauer
2009-08-10we need to null mcopy, gotos bite. theo and i both missed them, theo okHenning Brauer
2009-08-10fix previous:Henning Brauer
2009-08-10this is basically a fixed version of r1.165, avoid m_copym of each and everyHenning Brauer
2009-07-28revert the avoidance of the mbuf copy for the icmp errors (r1.165)David Gwynne
2009-07-24for every packet we forwarded, we copied the first 68 bytes of it in caseDavid Gwynne