mark
94a7e32beb
Edited and added various comments.
1998-05-01 15:30:54 +00:00
thorpej
61665b7bc6
TCP_CWM option doesn't exist anymore; it's all run-time.
1998-05-01 05:24:34 +00:00
thorpej
b3cdc88a22
Fix some whitespace.
1998-05-01 05:22:16 +00:00
thorpej
4c5d87fd09
Squash a typo.
1998-05-01 03:58:55 +00:00
scottr
d4c74c8b59
Quiet an (imo bogus) warning from gcc 2.8.1 regarding braces and
...
if-else statements. Change suggested by Taras Ivanenko in PR 5334.
1998-05-01 03:53:47 +00:00
thorpej
2fdee596a3
Glue in IP flow fast forwarding.
1998-05-01 03:50:59 +00:00
thorpej
7e223b244a
Add FDDI source address spoofing via pseudo_AF_HDRCMPLT.
1998-05-01 03:44:52 +00:00
scottr
cb160f72a3
Missed a prototype in the NuBus interrupt handler cleanup.
...
Fixes PRs 5365, 5367, 5368, and 5373.
1998-05-01 03:42:47 +00:00
thorpej
77af553e79
If packets are passed through IP Filter at all, don't allow fast-forward
...
flow entries to be created for them.
Eventually, IP Filter should be extended to allow IP src/dst pairs to
be specified as "fast forward OK".
1998-05-01 03:28:14 +00:00
thorpej
4452bc9a21
Allow packet filters to prevent a packet from creating a fast-forwarding
...
flow, by setting the "can fast forward" flag in the packet header, and
giving a chance for filters to clear the flag. If the flag is still
set after the filters have given it a chance, the packet will be used
to create a fast-forward flow entry.
1998-05-01 03:23:24 +00:00
thorpej
f5f5ea4fde
Add an mbuf packet header flag which indicates that a packet can be used
...
to create a fast-forward flow.
1998-05-01 03:21:05 +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
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
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
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
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
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
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
thorpej
93b075a492
Oops, we depend on <sys/queue.h>.
1998-04-29 17:49:58 +00:00
kleink
3eae303bcd
Add an <inttypes.h> implementation; we'll also make it accessible as
...
<sys/inttypes.h> in order to let kernel source access its type definitions.
1998-04-29 13:28:06 +00:00
thorpej
00d50da592
Fix some whitespace.
1998-04-29 05:44:47 +00:00
thorpej
13f972a4d6
Make use of the work-arounds for ancient broken TCP peers run-time
...
conditional (tcp_compat_42). The kernel config option TCP_COMPAT_42
will still enable this by default, or disable this by default if the
option is not included (i.e. current behavior). This will be made a
sysctl soon.
1998-04-29 05:16:46 +00:00
thorpej
80c08c1784
Turn off TCP_COMPAT_42, turn on TCP_CWM.
1998-04-29 04:57:49 +00:00
kml
eadcaa201c
change path MTU timeout value to match RFC 1191
1998-04-29 03:45:52 +00:00
kml
1579dcec47
Add support for deletion of routes added by path MTU discovery;
...
uses new generic route timeout code. Add sysctl for timeout period.
1998-04-29 03:44:11 +00:00
kml
8cdafd0efb
Add generic route timeout functionality; used by path MTU discovery code
1998-04-29 03:41:49 +00:00
thorpej
9e97d1cc17
Define Pyxis Interrupt Mask and General Purpose Output registers.
1998-04-29 03:09:26 +00:00
thorpej
47a53b61ec
Add the DEC 550 Personal Workstation slot.
1998-04-29 02:41:41 +00:00
thorpej
371b1a7fb7
Define the DEC 550 Personal Workstation (Miata) systype.
1998-04-29 02:39:24 +00:00
thorpej
9a25b32914
Use the symbolic name VVR_BLANK rather than a magic constant.
1998-04-29 02:23:20 +00:00
thorpej
829fa05638
Ignore any `-' characters that might have been passed in the boot flags.
1998-04-29 02:13:51 +00:00
thorpej
6493eddd91
Define the contents of the Video Valid register on the TGA and TGA2.
1998-04-29 02:11:19 +00:00
thorpej
53d3aa940b
Sync with recent change made to bha.c by mjacob:
...
Cute buglet: you can end up with zero CCBs if there were no targets
seen by the adapter. Always leave a minimum so the adapter can
finish attaching- it may be there w/o targets for a reason.
1998-04-29 01:02:44 +00:00
thorpej
100bfaf39a
Change RFC1323 timestamp update rule per Section 3.4 of RFC1323.bis. Old
...
rule was to update the timestamp if the sequence numbers are in range. New
rule adds a check that the timestamp is advancing, thus preventing our notion
of the most recent timestamp from incorrectly moving backwards.
1998-04-29 00:43:46 +00:00
thorpej
a152517daa
Add interrupt counter space for the DEC EB64+, and fix a misplaced
...
counter comment in the kn300 interrupt counters.
1998-04-29 00:34:06 +00:00
thorpej
28b467b65b
Add support for the DEC EB64+.
1998-04-29 00:24:59 +00:00
thorpej
23a168699c
Build EB64+ PCI support if DEC_EB64PLUS is configured.
1998-04-29 00:24:28 +00:00
mjacob
1acc8b53b5
Cute buglet: you can end up with zero CCBs if there were no targets
...
seen by the adapter. Always leave a minimum so the adapter can
finish attaching- it may be there w/o targets for a reason.
1998-04-28 23:57:53 +00:00
augustss
df71a424d6
Change debug printing a littel again.
1998-04-28 23:19:20 +00:00
mycroft
f327fee4ca
Fix KTROP_CLEARFILE so it does the same thing as KTROP_CLEAR (i.e. vrele()
...
rather than vn_close()). Fixes PR 5357.
1998-04-28 22:27:22 +00:00
thorpej
df750b93da
Log the peer's IP address on received window scale factors larger than
...
TCP_MAX_WINSHIFT (14), as recommended in Section 2.3 of RFC1323.
1998-04-28 21:52:16 +00:00
thorpej
861c7a7e2d
Add a stub pckbc_machdep_cnattach() which simply returns an error. This
...
function is meant to glue the new pckbd driver to the old console code
on ports which use the old PC-style console code. This will eventually
be purged when all of the old legacy consoles have gone away.
1998-04-28 19:14:27 +00:00
thorpej
28454023cc
Add a comment about some future work.
1998-04-28 19:13:24 +00:00
thorpej
41d55197b4
In wdcintr(), add a catch-all case so that this will compile if no
...
children are configured.
1998-04-28 18:36:07 +00:00
thorpej
4ccb48a525
Try (again) to get the chip number right for Alcor and Pyxis, using the
...
following (iffy) hueristic:
CIA revision 1 -> 21171
CIA revision 2 -> 21172
CIA revision > 2 -> 21174
1998-04-28 18:11:35 +00:00
thorpej
925fe63713
Fix a couple of function names used in diagnostic printfs.
1998-04-28 17:48:35 +00:00
kleink
d40e7c810b
Make adding new source files easier and enhance readability by ordering SRCS
...
items by (Net)BSD version first, then alphabetically.
1998-04-28 16:27:51 +00:00
matt
5b43c678b7
Only transmit fragments if the send queue of interface can actually hold
...
all of the fragments. Use the mtu of route in preference of the MTU of the
interface when doing fragmentation decisions. (ie. Fragment to the path
mtu if it is available).
1998-04-28 15:26:00 +00:00
augustss
127acabd9c
Add a few more debug messages and clean up debug printing a little.
1998-04-28 09:07:12 +00:00
thorpej
a6084492d9
Fix some whitespace.
1998-04-28 02:04:13 +00:00
thorpej
b217194508
Fix the semantics (and the comment describing them) of pmap_update(). This
...
function is intended to process any deferred pmap operations, and is not
meant as a general means of flushing the TLB. Since this pmap module does
not defer any operations, make pmap_update() do nothing.
1998-04-27 19:17:16 +00:00
augustss
fbbeaa0c35
Add "aux" unit.
1998-04-27 19:11:38 +00:00
thorpej
30188853dc
Increase the efficiency of pmap_l{2,3}pte() somewhat, by allowing the
...
caller to pass an optional 3rd argument, which is the previous level
PTE corresponding the virtual address. If this argument is non-NULL,
the table walk otherwise necessary will be bypassed.
1998-04-27 19:07:03 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
kleink
82eb51ee05
In soshutdown(), decouple the evaluation of the `how' argument from FREAD
...
and FWRITE; use SHUT_{RD,WR,RDWR} instead.
Also, return EINVAL if `how' is invalid.
1998-04-27 13:31:45 +00:00
jonathan
e0a67e8aa8
Commit definition of mips_set_wbflush().
1998-04-27 07:34:28 +00:00
simonb
8afb70fa32
Pull in declaration for the variable "cold" in dec_5100_memintr().
1998-04-27 06:10:32 +00:00
thorpej
aefae6b463
Eliminate some needless indirection through ISA DMA front-end functions.
1998-04-27 00:21:57 +00:00
thorpej
ff701f8abb
Garbage-collect the DMA tag's "_cookie" member; it's not used for anything.
1998-04-26 22:37:20 +00:00
scottr
4804060a6b
GC the old MACHINE_NONCONTIG code.
1998-04-26 21:24:27 +00:00
scottr
6c884e2aa8
Correct thinko in last commit
1998-04-26 21:20:26 +00:00
scottr
a57c68946c
GC the old MACHINE_NONCONTIG code.
1998-04-26 21:12:03 +00:00
scottr
06487a637a
Use VM_PSTRAT_BIGFIRST, and add a comment explaining the decision.
1998-04-26 20:06:26 +00:00
thorpej
7a239c12c6
In vfs_unmountall(), if curproc is NULL, abort, because unmounting
...
puts the requesting process to sleep until the file systems buffers
have flushed, and sleeping with a NULL curproc will cause a fault.
1998-04-26 19:10:33 +00:00
thorpej
cbc64bb02d
Make vfs_shutdown() look a little nicer.
1998-04-26 18:58:54 +00:00
scottr
268cc1fea2
Generalize add_nubus_intr() a little more. Also, complete KNFing.
1998-04-26 18:25:58 +00:00
briggs
1ab7701474
Deal with the video interrupt for the RasterOps 8/24XLi. Thanks for the
...
information go to Tadashi Ueda <ng6t-ued@asahi-net.or.jp>.
1998-04-26 16:47:39 +00:00
mycroft
359fa37f9a
Fix a condition where we might erroneously write out a buffer with garbage
...
left in it.
Fixes PR 5354.
1998-04-26 14:45:23 +00:00
drochner
7f77474219
Oops, forgot to delete. It's in dev/pci now.
1998-04-26 11:57:00 +00:00
mrg
816ca00ce0
remove some register.
1998-04-26 06:17:20 +00:00
mycroft
0b2694152f
Update copyright.
1998-04-26 06:03:23 +00:00
mycroft
eddaea2d53
In LBA mode, always use the `total capacity' count, rather than calculating
...
the capacity based on the c/h/s numbers. In fact, don't use the c/h/s
numbers for much of anything.
For ATA-4 drives or later, always use LBA mode, since it's now required.
Collectively, this allows >8GB disks (like the 12GB Bigfoot) to work.
1998-04-26 05:28:23 +00:00
mjacob
384418e4b7
"Whitespace" does not mean uncommenting a reference to a file that does not, as yet, exist in the tree
1998-04-26 05:18:50 +00:00
scottr
fbf76298d3
GC several unused NuBus-related variable. While here, do some KNFing.
1998-04-26 03:59:18 +00:00
scottr
547ff1e300
Handle avail_start properly when setting up physical RAM segments.
...
Also, remove a KGDB-related piece that got committed prematurely.
1998-04-26 03:49:47 +00:00
scottr
c5302e839e
Attempt to clear stray NuBus interrupts in the default slot
...
interrupt handler.
1998-04-25 21:39:54 +00:00
scottr
aa1b4c6045
Garbage collect the second (slot number) parameter to NuBus interrupt
...
handlers. (Only slot_ignore() and slot_noint() need this, and we already
have a place to put this information.) Adjust add_nubus_intr() so that if
the client_data arg is specified as NULL, pass the slot number as
client_data to the interrupt handler.
1998-04-25 21:27:40 +00:00
matthias
fceafcf990
port-pc532 now has pmap_new just like port-i386.
1998-04-25 19:58:58 +00:00
matthias
d84c3b6b89
use config (just set the defaults), pmap_new related changes.
1998-04-25 19:58:11 +00:00
matthias
9701d34100
changes to make the port-i386 pmap.new.c work for the pc532.
1998-04-25 19:54:32 +00:00
matthias
818f5df269
new command "config" to set type (for c), constraint and printmodifier.
1998-04-25 19:48:27 +00:00
scottr
00c8745cf0
Conditionalize some code that is only needed in the MACHINE_NONCONTIG
...
case. Eventually we'll want to GC this.
1998-04-25 18:06:44 +00:00