Commit Graph

38960 Commits

Author SHA1 Message Date
thorpej
723fb3cccc Add support for specifying the send and receive socket buffer sizes. This
is especially useful for TCP servers which must specify the receive
socket buffer size before the connection is made so that the connection's
window scale factor can be properly advertised.

Example /etc/inetd.conf configuration line:

shell stream tcp,rcvbuf=1m nowait root /usr/libexec/rshd rshd

That line will cause the rshd to advertise a 1 megabyte window, which could
improve the performance of an rcp in some situations.
1998-05-01 01:57:26 +00:00
mrg
dae55b7b7b fix a problem with swapping to files where a new variable introduced was not
later incremented correctedly, causing the wrong data to be paged out, which
then caused general lossage later when the data was paged in and the process
tried to use it.  found by pk.
1998-05-01 01:40:02 +00:00
kml
e173e7a084 Remove bogus black hole discovery code 1998-05-01 01:15:55 +00:00
fair
542d9add44 fix .Xr reference 1998-04-30 21:59:39 +00:00
thorpej
e1a08a949e Note the existence of net.inet.ip.mtudisctimeout. 1998-04-30 21:46:00 +00:00
thorpej
d2bb972036 Document net.inet.ip.mtudisc and net.inet.ip.mtudisctimeout. 1998-04-30 21:42:53 +00:00
thorpej
44bd3f51fe Note the presence of net.inet.tcp.: mssdflt, sack, win_scale, timestamps,
compat_42, cwm, cwm_burstsize.
1998-04-30 21:36:03 +00:00
thorpej
2629358a9a Rework some of the documentation pertaining to tcp.init_win and
tcp.mss_ifmtu, in an attempt to make it a little more clear.  Also,
document tcp.mssdflt, tcp.sack, tcp.win_scale, tcp.timestamps,
tcp.compat_42, tcp.cwm, and tcp.cwm_burstsize.
1998-04-30 21:32:47 +00:00
mark
7c867905c5 Major overhaul of pagetable handing.
Page tables no longer occupy space in the processes vm_map. This
  means that page tables can now be allocated from pmap_enter() when the
  first entry is made in the page table rather than relying on taking
  a section fault and faulting in a page table. This also lowers
  the overheads in creating and deleting page tables and simplfies
  cpu_fork().
  A result of this change is that problems with mapping zero page and
  an associated pagetable when execing from a shared vm_map disappear
  fixing PR5178.
1998-04-30 21:22:00 +00:00
mark
773c8defa1 Removed several un-necessary includes. 1998-04-30 21:01:30 +00:00
thorpej
ce40806e29 In the CWM code, don't use the Floyd initial window computation as
the burst size allowed, but rather a fixed number of packets, as
described in the Internet Draft.  Default allowed burst is 4 packets,
per the Draft.

