Subject: CVS commit: syssrc
To: None <>
From: Jun-ichiro itojun Hagino <>
List: source-changes
Date: 07/01/1999 01:13:01
Module Name:	syssrc
Committed By:	itojun
Date:		Thu Jul  1 08:13:01 UTC 1999

Modified Files:
	syssrc/sys: Makefile
	syssrc/sys/conf: files
	syssrc/sys/dev/ic: midway.c midwayreg.h midwayvar.h
	syssrc/sys/dev/pci: if_en_pci.c pcidevs.h pcidevs_data.h
	syssrc/sys/kern: uipc_domain.c uipc_socket2.c uipc_syscalls.c
	syssrc/sys/net: Makefile if.c if.h if_atm.h if_atmsubr.c if_ether.h
	    if_ethersubr.c if_fddisubr.c if_loop.c if_ppp.c if_tun.c if_types.h
	    netisr.h ppp_defs.h route.c route.h rtsock.c
	syssrc/sys/netccitt: if_x25subr.c
	syssrc/sys/netinet: Makefile if_atm.c igmp.c in.c in.h in_pcb.c
	    in_pcb.h in_proto.c in_var.h ip.h ip_icmp.c ip_input.c ip_mroute.c
	    ip_mroute.h ip_output.c ip_var.h raw_ip.c tcp_debug.c tcp_debug.h
	    tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c tcp_usrreq.c
	    tcp_var.h udp_usrreq.c
	syssrc/sys/netiso: if_eon.c
	syssrc/sys/sys: malloc.h mbuf.h socket.h sockio.h
Added Files:
	syssrc/sys/net: if_faith.c if_gif.c if_gif.h pfkeyv2.h
	syssrc/sys/netinet: icmp6.h in_gif.c in_gif.h ip6.h ip_ecn.c ip_ecn.h
	syssrc/sys/netinet6: IMPLEMENTATION Makefile TODO ah.h ah_core.c
	    ah_input.c ah_output.c dest6.c esp.h frag6.c icmp6.c icmp6.h in6.c
	    in6.h in6_cksum.c in6_gif.c in6_gif.h in6_ifattach.c in6_ifattach.h
	    in6_pcb.c in6_pcb.h in6_prefix.c in6_proto.c in6_systm.h in6_var.h
	    ip6.h ip6_forward.c ip6_input.c ip6_mroute.c ip6_mroute.h
	    ip6_output.c ip6_var.h ip6protosw.h ipcomp.h ipcomp_core.c
	    ipcomp_input.c ipcomp_output.c ipsec.c ipsec.h mld6.c mld6_var.h
	    nd6.c nd6.h nd6_nbr.c nd6_rtr.c pim6.h pim6_var.h raw_ip6.c
	    route6.c udp6.h udp6_usrreq.c udp6_var.h
	syssrc/sys/netkey: Makefile key.c key.h key_debug.c key_debug.h
	    key_var.h keydb.h keysock.c keysock.h keyv2.h

