Commit Graph

53263 Commits

Author SHA1 Message Date
itojun
c74aeb8363 document issues in libc extensions. 1999-07-01 18:28:55 +00:00
itojun
37e8159125 add IPv6 support functions.
get{addr,name} info are implemented to have as little impact to existing
resolver code as possible, so they are NOT the optimal implementation.
They are at this moment not very thread safe (as they call
gethostby{name,addr}).

(shlib minor version)++, as new interfaces are added.

TODO: getipnodeby{name,addr} - which needs total reimplementation of
gethostby{name,addr}.
upgrade rcmd.c for multiple af support (needed for IPv6-ready rsh/rlogin)
1999-07-01 18:23:53 +00:00
itojun
e5e0b59b78 add -DINET6 for DNS-over-IPv6 resolver. 1999-07-01 18:20:13 +00:00
itojun
e24b45d811 IPv6 DNS transport support for resolver.
Now you can write
	nameserver 3ffe:0501:4819::42
in /etc/resolv.conf for DNS query over IPv6 network.
(the above address is alive as DNS server)
1999-07-01 18:19:35 +00:00
itojun
7f7f5bff87 document gethostbyname2(). 1999-07-01 18:18:27 +00:00
itojun
10f59f2d42 define IPv6 library functions and structures, as defined in
RFC2292 and RFC2553.
define internal state structure for IPv6-transport resolver.