Make the use of CWM and the allowed burst size tunable via sysctl.
1998-04-30 18:27:20 +00:00
thorpej
e81920fa23 Make tcp_compat_42 a sysctl option. 1998-04-30 17:55:27 +00:00
thorpej
7e05be912b Need <net/route.h> 1998-04-30 17:47:26 +00:00
kml
e3fb1a9993 update for rt_timer(9) man page 1998-04-30 17:14:26 +00:00
tsubai
55ba770e85 Comment out (unnecessary) "options EXEC_AOUT". 1998-04-30 14:16:13 +00:00
tsubai
99eaca4e0a Add NWS-3401's systype. 1998-04-30 14:12:15 +00:00
mycroft
a039a5720b Fix erroneous line breaks in LINK_SPEC. 1998-04-30 12:52:54 +00:00
mycroft
f9955a6ead Fix bizarreness with USE_COLLECT2 being overridden. 1998-04-30 10:41:55 +00:00
fair
67aae558d6 fix .Xr references 1998-04-30 09:38:54 +00:00
mycroft
3b1b451897 Regen. 1998-04-30 09:26:13 +00:00
mycroft
2eefd74d43 First pass at PowerPC support, and disable collect2 on all NetBSD platforms. 1998-04-30 09:21:47 +00:00
fair
a576d424e0 Marathon man page editing session to fix broken .Xr's, add important
references, add a little white space here & there for readability,
clean up some mdoc(7) macro usage and so on. Whew!
1998-04-30 08:50:03 +00:00
ross
d38d75c9fb Include net/route.h 1998-04-30 08:27:59 +00:00
ross
1e075b072d Rewrite active_pmap() and again kill the reborn curproc bug. 1998-04-30 08:27:00 +00:00
thorpej
4ad2b50a58 Update for recent changes to vslock()/vsunlock(): document that the context
is taken from the provided proc, and remove the BUGS section, since it
has now been addressed.
1998-04-30 06:32:39 +00:00
thorpej
73863dd3c9 Pass vslock() and vsunlock() a proc *, rather than implicitly operating
on curproc.
1998-04-30 06:28:57 +00:00
thorpej
4df7fa2c39 Oops, typo. 1998-04-30 06:26:04 +00:00
mycroft
aa7159be03 Regen. 1998-04-30 06:18:45 +00:00
mycroft
6e626dfafc Add the Apple Bandit chip. 1998-04-30 06:18:11 +00:00
fair
601bad7562 add some additional documentation and references 1998-04-30 05:42:40 +00:00
mjacob
de4d1c62af pretty much redo interrupt code- now handles shared interrupts and solves the buspin int problem 1998-04-30 04:31:19 +00:00
mjacob
e3904356a4 do some mbs before a config read/write 1998-04-30 04:25:22 +00:00
matt
34cedede44 Forgot to add M_IPFLOW. 1998-04-30 00:36:34 +00:00
thorpej
27dba7b8e8 Implement two new BPF ioctls: BPFGHDRCMPLT and BPFSHDRCMPLT, to get/set
the "header already complete" flag.  This allows BPF writers to spoof
layer 2 source addresses (providing the layer 2 in use supports it) in
applications where this is necessary.  From Greg Smith <greg@nas.nasa.gov>.
1998-04-30 00:08:19 +00:00
thorpej
5e5904eb39 In ether_output(), if the socket address family is pseudo_AF_HDRCMPLT,
use the Ethernet source address speficied in the sockaddr rather than
the interface's Ethernet address, and then fall through to the AF_UNSPEC
case.  From Greg Smith <greg@nas.nasa.gov>.
1998-04-30 00:05:41 +00:00
thorpej
a0a9022eec Define a new pseudo-address family, pseudo_AF_HDRCMPLT, which is used by
BPF to tell interface output routines to not fill in the layer 2 source
address.  From Greg Smith <greg@nas.nasa.gov>.
1998-04-30 00:03:16 +00:00
thorpej
1686aca01d Pull in opt_gateway.h as appropriate. 1998-04-29 23:11:00 +00:00
matt
c3ef9d7317 Add support for printing fast forwarded packets. 1998-04-29 21:39:38 +00:00
matt
d4d709f7d0 Add support for "fast" forwarding. Add hooks in if_ethersubr.c and
if_fddisubr.c to fastpath IP forwarding.  If ip_forward successfully
forwards a packet, it will create a cache (ipflow) entry.  ether_input
and fddi_input will first call ipflow_fastforward with the received
packet and if the packet passes enough tests, it will be forwarded (the
ttl is decremented and the cksum is adjusted incrementally).
1998-04-29 21:37:52 +00:00
matt
37d70e3b46 defopt GATEWAY 1998-04-29 20:45:30 +00:00
matt
334f006538 New TCP reassembly code. The new code reduces the memory needed by
out-of-order packets and builds the infrastructure needed for sending
SACK blocks (to be added shortly).
1998-04-29 20:43:29 +00:00
fair
4d576a6053 fix bad .Xr references 1998-04-29 20:26:21 +00:00
fair
17ba539151 fix some bad .Xr 1998-04-29 20:11:30 +00:00
fair
42aff08cb4 fix a bad .Xr 1998-04-29 19:25:25 +00:00
fair
ebfcc842c8 Fix bad .Xr and some .Nm abuse 1998-04-29 19:19:15 +00:00
fair
f6f1a1889b fix bad .Xr 1998-04-29 19:13:09 +00:00
fair
0047adf48c Fix a few bad .Xr's. Nuke rampant abuse of .Nm.
Clarify examples through the judicious use of .Qq and .Em.
1998-04-29 19:12:09 +00:00
fair
45f41278ec fix bad .Xr references 1998-04-29 18:16:01 +00:00
thorpej
93b075a492 Oops, we depend on <sys/queue.h>. 1998-04-29 17:49:58 +00:00
kleink
d4ef5aa94d Add <inttypes.h> and <sys/inttypes.h>. 1998-04-29 13:31:07 +00:00