Log Message:
IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628.
(Sorry for a big commit, I can't separate this into several pieces...)
Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.

- sys/kern: do not assume single mbuf, accept chained mbuf on passing
  data from userland to kernel (or other way round).
- "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ
  package (
- sys/netinet/tcp*: IPv4/v6 dual stack tcp support.
- sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those
  file to be there so we patch it up.
- sys/netinet: IPsec additions are here and there.
- sys/netinet6/*: most of IPv6 code sits here.
- sys/netkey: IPsec key management code
- dev/pci/pcidevs: regen

In my understanding no code here is subject to export control so it
should be safe.

To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 syssrc/sys/Makefile
cvs rdiff -r1.293 -r1.294 syssrc/sys/conf/files
cvs rdiff -r1.38 -r1.39 syssrc/sys/dev/ic/midway.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/dev/ic/midwayreg.h
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/ic/midwayvar.h
cvs rdiff -r1.12 -r1.13 syssrc/sys/dev/pci/if_en_pci.c
cvs rdiff -r1.139 -r1.140 syssrc/sys/dev/pci/pcidevs.h
cvs rdiff -r1.137 -r1.138 syssrc/sys/dev/pci/pcidevs_data.h
cvs rdiff -r1.25 -r1.26 syssrc/sys/kern/uipc_domain.c
cvs rdiff -r1.29 -r1.30 syssrc/sys/kern/uipc_socket2.c
cvs rdiff -r1.44 -r1.45 syssrc/sys/kern/uipc_syscalls.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/net/Makefile
cvs rdiff -r1.48 -r1.49 syssrc/sys/net/if.c
cvs rdiff -r1.36 -r1.37 syssrc/sys/net/if.h
cvs rdiff -r1.9 -r1.10 syssrc/sys/net/if_atm.h
cvs rdiff -r1.19 -r1.20 syssrc/sys/net/if_atmsubr.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/net/if_ether.h
cvs rdiff -r1.43 -r1.44 syssrc/sys/net/if_ethersubr.c
cvs rdiff -r0 -r1.2 syssrc/sys/net/if_faith.c syssrc/sys/net/if_gif.c \
    syssrc/sys/net/if_gif.h syssrc/sys/net/pfkeyv2.h
cvs rdiff -r1.26 -r1.27 syssrc/sys/net/if_fddisubr.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/net/if_loop.c
cvs rdiff -r1.53 -r1.54 syssrc/sys/net/if_ppp.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/net/if_tun.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/net/if_types.h
cvs rdiff -r1.17 -r1.18 syssrc/sys/net/netisr.h syssrc/sys/net/route.h
cvs rdiff -r1.5 -r1.6 syssrc/sys/net/ppp_defs.h
cvs rdiff -r1.24 -r1.25 syssrc/sys/net/route.c
cvs rdiff -r1.29 -r1.30 syssrc/sys/net/rtsock.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/netccitt/if_x25subr.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/netinet/Makefile
cvs rdiff -r0 -r1.2 syssrc/sys/netinet/icmp6.h syssrc/sys/netinet/in_gif.c \
    syssrc/sys/netinet/in_gif.h syssrc/sys/netinet/ip6.h \
    syssrc/sys/netinet/ip_ecn.c syssrc/sys/netinet/ip_ecn.h
cvs rdiff -r1.10 -r1.11 syssrc/sys/netinet/if_atm.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/netinet/igmp.c
cvs rdiff -r1.47 -r1.48 syssrc/sys/netinet/in.c \
    syssrc/sys/netinet/tcp_output.c syssrc/sys/netinet/udp_usrreq.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/netinet/in.h
cvs rdiff -r1.58 -r1.59 syssrc/sys/netinet/in_pcb.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/netinet/in_pcb.h
cvs rdiff -r1.31 -r1.32 syssrc/sys/netinet/in_proto.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/netinet/in_var.h
cvs rdiff -r1.18 -r1.19 syssrc/sys/netinet/ip.h
cvs rdiff -r1.36 -r1.37 syssrc/sys/netinet/ip_icmp.c \
cvs rdiff -r1.88 -r1.89 syssrc/sys/netinet/ip_input.c
cvs rdiff -r1.42 -r1.43 syssrc/sys/netinet/ip_mroute.c \
cvs rdiff -r1.15 -r1.16 syssrc/sys/netinet/ip_mroute.h
cvs rdiff -r1.60 -r1.61 syssrc/sys/netinet/ip_output.c \
cvs rdiff -r1.13 -r1.14 syssrc/sys/netinet/tcp_debug.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/netinet/tcp_debug.h
cvs rdiff -r1.82 -r1.83 syssrc/sys/netinet/tcp_input.c
cvs rdiff -r1.66 -r1.67 syssrc/sys/netinet/tcp_subr.c
cvs rdiff -r1.43 -r1.44 syssrc/sys/netinet/tcp_timer.c
cvs rdiff -r1.39 -r1.40 syssrc/sys/netinet/tcp_usrreq.c
cvs rdiff -r0 -r1.1 syssrc/sys/netinet6/IMPLEMENTATION \
    syssrc/sys/netinet6/TODO syssrc/sys/netinet6/esp.h
cvs rdiff -r0 -r1.2 syssrc/sys/netinet6/Makefile syssrc/sys/netinet6/ah.h \
    syssrc/sys/netinet6/ah_core.c syssrc/sys/netinet6/ah_input.c \
    syssrc/sys/netinet6/ah_output.c syssrc/sys/netinet6/dest6.c \
    syssrc/sys/netinet6/frag6.c syssrc/sys/netinet6/icmp6.c \
    syssrc/sys/netinet6/icmp6.h syssrc/sys/netinet6/in6.c \
    syssrc/sys/netinet6/in6.h syssrc/sys/netinet6/in6_cksum.c \
    syssrc/sys/netinet6/in6_gif.c syssrc/sys/netinet6/in6_gif.h \
    syssrc/sys/netinet6/in6_ifattach.c syssrc/sys/netinet6/in6_ifattach.h \
    syssrc/sys/netinet6/in6_pcb.c syssrc/sys/netinet6/in6_pcb.h \
    syssrc/sys/netinet6/in6_prefix.c syssrc/sys/netinet6/in6_proto.c \
    syssrc/sys/netinet6/in6_systm.h syssrc/sys/netinet6/in6_var.h \
    syssrc/sys/netinet6/ip6.h syssrc/sys/netinet6/ip6_forward.c \
    syssrc/sys/netinet6/ip6_input.c syssrc/sys/netinet6/ip6_mroute.c \
    syssrc/sys/netinet6/ip6_mroute.h syssrc/sys/netinet6/ip6_output.c \
    syssrc/sys/netinet6/ip6_var.h syssrc/sys/netinet6/ip6protosw.h \
    syssrc/sys/netinet6/ipcomp.h syssrc/sys/netinet6/ipcomp_core.c \
    syssrc/sys/netinet6/ipcomp_input.c syssrc/sys/netinet6/ipcomp_output.c \
    syssrc/sys/netinet6/ipsec.c syssrc/sys/netinet6/ipsec.h \
    syssrc/sys/netinet6/mld6.c syssrc/sys/netinet6/mld6_var.h \
    syssrc/sys/netinet6/nd6.c syssrc/sys/netinet6/nd6.h \
    syssrc/sys/netinet6/nd6_nbr.c syssrc/sys/netinet6/nd6_rtr.c \
    syssrc/sys/netinet6/pim6.h syssrc/sys/netinet6/pim6_var.h \
    syssrc/sys/netinet6/raw_ip6.c syssrc/sys/netinet6/route6.c \
    syssrc/sys/netinet6/udp6.h syssrc/sys/netinet6/udp6_usrreq.c \
cvs rdiff -r1.25 -r1.26 syssrc/sys/netiso/if_eon.c
cvs rdiff -r0 -r1.2 syssrc/sys/netkey/Makefile syssrc/sys/netkey/key.c \
    syssrc/sys/netkey/key.h syssrc/sys/netkey/key_debug.c \
    syssrc/sys/netkey/key_debug.h syssrc/sys/netkey/key_var.h \
    syssrc/sys/netkey/keydb.h syssrc/sys/netkey/keysock.c \
    syssrc/sys/netkey/keysock.h syssrc/sys/netkey/keyv2.h
cvs rdiff -r1.45 -r1.46 syssrc/sys/sys/malloc.h
cvs rdiff -r1.44 -r1.45 syssrc/sys/sys/mbuf.h
cvs rdiff -r1.43 -r1.44 syssrc/sys/sys/socket.h
cvs rdiff -r1.8 -r1.9 syssrc/sys/sys/sockio.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.