summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/nd6.c
Commit message (Collapse)AuthorAgeFilesLines
* Introduce support for Mandatory Access Control and extensiblerwatson2002-08-021-0/+5
| | | | | | | | | | kernel access control. When generating nd6 output on an interface, label the packet appropriately. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Correct timer management (deprecated) in nd6_timer.ume2002-04-241-2/+3
| | | | | Obtained from: KAME MFC after: 3 days
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-191-42/+37
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* Use <net/fddi.h> rather than <netinet/if_fddi.h>.mdodd2002-04-061-1/+1
|
* In nd6_lookup(), check if rt_llinfo is non-NULL to avoid returning anume2002-04-011-4/+9
| | | | | | | entry that has the LLINFO flag but is not a neighbor cache entry. Obtained from: KAME MFC after: 1 week
* - In nd6_rtrequest(), ignored a route when it is created by cloning andume2002-02-281-0/+21
| | | | | | | | | | is not a neighbor. see comments for the detailed reason. - Rejected the process of nd6_rtrequest() when the request is RESOLVE and the interface does not need neighbor caches. Obtained from: KAME MFC After: 1 week
* Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2.ru2001-10-171-2/+2
| | | | | | | | | | | | | | | | | | | | Have sys/net/route.c:rtrequest1(), which takes ``rt_addrinfo *'' as the argument. Pass rt_addrinfo all the way down to rtrequest1 and ifa->ifa_rtrequest. 3rd argument of ifa->ifa_rtrequest is now ``rt_addrinfo *'' instead of ``sockaddr *'' (almost noone is using it anyways). Benefit: the following command now works. Previously we needed two route(8) invocations, "add" then "change". # route add -inet6 default ::1 -ifp gif0 Remove unsafe typecast in rtrequest(), from ``rtentry *'' to ``sockaddr *''. It was introduced by 4.3BSD-Reno and never corrected. Obtained from: BSD/OS, NetBSD MFC after: 1 month PR: kern/28360
* Wrap array accesses in macros, which also happen to be lvalues:jlemon2001-09-061-1/+1
| | | | | | | ifnet_addrs[i - 1] -> ifaddr_byindex(i) ifindex2ifnet[i] -> ifnet_byindex(i) This is intended to ease the conversion to SMPng.
* When the link-layer address of a router changes, select theume2001-07-041-0/+18
| | | | | | | | best router again. In particular, when the neighbor entry is newly created, it might affect the selection policy. Obtained from: KAME MFC after: 1 week
* refresh default router list on nd6_purge(), only if we are anume2001-06-271-4/+6
| | | | | | autoconfigured host. Obtained from: KAME
* Add IFT_L2VLAN for supported NDP type. IPv6 over VLAN works now.sumikawa2001-06-191-0/+6
| | | | | Obtained from: KAME MFC after: 2 weeks
* Sync with recent KAME.ume2001-06-111-322/+510
| | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* Plug several mbuf leaks in error cases (in nd6)bmilekic2001-03-111-3/+12
| | | | Submitted by: jhay
* More IP option length validation.kris2001-02-261-1/+12
| | | | | | | | | | | | | | | | | Includes the following revisions from KAME (two of these were actually committed previously but the CVS revisions weren't documented): 1.40 kame/kame/sys/netinet6/ah_core.c (committed in previous rev) 1.41 kame/kame/sys/netinet6/ah_core.c 1.28 kame/kame/sys/netinet6/ah_output.c (committed in previous rev) 1.29 kame/kame/sys/netinet6/ah_output.c 1.30 kame/kame/sys/netinet6/ah_output.c 1.129 kame/kame/sys/netinet6/nd6.c 1.130 kame/kame/sys/netinet6/nd6.c 1.24 kame/kame/sys/netinet6/dest6.c 1.25 kame/kame/sys/netinet6/dest6.c Obtained from: KAME
* Better detection of duplicated initialization.simokawa2001-02-201-2/+8
| | | | Obtained from: KAME
* Yikes, these files bogusly #include "loop.h" but didn't use the value.peter2001-01-291-2/+0
| | | | My searching for NLOOP missed them. :-(
* sync with kame tree as of july00. tons of bug fixes/improvements.itojun2000-07-041-121/+579
| | | | | | | API changes: - additional IPv6 ioctls - IPsec PF_KEY API was changed, it is mandatory to upgrade setkey(8). (also syntax change)
* even if nd6_nud_hint is called, do not change a neighbor's statussumikawa2000-04-171-1/+1
| | | | | | | unless the old status is probably reachable (i.e. the link-layer address has already been resolved). Obtained from: KAME Project
* udp IPv6 support, IPv6/IPv4 tunneling support in kernel,shin1999-12-071-21/+19
| | | | | | | | | | packet divert at kernel for IPv6/IPv4 translater daemon This includes queue related patch submitted by jburkhol@home.com. Submitted by: queue related patch from jburkhol@home.com Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCPshin1999-11-221-0/+1531
for IPv6 yet) With this patch, you can assigne IPv6 addr automatically, and can reply to IPv6 ping. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud