summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
AgeCommit message (Expand)Author
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
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-06-04the decision on wether a packet is to be delivered locally or forwardedHenning Brauer
2009-05-18The routing table index rtableid has type unsigned int in the routingAlexander Bluhm
2008-12-24report the number of packets that arp resolution is holding onto until itDavid Gwynne
2008-06-08alloc ipq's for fragment reassembly from a pool instead of usingThordur I. Bjornsson
2008-05-09divert packets to local socket without modifying the ip header;Markus Friedl
2008-04-24the softnet intr handlers check if the input queue has packets onDavid Gwynne
2008-02-05Move carp load balancing (ARP/IP) to a simpler configuration scheme.Marco Pfatschbacher
2007-12-14add sysctl entry points into various network layers, in particular toTheo de Raadt
2007-12-13implement sysctls to report IP, TCP, UDP, and ICMP statistics andReyk Floeter
2007-10-29MALLOC/FREE -> malloc/freeCharles Longeau
2007-09-10Remove the ipq locking, it isn't strictly needed right nowThordur I. Bjornsson
2007-09-01since theHenning Brauer
2007-05-30no need to declare extern ipsec_in_use, we get it via ip_ipsp.hHenning Brauer
2007-05-29gain another 5+% in ip forwarding performance.Henning Brauer
2007-05-28double pf performance.Henning Brauer
2007-05-27-static on appropriate functionsDavid Gwynne
2007-03-18Add IP load balancing support for carp(4).Marco Pfatschbacher
2006-12-28check if ifqueue has anything queued before doing the dance ofTheo de Raadt
2006-11-27make use of multiple routing tables.Henning Brauer
2006-10-11implement IP_RECVTTL socket option.Henning Brauer
2006-06-18Whitespace, oops.Christopher Pascoe
2006-06-18Add support for equal-cost multipath IP.Christopher Pascoe
2006-06-16adjust functions dealing with the routing table to take a table ID asHenning Brauer
2006-06-15Make number of varargs passed to ip_output match reality.Christopher Pascoe
2006-05-29Make savecontrol functions more generic and use them now for raw IP too.Claudio Jeker
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
2006-01-03m_pullup the same amount we copied, not just the IP header.Marco Pfatschbacher
2005-11-20splimp -> splvm. mbuf allocation here.Brad Smith
2005-10-05Add multicast routing to GENERIC.Esben Norby
2005-09-19typoTheo de Raadt
2005-09-19Fix initialisation of baddynamicports.udp, busted since 1997, wow.Theo de Raadt
2005-08-11New counter for not joined IPv4 multicast groups.Marco Pfatschbacher
2005-07-31Change the API for icmp_do_error so that it takes the mtu directly, ratherChristopher Pascoe
2005-06-15remove from "attempted source route ..." message; ok deraadt, mpf, henning, m...Markus Friedl
2005-06-10make sure the IP packet contains a full struct ip_timestampMarkus Friedl