summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.c
AgeCommit message (Collapse)Author
2007-10-01Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'Kenneth R Westerback
where obvious.
2007-06-08kill arcnet leftovers, some pt out by Mike Belopuhov <mkb@crypt.org.ru>,Henning Brauer
some I found afterwards, ok dlg
2007-05-28avoid bypassing sys/queue.h in many places in the kernel.Pierre-Yves Ritschard
many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@
2006-06-16adjust functions dealing with the routing table to take a table ID asHenning Brauer
parameter so they can work on alternate tables. table 0 hardcoded for many callers yet, that will be adapted step by step. input + ok claudio norby hshoexer
2006-06-16Spelling.Christopher Pascoe
2006-02-21use after free; from itojun@Markus Friedl
2005-05-09Make sure that prefixes get purged.Brad Smith
Fixes PR 3939. From NetBSD ok itojun@
2004-10-28treat IFT_CARP like IFT_PROPVIRTUAL, ryan daniel okHenning Brauer
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-05-19do not loop on nd6_output() when transmission fails. from kameJun-ichiro itojun Hagino
2003-06-27split ND6 cache timer management to per-entry. increased accuracy,Jun-ichiro itojun Hagino
no O(N) loop. sync w/ kame. marc tested, daniel ok
2003-06-24remove unneeded checks of accept_rtadv. from kameJun-ichiro itojun Hagino
2003-06-24* kame/sys/netinet6/nd6.c (nd6_rtrequest): changed a condition toJun-ichiro itojun Hagino
decide whether to create an empty llinfo stricter so that a user can manually change the link-layer address of an existing neighbor cache. Pointed out by: KIU Shueng Chuan from kame
2003-06-24use time.tv_sec directly, rather than having time_second (freebsd NIH).Jun-ichiro itojun Hagino
2003-06-24clear ln_hold earlier. from kameJun-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-10-09supress too noisy log - can be re-enabled by sysctl. sync w/kameJun-ichiro itojun Hagino
2002-09-23better "ifconfig ipv6addr deprecated" flag handling. sync w/kameJun-ichiro itojun Hagino
2002-09-11KNF - return is not a function. sync w/kameJun-ichiro itojun Hagino
2002-09-04allow deprecated bit to be set from userland by ifconfig. NetBSD PR 18163Jun-ichiro itojun Hagino
2002-09-04handle error from copyoutJun-ichiro itojun Hagino
2002-08-19correct copyout logic. better fix to be made in kame treeJun-ichiro itojun Hagino
2002-08-19copyout only if oldp is non-nullJun-ichiro itojun Hagino
2002-08-19need explicit copyout().Jun-ichiro itojun Hagino
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-08splnet -> splsoftnet where appropriateJun-ichiro itojun Hagino
2002-06-08remove #ifdef __NetBSD__Jun-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-06-07If there has been no NS for the neighbor after entering theJun-ichiro itojun Hagino
INCOMPLETE state, send the first solicitation in nd6_output(), regardless of the timer value. revised comments about rate-limiting accordingly. sync w/kame
2002-06-03remove hardcoded assumptions on if_mtu. leave it to sys/net.Jun-ichiro itojun Hagino
makes it possible to take advantage of 9K ethernet.
2002-05-30improve nd6_setmtu(), to warn too-small MTU on SIOCSIFMTU. sync w/kameJun-ichiro itojun Hagino
2002-05-29bzero before settingJun-ichiro itojun Hagino
2002-05-29receivedra field is goneJun-ichiro itojun Hagino
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-03-20remove obsolete commentJun-ichiro itojun Hagino
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-07whitespace/comment sync with kameJun-ichiro itojun Hagino
2001-11-30unifdef OLDIP6OUTPUTJun-ichiro itojun Hagino
2001-06-29call defrouter_select() only if i am autoconfigured hostJun-ichiro itojun Hagino
2001-06-27do not try to update ipv6 default route if i'm not an autoconfigured host,Jun-ichiro itojun Hagino
on nd6_detach (= interface removal).
2001-06-22re-select default router on linklayer addrss changes. sync with kame.Jun-ichiro itojun Hagino
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-05-29Verify that packets that haven't had crypto applied to them don't makeAngelos D. Keromytis
it out.
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-21in nd6_cache_lladdr(), set nd6_gctimer to ln_expire just after the stateJun-ichiro itojun Hagino
transition to STALE. fixes tahi test breakage. sync with kame.
2001-03-08make nd6_storelladdr()'s behavior consistent about mbuf freeing on errors.Jun-ichiro itojun Hagino
do not touch static ND entry on ND cache entry updates. couple of costmetic sync. sync with kame
2001-02-23garbage-collect stale ND entries (default: 1 day).Jun-ichiro itojun Hagino
RFC 2461 5.3. sync with kame.
2001-02-23remove unnecessary state, ND6_LLINFO_WAITDELETE, from neighbor cacheJun-ichiro itojun Hagino
state machine. no need for RTF_REJECT on neighbor cache entires, they are leftover from ARP code. sync with kame.
2001-02-21make validation code more strict for ND6/dest6 variable length headers.Jun-ichiro itojun Hagino
check duplicated nd6_ifinfo table initialization in a better way. sync with kame
2001-02-16cosmetic sync with kameJun-ichiro itojun Hagino