summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_icmp.c
AgeCommit message (Expand)Author
2015-10-22Do not dereference ``ia_ifp'' when we already have an ``ifp'' pointer.Martin Pieuchot
2015-10-19Stop checking for RTF_UP directly, call rtisvalid(9) instead.Martin Pieuchot
2015-10-19Sync rtisvalid(9) check for local route entries with r1.257 ofMartin Pieuchot
2015-09-23Always increment rt_use inside rtalloc(9) instead of doing it in someMartin Pieuchot
2015-09-11When pf modifies a TCP packet, it sets the M_TCP_CSUM_OUT flag inAlexander Bluhm
2015-09-10if_put after if_get in icmp input.David Gwynne
2015-09-01Replace sockaddr casts with the proper satosin(), ... calls.Alexander Bluhm
2015-08-14Replace sockaddr casts with the proper satosin() or satosin6() calls.Alexander Bluhm
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-19Do not leak a rtentry if it is unusable.Martin Pieuchot
2015-05-13test mbuf pointers against NULL not 0Jonathan Gray
2015-02-05Convert various rtrequest1(RTM_DELETE,...) calls to rtdeletemsg(9).Martin Pieuchot
2015-01-28Revert rtdeletemsg conversion. It was not ok'd, I misunderstood bluhm@'sMartin Pieuchot
2015-01-26Call rtdeletemsg(9) instead of rerolling its code. As a bonus you'llMartin Pieuchot
2014-12-22Make sure rtrequest1(9) is called under splsoftnet().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-01Rename rtalloc1() into rtalloc(9) and convert its flags to only enableMartin Pieuchot
2014-09-30Do not use the global list of IPv4 addresses in icmp_reflect()...Martin Pieuchot
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-13Stop using old n_time, n_long and n_short types in netinet headers.Martin Pieuchot
2014-05-07Remove some m->m_pkthdr.rcvif dereference to help for upcomingMartin Pieuchot
2014-04-21ip_output() using varargs always struck me as bizarre, esp since it's onlyHenning Brauer
2014-04-21we'll do fine without casting NULL to struct foo * / void *Henning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-03-21rt_timer* spring cleanup.Martin Pieuchot
2014-03-20revert rev. 1.115Sebastian Benoit
2014-03-13fix buffer overflows in icmp redirect handling introduced in rev 1.106Jonathan Gray
2014-03-11In case imcp_reflect() is called without a given source addressMartin Pieuchot
2014-01-19Start counting droped icmp errors because the rate limit is exceeded.Claudio Jeker
2014-01-09bzero/bcmp -> memset/memcmp. ok matthewTed Unangst
2013-12-31bcopy -> memcpy. reviewed with one fix from matthewTed Unangst
2013-11-26instead of calculating the icmp checksum here, just set the flag thatHenning Brauer
2013-11-17Instead of stripping the IP options manually in icmp_reflect(),Alexander Bluhm
2013-11-11Replace most of our formating functions to convert IPv4/6 addresses fromMartin Pieuchot
2013-10-21There are gasps of shock! Add a pmtu delay sysctl BUTTON for netinet6,Theo de Raadt
2013-10-20Put a large chunk of the IPv6 rdomain support in-tree.Peter Hessler
2013-08-21Stop using static variables in ICMP. While this is perfectly ok forMartin Pieuchot
2013-08-13When net.inet.ip.sourceroute is enable, store the source routeMartin Pieuchot
2013-08-08Constify the table of common MTUs and use nitems(), no functional change.Martin Pieuchot
2013-08-08Change MTU discovery functions to not abuse the global icmpsrc variableMartin Pieuchot
2013-06-17In icmp_do_exthdr(), calculate the ICMP extension header checksums withLawrence Teo
2013-06-05If an ICMP packet gets diverted to a raw IP socket, if must not beAlexander Bluhm
2013-06-05Calculate ICMP checksums with in4_cksum() which lets us get rid of theLawrence Teo
2013-05-03Document which gobal variables are used for sysctl(8), add static toMartin Pieuchot
2013-04-24Instead of having various extern declarations for protocol variables,Martin Pieuchot
2013-04-10Remove various external variable declaration from sources files andMartin Pieuchot
2012-09-18sysctl calls shouldn't clobber route timers without spl protectionBret Lambert
2012-04-13unneccessary casts to unsigned; ok claudioTheo de Raadt