summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.c
AgeCommit message (Collapse)Author
2003-06-24use time.tv_sec directly, rather than having time_second (freebsd NIH).Jun-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.
2002-10-17do not differentiate manually configured address from autoconfigured onesJun-ichiro itojun Hagino
wrt prefix management; - always earn a reference to the prefix when an address is configured (by ioctl). - always delete the prefix when an address that has the last referene is manually removed. The change should solve the problem raised in KAME-snap 6989. sync w/kame
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-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-11silence some of log(), as the codepath will be visited for IPv6-non-capableJun-ichiro itojun Hagino
interfaces too and can be annoying. net.inet6.icmp6.nd6_debug will re-enable them.
2002-06-09whitespace cleanupJun-ichiro itojun Hagino
2002-06-08splnet -> splsoftnet where appropriateJun-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-08in6_len2mask is a duplicate of in6_prefixlen2mask. unify. sync w/kameJun-ichiro itojun Hagino
2002-06-08on SIOCAIFADDR_IN6 check if sin6_len is sane. sync w/kameJun-ichiro itojun Hagino
2002-06-07styleJun-ichiro itojun Hagino
2002-06-07whitespace sync w/kameJun-ichiro itojun Hagino
2002-06-07'fall through' is not a valid LINT keyword.Jun-ichiro itojun Hagino
2002-06-07remove support for deprecated ioctls (EINVAL). sync w/kameJun-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-05-29move per-interface ip6/icmp6 stat to ifnet->if_afdata. sync w/kameJun-ichiro itojun Hagino
2002-05-23simplify condition to perform DAD. sync w/kameJun-ichiro itojun Hagino
2002-03-23correct arg to bcmp(). need to compare 15 bytes, not 3 bytes. sync w/kameJun-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-07-18avoid using malloc() during interupt context for multicast kludge entry.Jun-ichiro itojun Hagino
allocate it on interface initialization.
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-02-16cosmetic. add missing IFAFREE on failure caseJun-ichiro itojun Hagino
2001-02-16kill register declarations. to sync with kame better.Jun-ichiro itojun Hagino
2001-02-07turn off duplicated address detection when interface address gets deleted.Jun-ichiro itojun Hagino
sync with kame
2001-01-18workaround; be sure to initialize nd6 interface information when IPv6Jun-ichiro itojun Hagino
interface address gets added. this will avoid presenting EMSGSIZE when outgoing interface is down (and never brought up). sync with kame.
2000-11-11do not panic on "ifconfig lo0 inet6 fe80::1 -alias". KAME PR 295.Jun-ichiro itojun Hagino
(NOTE: only root can do it)
2000-10-06remove now-obsolete SIOCSIFPHY* handling in in{6,}_control.Jun-ichiro itojun Hagino
sync with kame.
2000-07-12correct rtentry reference count in in6_ifloop_request().Jun-ichiro itojun Hagino
if you reconfigure inet6 too much, the reference count can go into negative by mistake. KAME in6.c 1.98 -> 1.99.
2000-04-27use of free(ia) in #if 0.Jun-ichiro itojun Hagino
From: Lennart Augustsson <lennart@augustsson.net>
2000-04-17revisit in6_ifattach(). (1) make it more persistent about initializaing anJun-ichiro itojun Hagino
interface (2) cleanup interface id selection. run NUD on p2p interface (required by spec for bidir p2p interface). add "ndp -i interface" (can tweak per-interface ND flag). (sync with more recent kame)
2000-03-22comment out ifconfig undo code. they are necessary to avoid memoryJun-ichiro itojun Hagino
leakage, however, was too strict that they disallow multiple address from same prefix to be assigned (when rtinit returns EEXIST). we'll need to improve it.
2000-03-12undo interface address addition if in6_ifinit fails.Jun-ichiro itojun Hagino
2000-03-02do not add ifa_dstaddr for non-pointopoint interface. IPv6 has noJun-ichiro itojun Hagino
concept for "broadcast".
2000-02-28bring in recent KAME changes (only important and stable ones, as usual).Jun-ichiro itojun Hagino
- remove net.inet6.ip6.nd6_proxyall. introduce proxy NDP code works just like "arp -s". - revise source address selection. be more careful about use of yet-to-be-valid addresses as source. - as router, transmit ICMP6_DST_UNREACH_BEYONDSCOPE against out-of-scope packet forwarding attempt. - path MTU discovery takes care of routing header properly. - be more strict about mbuf chain parsing. - nuke xxCTL_VARS #define, they are for BSDI. - disable SIOCSIFDSTADDR_IN6/SIOCSIFNETMASK_IN6 ioctl, they do not fit IPv6 model where multiple address on interface is normal. (kernel side supports them for a while for backward compat, the support will be nuked shortly) - introduce "default outgoing interface" (for spec conformance in very rare case)
2000-02-07fix ifa refcnt'ing.Jun-ichiro itojun Hagino
fix include file path.
2000-02-04more coverage of in6_ifdetach()'s cleanup process.Jun-ichiro itojun Hagino
bug fix in SIOCGIFADDR_IN6 (point to point case).
2000-02-02make sure to nuke kludge entries, regardless from refcnt.Jun-ichiro itojun Hagino
2000-02-02- improve in6_ifdetach to remove (1) multicast kludge list (2) route toJun-ichiro itojun Hagino
link-local allnode multicast (ff02:x::/32) - fix ifnet refcnt'ing in multicast kludge list management. - avoid dangling pointer in multicast kludge management. (angelos, try this version of in6_ifdetach() - it should be better)
2000-02-02remove never-visited code (#ifdef MAPPED_ADDR_ENABLED)Jun-ichiro itojun Hagino
1999-12-10Add RCS tags, remove unused header files and code, remove a fewAngelos D. Keromytis
unnecessary ifdefs...
1999-12-09do not perform IPv6 initialization for loopback interface.Jun-ichiro itojun Hagino
MUST make lo0 up before any IPv6 operations. it will be considered a pilot error if you don't. (I prefer to have lo0 initialized automatically)
1999-12-08ifdef cleanup...Angelos D. Keromytis
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).
1999-03-24Replace 'in6a_words' (old NRL convention) with 's6_addr32' (new BSDI et al.cmetz
convention that is more common and more specific as to the access size)
1999-03-09Demangled the INET6 stuff so as not to require any extra options and not tocmetz
be mutually exclusive with the IPSEC option.
1999-02-24Synchronized changes needed to integrate into OpenBSD with the NRL sourcecmetz
tree so we can have a unified netinet6 directory.