freebsd-nq/sys/netinet6
Ruslan Ermilov 8071913df2 Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.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
2001-10-17 18:07:05 +00:00
..
ah6.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ah_core.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ah_input.c Patches from KAME to remove usage of Varargs in existing 2001-09-07 07:19:12 +00:00
ah_output.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ah.h Patches from KAME to remove usage of Varargs in existing 2001-09-07 07:19:12 +00:00
dest6.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
esp6.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
esp_core.c Fix fencepost error causing creation of 0-length mbufs when the boundary 2001-08-20 17:58:46 +00:00
esp_input.c Patches from KAME to remove usage of Varargs in existing 2001-09-07 07:19:12 +00:00
esp_output.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
esp_rijndael.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
esp_rijndael.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
esp.h Patches from KAME to remove usage of Varargs in existing 2001-09-07 07:19:12 +00:00
frag6.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
icmp6.c Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
icmp6.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
in6_cksum.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
in6_gif.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
in6_gif.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
in6_ifattach.c When running aplication joined multicast address, 2001-08-04 17:10:14 +00:00
in6_ifattach.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
in6_pcb.c Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2. 2001-10-17 18:07:05 +00:00
in6_pcb.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
in6_prefix.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
in6_prefix.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
in6_proto.c gif(4) and stf(4) modernization: 2001-07-02 21:02:09 +00:00
in6_rmx.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
in6_src.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
in6_var.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
in6.c Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
in6.h Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
ip6_ecn.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ip6_forward.c catch forwarded ipv6 packets with pfil_hooks for outbound things too 2001-10-15 14:16:18 +00:00
ip6_fw.c Fix typo (s/=/+=/) in previous commit. 2001-06-28 05:18:31 +00:00
ip6_fw.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ip6_input.c Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
ip6_mroute.c Removed a wrong comment. 2001-09-20 08:04:21 +00:00
ip6_mroute.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ip6_output.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ip6_var.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ip6.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ip6protosw.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ipcomp6.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ipcomp_core.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ipcomp_input.c Patches from KAME to remove usage of Varargs in existing 2001-09-07 07:19:12 +00:00
ipcomp_output.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ipcomp.h Patches from KAME to remove usage of Varargs in existing 2001-09-07 07:19:12 +00:00
ipsec6.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ipsec.c Fixed to process a IPv6 packet when ah transport after esp tunnel 2001-10-17 13:03:37 +00:00
ipsec.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
mld6_var.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
mld6.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
nd6_nbr.c Add IFT_L2VLAN for supported NDP type. IPv6 over VLAN works now. 2001-06-19 14:48:02 +00:00
nd6_rtr.c Wrap array accesses in macros, which also happen to be lvalues: 2001-09-06 02:40:43 +00:00
nd6.c Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2. 2001-10-17 18:07:05 +00:00
nd6.h Pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2. 2001-10-17 18:07:05 +00:00
pim6_var.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
pim6.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
raw_ip6.c Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
raw_ip6.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
README add list of KAME files - may not be 100% correct 2000-07-05 19:05:19 +00:00
route6.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
scope6_var.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
scope6.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
tcp6_var.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
udp6_output.c Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
udp6_usrreq.c Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
udp6_var.h KSE Milestone 2 2001-09-12 08:38:13 +00:00

a note to committers about KAME tree
$FreeBSD$
KAME project


FreeBSD IPv6/IPsec tree is from KAMEproject (http://www.kame.net/).
To synchronize KAME tree and FreeBSD better today and in the future,
please understand the following:

- DO NOT MAKE COSTMETIC CHANGES.
  "Cosmetic changes" here includes tabify, untabify, removal of space at EOL,
  minor KNF items, and whatever adds more output lines on "diff freebsd kame".
  To make future synchronization easier. it is critical to preserve certain
  statements in the code.  Also, as KAME tree supports all 4 BSDs (Free, Open,
  Net, BSD/OS) in single shared tree, it is not always possible to backport
  FreeBSD changes into KAME tree.  So again, please do not make cosmetic
  changes.  Even if you think it a right thing, that will bite KAME guys badly
  during upgrade attempts, and prevent us from synchronizing two trees.
  (you don't usually make cosmetic changes against third-party code, do you?)

- REPORT CHANGES/BUGS TO KAME GUYS.
  It is not always possible for KAME guys to watch all the freebsd mailing
  list traffic, as the traffic is HUGE.  So if possible, please, inform
  kame guys of changes you made in IPv6/IPsec related portion.  Contact
  path would be snap-users@kame.net or KAME PR database on www.kame.net.
  (or to core@kame.net if it is necessary to make it confidential)

Thank you for your cooperation and have a happy IPv6 life!


Note: KAME-origin code is in the following locations.
The above notice applies to corresponding manpages too.
The list may not be complete.  If you see $KAME$ in the code, it is from
KAME distribution.  If you see some file that is IPv6/IPsec related, it is
highly possible that the file is from KAME distribution.

include/ifaddrs.h
lib/libc/net
lib/libc/net/getaddrinfo.c
lib/libc/net/getifaddrs.c
lib/libc/net/getnameinfo.c
lib/libc/net/ifname.c
lib/libc/net/ip6opt.c
lib/libc/net/map_v4v6.c
lib/libc/net/name6.c
lib/libftpio
lib/libipsec
sbin/ip6fw
sbin/ping6
sbin/rtsol
share/doc/IPv6
share/man/man4/ip6.4
share/man/man4/inet6.4
sys/crypto (except sys/crypto/rc4)
sys/kern/uipc_mbuf2.c
sys/net/if_faith.[ch]
sys/net/if_gif.[ch]
sys/net/if_stf.[ch]
sys/net/pfkeyv2.h
sys/netinet/icmp6.h
sys/netinet/in_gif.[ch]
sys/netinet/ip6.h
sys/netinet/ip_encap.[ch]
sys/netinet6
sys/netkey
usr.sbin/faithd
usr.sbin/gifconfig
usr.sbin/ifmcstat
usr.sbin/mld6query
usr.sbin/ndp
usr.sbin/pim6dd
usr.sbin/pim6sd
usr.sbin/prefix
usr.sbin/rip6query
usr.sbin/route6d
usr.sbin/rrenumd
usr.sbin/rtadvd
usr.sbin/rtsold
usr.sbin/scope6config
usr.sbin/setkey
usr.sbin/traceroute6