summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Collapse)Author
2001-07-20make equal() macro to check sa_len match, otherwise we will touchJun-ichiro itojun Hagino
the content of a2 beyond a2->sa_len mistakenly. sync with kame
2001-01-29cleanup rmx_mtu handling (no #ifdef INET6). from netbsd.Jun-ichiro itojun Hagino
(same change is in kame)
2001-01-19pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).Jun-ichiro itojun Hagino
have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument. pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest. 3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr * (almost noone is using it anyways). benefit: the follwoing command now works. previously we need 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. XXX is eon_rtrequest() change correct regarding to 3rd arg? eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno, so i do not have correct answer in the source code. someone with more clue about netiso-over-ip, please help.
2000-12-11do not touch region after freeJun-ichiro itojun Hagino
2000-12-09drop support for RTF_TUNNEL, which has no effect (NRL IPv6)Jun-ichiro itojun Hagino
2000-12-09supply counter for # of routing table timer entries.Jun-ichiro itojun Hagino
(preparation for ICMPv6 too big dos prevention) sync with kame
2000-05-21deleting some routes created by imcp redirects could result in panicNiels Provos
fix from NetBSD: Delay clearing of RTF_UP until after deleting rt_gwroute.
2000-03-23New timeout code.Artur Grabowski
2000-03-22remove bogus commentJun-ichiro itojun Hagino
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-09-13enc0 not encap0Niklas Hallqvist
1999-07-05remove bogus entry from if_enc address list; and rename enc_softc to encifTheo de Raadt
1999-02-25missing ifdef IPSECAngelos D. Keromytis
1999-02-24Work with pfkey instead of pfencapAngelos D. Keromytis
1999-02-05Don't count IPsec-related "route misses", as we're not really findingAngelos D. Keromytis
unreachable hosts/networks.
1999-02-04deal with rts_* members being u_int32_ now; cmetzTheo de Raadt
1999-01-08INET6 support; NRL/cmetzTheo de Raadt
1999-01-07in ifa_ifwithroute(), ensure we have a route to our gateway, for tunnels; cmetzTheo de Raadt
1997-12-31use NULL for pointers, not (cast)(0); clandestine onesMichael Shalayeff
1997-12-31NULL is not 0Michael Shalayeff
1997-09-21Do not report RTM_MISS up on IP encapsulation implicit lookups. This shouldNiklas Hallqvist
fix RARP as well as improving performance. Chances are that it will fix an error having to do with renumbering net interfaces too. Thanks to Angelos and Theo for help with the fix, and Martin and Phil for reassuring it was a general bug.
1997-07-27expiration messages, fixes, updates, all sorts of thingsNiklas Hallqvist
1997-02-20IPSEC package by John Ioannidis and Angelos D. Keromytis. Written inTheo de Raadt
Greece. From ftp.funet.fi:/pub/unix/security/net/ip/BSDipsec.tar.gz
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt