Commit Graph

45675 Commits

Author SHA1 Message Date
Matthew N. Dodd
4af90a4da4 Make sure that the entire header is in the first mbuf before we
attempt to copy the ethernet header forward and otherwise encapsulate
a packet for output.

This fixes the panic when using VLAN devices on hardware that doesn't
do 802.1Q tagging onboard.  (That is to say, all drivers except the Tigon.)

My tests consisted of telnet, ttcp, and a pingflood of packets
between 1 and 1600 (plus headers) bytes.

MFC to follow in 1 week.

Approved by:	jkh
2000-02-03 07:44:39 +00:00
Nick Sayer
3ca9ee77a9 /dev/vn0b is a character device now.
Approved by:	jkh
2000-02-03 06:06:36 +00:00
Archie Cobbs
b12cbc348c The flags PKT_ALIAS_PUNCH_FW and PKT_ALIAS_PROXY_ONLY were both
being defined as 0x40.  Change the former to be 0x100.

Submitted by:	Erik Salander <erik@whistle.com>
Approved by:	jkh
2000-02-02 23:49:32 +00:00
Brian Somers
21b9df573d Mention what PKT_ALIAS_PROXY_ONLY does.
Prompted by: archie
2000-02-02 23:42:06 +00:00
Bill Paul
6f76cb1e28 Add support for WEP (encryption) for silver and gold WaveLAN/IEEE turbo cards.
Also update wicontrol to enable/disable encryption, set WEP keys and set the
TX key index. Silver cards only have 40-bit keys. This is something of a quick
hack, but it works well enough for me to commit this from the LinuxWorld
exhibit floor.

The WEP support only shows up if you have a card that supports it.

Would have been approved by: jkh, if he hadn't wandered off somewhere
Approved in his place by: msmith, who's standing right here
2000-02-02 17:59:13 +00:00
Peter Wemm
872309ccd4 Update the pci->pcic compatability module to newbus. This is a simple
conversion to eliminate the compatability shims without making any
significant changes.  This eliminates the shim warnings.

