summaryrefslogtreecommitdiff
path: root/sys/netinet6/icmp6.c
AgeCommit message (Collapse)Author
2003-10-01use random number generator to generate IPv6 fragment ID/flowlabel.Jun-ichiro itojun Hagino
cleanup IPv6 flowlabel handling. deraadt ok
2003-08-07m_cat might free mbuf passed as 2nd arg. compute pkthdr.len before m_cat.Jun-ichiro itojun Hagino
from kame
2003-06-24remove unneeded checks of accept_rtadv. from kameJun-ichiro itojun Hagino
2003-06-24use time.tv_sec directly, rather than having time_second (freebsd NIH).Jun-ichiro itojun Hagino
2003-06-11- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)Jun-ichiro itojun Hagino
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok
2003-06-03remove assumption on mbuf pointed to by m0; sync w/kameJun-ichiro itojun Hagino
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-22remove break after returnJun-ichiro itojun Hagino
2003-05-14make PULLDOWN_TEST codepath the default (has been default for a long time).Jun-ichiro itojun Hagino
markus ok
2003-04-01avoid memory leak on redirect header generation. from kame.Jun-ichiro itojun Hagino
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-09-11KNF - return is not a function. sync w/kameJun-ichiro itojun Hagino
2002-07-30remove unneeded NULL pointer checks.Jun-ichiro itojun Hagino
From: tedu <grendel@zeitbombe.org>
2002-07-10do not use p++ in tolower(). NetBSD PR 17540. sync w/kameJun-ichiro itojun Hagino
2002-06-09whitespace cleanupJun-ichiro itojun Hagino
2002-06-08sync with latest KAME in6_ifaddr/prefix/default router manipulation.Jun-ichiro itojun Hagino
behavior changes: - two iocts used by ndp(8) are now obsolete (backward compat provided). use sysctl path instead. - lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up.
2002-05-31do not mistakenly lock PMTUD route entry with RTV_MTU.Jun-ichiro itojun Hagino
2002-05-29force fragment to minimum link MTU (1280) when needed (when PMTUD doesJun-ichiro itojun Hagino
not take effect) - like icmp6 responses or foo-over-IPv6 tunnel.
2002-05-29attach nd_ifinfo structure to if_afdata.Jun-ichiro itojun Hagino
split IPv6 MTU (advertised by RA) from real link MTU. sync with kame
2002-05-29set rmx_mtu to 0 on PMTUD route entry timeout.Jun-ichiro itojun Hagino
2002-05-24make a strict check before sending FQDN node information reply. sync w/kameJun-ichiro itojun Hagino
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-05on redirect output, always try to attach target link layer address option.Jun-ichiro itojun Hagino
2001-12-07give up local, instead of remote, on ping6 -w during memory starvedJun-ichiro itojun Hagino
situation. validate hostname encoding more strictly.
2001-12-07correct icmp6 MIB counter mistakeJun-ichiro itojun Hagino
2001-12-07whitespace/comment sync with kameJun-ichiro itojun Hagino
2001-12-06remove kame IPSEC code within #ifdef.Jun-ichiro itojun Hagino
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-06-27Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, dependingAngelos D. Keromytis
on how macros should be treated. Code by fgsch@, ok by me and itojun@
2001-06-26modify m_pkthdr.len computation to work with both 4.4BSD M_COPY_PKTHDRJun-ichiro itojun Hagino
and openbsd 2.9+ M_COPY_PKTHDR. discussed with angelos. sync with kame. XXX it is bad to change behavior of existing macro without name change... new behavior will be renamed M_MOVE_PKTHDR soon.
2001-06-25Don't double-clear M_PKTHDR/tags.Angelos D. Keromytis
2001-06-22cleanup COMPAT_RFC1885 case, for icmp6 echoback packet size considerationJun-ichiro itojun Hagino
(obsolete). sync with kame
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-06-01use default hoplimit when incoming interface is not known to icmp6_error.Jun-ichiro itojun Hagino
sync with kame
2001-05-26Use m_tag_init() to initialize new mbuf m_pkthdr fields, rather thanAngelos D. Keromytis
having to change it every time.
2001-05-20Convert from tdbi to packet tags.Angelos D. Keromytis
2001-04-04make sure rcvif is not bogus, on call to icmp6_reflect.Jun-ichiro itojun Hagino
2001-03-30enable FAKE_LOOPBACK_IF case by default.Jun-ichiro itojun Hagino
now traffic on loopback interface will be presented to bpf as normal wire format packet (without KAME scopeid in s6_addr16[1]). fix KAME PR 250 (host mistakenly accepts packets to fe80::x%lo0). sync with kame.
2001-03-28Allow tdbi's to appear in mbufs throughout the stack; this allowsAngelos D. Keromytis
security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs.
2001-03-21set rmx_mtu to L2 interface mtu, instead of 0, on mtudisc timeout.Jun-ichiro itojun Hagino
ip6_output() change is for safety. sync with kame
2001-03-20change interpretation of net.inet6.icmp6.nodeinfo from true/fale to bitmap.Jun-ichiro itojun Hagino
2001-03-08remove bogus rtfree. inspired by fix to PR 1706. sync with kameJun-ichiro itojun Hagino
2001-02-16pull in new pcb notification code from kame. better handling of scope address.Jun-ichiro itojun Hagino
2001-02-08witch raw ip6 socket code from NRL to kame.Jun-ichiro itojun Hagino
makes upgrades/code sharing much easier.
2001-02-08implement upper limit to icmp6 redirects (experimental, turned off)Jun-ichiro itojun Hagino
negative value to {mtudisc,redirect}_{hi,lo}wat will turn off the limitation. sync with kame.
2001-02-07by default, don't bark on inbound ND messages, as outsider may be able toJun-ichiro itojun Hagino
fill up /var with bogus packets. setting net.inet6.icmp6.nd6_debug will re-enable kernel messages on invalid ND packet and other occasions. improve icmp6 stats.
2001-01-16s/ND6DEBUG/ND6_DEBUG/ to synchronize with other placesJun-ichiro itojun Hagino
2001-01-08wrap "icmp6 checksum error" message into #ifdef ND6DEBUG. NetBSD PR 11911.Jun-ichiro itojun Hagino
sync with kame aVS: ----------------------------------------------------------------------
2000-12-11no need to rtalloc1() twice in pmtud. from kameJun-ichiro itojun Hagino
2000-12-11nuke #ifdef TCP6 (no longer supported).Jun-ichiro itojun Hagino
validate ICMPv6 too big messages (pmtud) based on pcb. we accept certain amount of non-validated ones, as IPv6 mandates ICMPv6 (so even for traffic from unconnected pcb, we need pmtud). sync with kame