Commit Graph

114 Commits

Author SHA1 Message Date
ragge 6aabd4d0c2 CL* discarding. 1999-12-04 12:11:13 +00:00
thorpej c08800739a Back out previous. I was getting bitten by a bug in make(1), which is
now fixed.
1999-07-12 18:15:09 +00:00
thorpej 74b592231c Only include opt_*.h if we're building a kernel. 1999-07-11 21:28:08 +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
darrenr 67cac86e57 add PR_LISTEN to protocols which support listen(2) 1999-07-01 05:53:04 +00:00
chopps dc3a7247ce add multicast address like everyone else, using if_ioctl 1999-06-30 03:32:40 +00:00
chopps 0f274aa73e don't check for ether_output, instead use if_type == IFT_ETHER
while we are here add IFT_FDDI support
1999-04-14 16:26:42 +00:00
chopps 47acef4796 add note about who uses this code 1999-04-05 01:09:51 +00:00
chopps 71f81a6eb6 add back the SIOCxxx_ISO ioctl's that were eroneously removed previously 1999-04-01 06:51:48 +00:00
perry d446fb449c exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
mjacob d7e48cb804 adjust format args for compiler changes 1999-03-04 02:38:31 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
christos e30bd461e3 Fix prototypes for iso_gethostbyname and iso_gethostbyaddr 1999-01-31 19:43:32 +00:00
thorpej 4b0e6bb4dc Domains are associated with protocol families, not address families. 1999-01-14 01:16:55 +00:00
matt 3ad026ac87 vax -> __vax__ (and mips to __mips__ in ultrix_misc.c) 1998-10-20 01:46:27 +00:00
christos 3d10f9ca2b Fix ' ' -> '\t' 1998-09-13 15:24:39 +00:00
christos 9b63f5f407 Assign copyright to TNF. 1998-09-05 14:30:31 +00:00
thorpej 9f42788795 Add some braces to make egcs happy. 1998-08-25 04:43:46 +00:00
jonathan 5c0c5dd0b4 defopt ISO TPIP. 1998-07-05 04:37:35 +00:00
jonathan 8db0fcdbf7 defopt CCITT. 1998-07-05 02:12:22 +00:00
jonathan f2a2327e0a defopt EON. 1998-07-05 01:06:49 +00:00
jonathan 3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
thorpej 5596fe2614 Nuke TUBA per my note to tech-net; there's no reason to keep it around. 1998-05-11 19:57:23 +00:00
thorpej 1ffa60ac01 Use macros from tcp_timer.h to manipulate TCP timers, so that their
implementation can be changed easily.
1998-05-06 01:21:20 +00:00
drochner 57c38ff7bc fix egcs warning 1998-04-17 12:55:57 +00:00
fvdl 7ba6a2daac Remove extraneous files from Lite2 merge. 1998-03-01 13:45:28 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
fvdl b50e39fa45 Import 4.4BSD-Lite for reference 1998-03-01 02:09:33 +00:00
kleink 59fe905973 Fix variable declarations: register -> register int. 1998-02-14 19:34:12 +00:00
thorpej 4c54445530 Use offsetof() from libkern.h 1998-01-28 02:35:10 +00:00
cgd 4293c20761 return an error if given an ioctl which isn't recognized. (Fixes
ifconfig media warning with GENERIC kernels, as well as simply being
more correct.)
1998-01-16 18:54:10 +00:00
thorpej 8947029c63 Make this compile in light of recent socket queue data structure change.
Pointed out by Matthias Drochner.
1998-01-09 18:31:50 +00:00
is fd26a0bfcb Make these structures packed, so that at least with our compiler, fixed
since today, they will have the same size as the on-the-wire-packet on each
architecture.
Problem was reported by George Harvey for the m68k architecture.
1997-11-03 15:01:18 +00:00
lukem f984b5a5dc use CPPFLAGS instead of CFLAGS 1997-10-26 21:50:53 +00:00
explorer 525a0ad7a5 Add hooks to use the kernel random system to generate TCP sequence numbers. 1997-10-10 01:54:32 +00:00
mikel a1c1c11a40 eliminate non-comment text after #endifs; from Dave Sainty in PR kern/4091 1997-09-08 02:06:30 +00:00
hannken 4d03b30298 Add variable `hdroptlen'. See file `netinet/tcp_input.c', Rev. 1.30
for details. Closes PR #3922.
1997-07-28 11:50:05 +00:00
thorpej 7ed16a75d1 Pull SYN_cache_branch down to the main line. 1997-07-23 21:30:11 +00:00
thorpej a0e791807e Eliminate use of dtom() from the network code, allowing more flexible
use of mbuf external storage and increasing performance (by eliminating
an m_pullup() for clusters in the IP reassembly code).

Changes from Koji Imada <koji@math.human.nagoya-u.ac.jp>, in PR #3628
and #3480, with ever-so-slight integration changes by me.
1997-06-24 02:25:59 +00:00
is 07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
veego 8f03890dff Cast the printf("%ld", sizeof) in eoniphdr to long.
This fix a -Wall error on non alpha systems
1996-11-23 21:13:18 +00:00
cgd 6cc49bedec fix -Wformat problems 1996-11-13 20:00:15 +00:00
christos ad67e04154 backout previous kprintf change 1996-10-13 16:50:51 +00:00
christos 5545959d0b backout previous kprintf changes 1996-10-13 02:03:00 +00:00
christos 6d7ad25bea printf -> kprintf, sprintf -> ksprintf 1996-10-10 23:12:43 +00:00
mycroft dd1088afc1 Catch up with netinet changes. 1996-09-17 16:43:48 +00:00
mycroft 0804856d01 Make sure the control mbufs are freed in all cases.
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
iso_ifreq and SIOC*_ISO are no longer needed; use the standard versions.
1996-09-08 14:28:08 +00:00
cgd d73abf41aa avoid unnecessary checks of m_get/MGET/etc.'s return values. When
they're called with M_WAIT, they are defined to never return NULL.
1996-06-14 22:21:12 +00:00
mycroft 49d52c9b1c Pass a proc pointer down to the usrreq and pcbbind functions for PRU_ATTACH, PRU_BIND and
PRU_CONTROL.  The usrreq interface really needs to be split up, but this will have to wait.
Remove SS_PRIV completely.
1996-05-22 13:54:55 +00:00