Obtained from:	n_himba (tweaked by me, don't blame him for this)
Approved by:	jkh
2000-02-02 16:49:21 +00:00
Søren Schmidt
fb1fb78a63 Add mode2 and XAmode1 type CD tracks. 2000-02-02 13:38:02 +00:00
Robert Watson
b7a5f3ca1b Remove static qualifier from vgonel, as it is needed by the Arla folk
outside of vfs_subr.c.

Submitted by:	Assar Westerlund <assar@sics.se>
Reviewed by:	rwatson
Approved by:	jkh
2000-02-02 07:07:17 +00:00
Warner Losh
16de1a07c2 Add entries for recent ipv6 api interface alignment (from shin@freebsd.org)
Clarify xinstall instructions from bde
2000-02-02 05:35:31 +00:00
David E. O'Brien
c2f8be1de4 This commit was generated by cvs2svn to compensate for changes in r56944,
which included commits to RCS files with non-trunk default branches.
2000-02-02 03:10:44 +00:00
David E. O'Brien
0b91470ee9 Import the latest version ehopt.c from the Cygnus Sourceware anoncvs
repository (dated 5-3-1999).

This fixes the endless loop the assembler gets in when it is trying to
decide how big part of the exception handling table should be on the Alpha.
This version of this file allows qradiobutton.cpp from qt and widget.cc
from kdelibs11 to be compilable.
2000-02-02 03:10:44 +00:00
Peter Wemm
483df2dd3b Spell "pci_delete_resource" correctly.
Approved by:	jkh (who must be very sick of requests now :-)
2000-02-01 18:02:12 +00:00
Matthew N. Dodd
1e8a96dc02 if_fpa is included when 'device fpa' is present, not 'device fea'.
Approved by:	jkh
2000-02-01 16:47:34 +00:00
Nick Sayer
651e921455 Avoid passing an uninitialized structure member to the real
READSUBCHANNEL ioctl. This makes vmware work with SCSI CDROM
drives.

Approved by:	jkh
2000-02-01 16:20:24 +00:00
Yoshinobu Inoue
e3be4d7b7e sync iruserok() extension API with other BSDs
Some of rcmd related function is need to be updated to
  support IPv6. Some of them are already updated as standard
  document. But there is also several de-facto functions and
  they are not listed in standard documents.
  They are,

    iruserok()  (used by rlogind, rshd)
    ruserok()   (used by kerberos, etc)

  KAME package updated those functions in original way.

    iruserok_af()
    ruserok_af()

  But recently there was discussion on IETF IPng mailing
  list about how to sync those API, and it is decided,

    -Those function is not standard and not documented.
    -But let BSDs sync their API as de-facto.

  And after some discussion, it is announced that

    -add update to iruserok() as iruserok_sa()
    -no ruserok() API change(it is only updated internaly)

So I sync those API before 4.0 is released.
The changes are,
   -prototype changes
   -ruserok() internal update (use iruserok_sa() inside)
   -removal of ruserok_af()
   -change iruserok_af() as static functioin, and also prefix the name with __.
   -add iruserok_sa() (Just call __iruserok_af() inside)
   -adding flag AI_ALL to getipnodebyaddr() called from __icheckhost().
    This is necessary to support IPv4 communication via AF_INET6 socket
    could be correctly authenticated via iruserok_sa()
   -irusreok_af() call is replaced to iruserok_sa() call
    in rlogind, and rshd.

Approved by: jkh
2000-02-01 15:55:56 +00:00
Yoshinobu Inoue
3411310dfb Add workaround for fxp issue at interface initialization with IPv6.
Some LAN card chip for fxp is known to cause problem at
  interface initialization with IPv6 enabled. It happens at
  some delicate timing.
  And also, just adding some DELAY before IPv6 address
  autoconfiguration is known to avoid the problem.

  Complete fix is changing the driver not to use interrupt at
  multicast filter initialization, but trying such change in
  this stage will be dangerous.

  So I add some DELAY() only inside #ifdef INET6 part,
  as temporal workaround only for 4.0.

Approbed by: jkh

Noticed by: Mattias Pantzare <pantzer@ludd.luth.se>

Obtained from: openbsd-tech mailing list
2000-02-01 15:49:37 +00:00
Nick Hibma
764d1fc491 da0 -> da 2000-02-01 09:32:04 +00:00
Dag-Erling Smørgrav
e1bbe71749 Drop maintainership of inetd, since nobody respects it anyway. 2000-02-01 09:21:22 +00:00
KATO Takenori
c03afedeb6 Synced with sys/i386/isa/isa_compat.h rev 1.18.
Approved by:	jkh
2000-02-01 09:00:09 +00:00
KATO Takenori
fbaefbb0a1 Synced with sys/i386/isa/wd.c revision 1.219.
Approved by:	jkh
2000-02-01 08:57:21 +00:00
KATO Takenori
2c46e1df9d Synced with sys/i386/isa/mse.c, npx.c and spkr.c revisions 1.49, 1.80
and 1.45, respectively.

Approved by:	jkh
2000-02-01 08:54:14 +00:00
Andrey A. Chernov
83b399ab2a Fix date again.
Previous fix was overwritten by new commits.
2000-02-01 04:23:35 +00:00
Justin T. Gibbs
aac5584a61 Remove a spurious printf left in from debugging.
PR: 16642
2000-02-01 00:43:58 +00:00
Nick Hibma
9a69e6509a bus_release_resource is spellt like bus_release_resource not like
bus_delete_resource.

Fixes a problem when the probe succeeded, but the attach failed. The
release of the resources was done inproperly.

Approved by:	jkh
2000-01-31 14:05:21 +00:00
Ruslan Ermilov
73d1eabc26 Merge FreeBSD changes into 2.4d. 2000-01-31 13:28:57 +00:00
Ruslan Ermilov
7e1d495350 Merge FreeBSD changes into 2.4d.
FreeBSD changes OBE'ed by 2.4d:
* rev 1.5 - use collate for alpha character ranges.
2000-01-31 13:28:08 +00:00
Ruslan Ermilov
204aabd910 This is the stock GNU grep 2.4d file. 2000-01-31 13:26:10 +00:00
Ruslan Ermilov
cb22a7128a This commit was generated by cvs2svn to compensate for changes in r56915,
which included commits to RCS files with non-trunk default branches.
2000-01-31 13:22:22 +00:00
Ruslan Ermilov
7898cc4c8d Virgin import of a trimmed down GNU Grep 2.4d. 2000-01-31 13:22:22 +00:00
Warner Losh
dc0dbf5c9e Add a section at the end called COMMON ITEMS. This is where we'll put
those questions that come up all the time (eg, how do I build a
kernel).  This is intended to be a very brief reminder for people that
are basically clueful what the steps are to do these common things.
What it lacks in verbosity it makes up in terseness.
2000-01-30 23:15:21 +00:00
Warner Losh
37990f36bd Add info about burncd, c++ changes, the xinstall kludge as well as
correct the buidlworld typo every keeps teasing me about.

I didn't ask Jordan if this was OK, but figured it fell under the
documentation exception in his freeze mail.
2000-01-30 23:09:58 +00:00
Mike Pritchard
0ee4fc596b Fix the usage of the .Dd macro so that the correct year is displayed,
instead of 1900.

PR:		bin/16207

Note: there is still a groff problem with Y2K that needs to be fixed,
so the PR is still valid.
2000-01-30 22:26:06 +00:00
David E. O'Brien
d40db6b279 The "INCDIR" required by the new header installation code in bsd.lib.mk
was not set correctly.

Ok'ed by:	JKH
2000-01-30 20:59:53 +00:00
Kris Kennaway
d9d67bbaf8 Add Xref to camcontrol(8) (replacing previously-removed scsiformat(8)).
Submitted by:	joerg
2000-01-30 20:58:33 +00:00
David E. O'Brien
6f96b351c2 The readline includes handling was moved down a level in
src/gnu/libreadline -- reflect that change here.

Ok'ed by:	JKH
2000-01-30 20:57:58 +00:00
Kirk McKusick
4434ff1d38 When writing out bitmap buffers, need to skip over ones that already
have a write in progress. Otherwise one can get in an infinite loop
trying to get them all flushed.

Submitted by:	Matthew Dillon <dillon@apollo.backplane.com>
2000-01-30 20:32:59 +00:00
David E. O'Brien
e606666d7b Retire Bison as it is not need to build GCC any more.
Ok'ed by:	JKH
2000-01-30 19:24:31 +00:00
Peter Wemm
d2b4236a60 Don't refer to TABLDISC in the comments here.
Submitted by:	bde
Approved by:	jkh
2000-01-30 10:14:13 +00:00
Bruce Evans
d02b52e7b5 Fixed longstanding brokenness of wddump() in LBA mode. LBA mode may now
be safe enough to recommend for working around the problem with CHS mode
normally being limited to 65536*16*63 sectors.

Fixed bitrot in related debugging code.

Fixed related style bugs.

Removed another vestige of bad144 support.
2000-01-30 07:58:14 +00:00
Jason Evans
268b25e18a Do not use 'alias' as a macro parameter name for __strong_reference(),
since the word 'alias' appears in the macro body.

Approved by:	jkh
2000-01-30 07:54:05 +00:00
John Baldwin
4e60d653ce Fix bogon in previous commit. Re-enable Forth in the loader.
Noticed by:	dcs
Approved by:	jkh
2000-01-30 06:56:27 +00:00
Luoqi Chen
51003344a8 Remove unused #include and prototype declaration. 2000-01-30 05:24:55 +00:00
Luoqi Chen
b20ae6a0b3 Typo fix. While I am at it, remove the name translation from block to raw
device, they are equivalent now (or more accurately we no longer have block
devices).

Submitted by:	Gregory Sutter <gsutter@pobox.com>
2000-01-30 05:09:48 +00:00
Kris Kennaway
2bfea7a2b0 Document OpenSSL directories. 2000-01-30 04:22:11 +00:00
Kris Kennaway
8c52579a78 Add NO_OPENSSL knob to turn off building of openssl
Requested by:   wollman
2000-01-30 04:12:49 +00:00
Kris Kennaway
c6680962bf Add NO_OPENSSL knob to turn off building of openssl
Requested by:	wollman
2000-01-30 04:11:37 +00:00
Yoshinobu Inoue
158316667c Fix kernel build breakage.
ip6_fw.c also needs ipv6firewall options. Sorry for the problem.

Submitted by: Jim Bloom <bloom@acm.org>
2000-01-30 03:52:28 +00:00
Bill Fenner
a88113a830 Merge tcpdump 3.5 2000-01-30 01:05:24 +00:00
Bill Fenner
623fbbc49c This commit was generated by cvs2svn to compensate for changes in r56893,
which included commits to RCS files with non-trunk default branches.
2000-01-30 00:45:58 +00:00
Bill Fenner
b045338223 Virgin import of tcpdump.org tcpdump v3.5 2000-01-30 00:45:58 +00:00