Commits for source code will follow.
1999-07-01 18:15:41 +00:00
itojun
e061ef3163 fix hardcoded T_A.
this fixes gethostbyname2(host, AF_INET6) to actually work.
1999-07-01 16:43:18 +00:00
itojun
25eb444e29 make ifconfig IPv6-ready.
TODO: update manpage for new options.
1999-07-01 13:19:20 +00:00
drochner
f3a6841709 make it compile if WSDISPLAY_COMPAT_RAWKBD is defined, but NWSDISPLAY not,
reported by Kazushi Marukawa <jam@pobox.com>
1999-07-01 11:18:20 +00:00
itojun
2cd8764765 add IPv6/IPsec manpage into MAN 1999-07-01 10:55:53 +00:00
itojun
af19683322 s/.Os KAME/.Os/ 1999-07-01 10:53:48 +00:00
itojun
9d0659f865 manpage for "pseudo-device gif", for IPv4/v6 tunnelling. 1999-07-01 10:52:17 +00:00
itojun
42d8e71f94 s/.Os KAME/.Os/ 1999-07-01 10:50:47 +00:00
itojun
38610cd2fc introductory manpage for IPsec and IPv6. 1999-07-01 10:48:30 +00:00
itojun
43ada52628 add INET6, IPSEC and IPSEC_{ESP,DEBUG}. 1999-07-01 10:47:37 +00:00
cgd
fb88e47b54 Remove an extraneous fclose() call which would cause savecore to crash
if the bounds file was unwritable (e.g. because /var was read-only).
Fix supplied by Ronald Khoo in PR#7887.
1999-07-01 08:53:35 +00:00
itojun
118d2b1d4f 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 (ftp://ftp.csl.sony.co.jp/pub/kjc/).
- 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.
1999-07-01 08:12:45 +00:00
itojun
9765602d90 add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. 1999-07-01 07:59:57 +00:00
itojun
5effafcaa6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
darrenr
4607be6533 define PR_LISTEN to indicate listen(2)/accept(2) support 1999-07-01 05:56:53 +00:00
darrenr
cd92b615fa fix sys_accept() to return EOPNOTSUPP for protocols which don't support
listen/accept (PR_LISTEN flag in protosw) and detect obvious faults in
parameters passed.  It is still possible for the address used for copying
the socket information to become invalid between that check and the copyout
so close the connection's allocated fd if the copyout fails so that we can
return EFAULT without allocating an fd and the application not knowing about
it.  Ideally we'd be able to queue the connection back up so a later accept
could retrieve it but unfortunately that's not possible.
1999-07-01 05:56:32 +00:00
darrenr
67cac86e57 add PR_LISTEN to protocols which support listen(2) 1999-07-01 05:53:04 +00:00
fvdl
440bb56d81 Don't use .PATH here, it won't work because of crunchgen. XXX 1999-06-30 22:21:57 +00:00
ragge
1647688f0d Use pmap_steal_memory() for early memory allocation. 1999-06-30 19:31:33 +00:00
ragge
8783dd4166 MSCP moved. 1999-06-30 18:48:06 +00:00
ragge
9c7dfb8eb4 Outdated; moved to another location. 1999-06-30 18:47:03 +00:00
ross
59c991a23e Document BUILD_KERNELS. 1999-06-30 18:42:03 +00:00
ross
6e3b6566ce * Define INSTALLATION_DIRS and BUILD_KERNELS.
* Build in src/distrib
* Call the new release targets in src/distrib/{alpha,notes}

Note: The notes installation command is MI and should eventually move
      to somewhere in ../Makefile
1999-06-30 18:39:37 +00:00
ragge
996e5bf55a Stop the network interface after kernel is loaded but before starting it.
Not doing this caused packets to be read into memory somewhere after the
kernel was started but before the device was probed, normally in the
system page table. This gave quite unpredictable results...
1999-06-30 18:38:03 +00:00
ross
147f63da42 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:36:37 +00:00
ragge
a406e5332c Clean up the boot command selection a bit. Add a command "halt". 1999-06-30 18:33:33 +00:00
ragge
3b8e9ab16d Support loading the kernel from ustarfs. 1999-06-30 18:30:42 +00:00
ross
1128e4c837 Add release targets, intended for use by the src/etc/Makefile `make release'. 1999-06-30 18:23:02 +00:00
ragge
04620b62b5 Search for include files in new locations. 1999-06-30 18:19:26 +00:00
ross
cd2292889d Harmonize pathnames. 1999-06-30 18:14:26 +00:00
drochner
6d864c0914 add driver for the Bit3 PCI-VME adapter, without the DMA parts for now 1999-06-30 17:45:38 +00:00
fair
3a845702d7 A reference to http://members.hyperlink.net.au/~chart/pci.htm in comments;
this new effort at collecting PCI data outside the PCI SIG replaces the
one that was referenced in here before.

No regeneration required.
1999-06-30 16:52:52 +00:00
tsubai
654e155756 Display verbose messages about L2 cache. 1999-06-30 16:34:19 +00:00
drochner
33104934d9 update for new VME framework 1999-06-30 15:18:58 +00:00
drochner
83eb712e3c update for new VME framework 1999-06-30 15:07:45 +00:00
drochner
44418fdf70 new, more mi, VME framework 1999-06-30 15:06:05 +00:00
tsubai
09a05c8950 Add newsmips. 1999-06-30 13:53:49 +00:00
itojun
38347f727c s/getaddrinfo/get_addrinfo/, to avoid function name conflict with
library function getaddrinfo()
(is defined in RFC2553, will be somewhere in POSIX)
1999-06-30 12:27:34 +00:00
is
b4d9cefaed Don't ask for permission to unlink a file if the access error is ETXTBSY.
This needs vfs_syscalls.c 1.138 to really work.
Fixes pr 4134 by Johan Danielsson.
1999-06-30 10:18:59 +00:00
is
b4b3d042fd Only check for ETXTBSY if the access would otherwise be allowed.
Needed to fix pr4134.
1999-06-30 10:00:06 +00:00
augustss
9d466c7892 usbd is dead. And gone! 1999-06-30 06:56:11 +00:00
augustss
aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
augustss
b177c7a397 Totally redo the way device detach is done. It now uses a kernel event
thread and the config detach method.
Squish a number of space leaks on detach.
1999-06-30 06:44:22 +00:00
augustss
895c141c35 Improve messages in case of error. 1999-06-30 06:23:28 +00:00
augustss
dd048d428b Make it possible to detach wsmouse and wskbd.
XXX wskbd probably needs some more work.
1999-06-30 06:21:21 +00:00