Commit Graph

350 Commits

Author SHA1 Message Date
thorpej
9ab51d2224 Make this compile again. 1998-07-07 03:22:03 +00:00
jtk
14119e2944 use #ifdef INET so this compiles again 1998-07-06 13:51:32 +00:00
jonathan
b37021c1a1 defopt NATM. 1998-07-05 22:48:05 +00:00
jonathan
011f2bda08 defopt NS, NSIP. 1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4 defopt ISO TPIP. 1998-07-05 04:37:35 +00:00
jonathan
fe484937cf defopt LLC 1998-07-05 03:14:41 +00:00
jonathan
8db0fcdbf7 defopt CCITT. 1998-07-05 02:12:22 +00:00
jonathan
3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
thorpej
816e12eac2 defopt COMPAT_SVR4 1998-06-26 00:07:06 +00:00
thorpej
c466f11939 defopt COMPAT_LINUX 1998-06-25 23:18:23 +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
kleink
3ecb81dc87 Sync the symbol used for multiple inclusion protection with the canonical
location of this header.
1998-05-29 13:37:39 +00:00
matt
b2c24dbcbe Add an if_drain to the ifnet structure (call when the system is low
on mbufs).  Add code to m_reclaim to call if_drain in each ifnet
that has one set.  Remove register from declarations.
1998-05-22 17:47:21 +00:00
kml
051be14326 Correct copyright date. 1998-05-17 16:46:06 +00:00
thorpej
ff4919623e Add missing RCS ID. 1998-05-16 00:49:45 +00:00
kml
e72782a137 Driver for Essential Communications' RoadRunner HIPPI (800 Mb/sec network)
card.  With some modification, this could probably also work for their
Gigabit Ethernet card based on the same chipset...
1998-05-14 00:04:57 +00:00
drochner
63cecf5737 This comment is not true. 1998-05-06 18:23:34 +00:00
bouyer
de584a5245 Make ATM_LLC_SETTYPE do the rigth thing: swap byte on LE machines,
don't swap on BE machines. The previous revision required a ntohs()
in atm_output(), to work on LE machines. This was broken for BE machines.
1998-05-06 10:16:04 +00:00
christos
f648c916d5 Add IPX bits. 1998-05-04 12:54:22 +00:00
thorpej
5e7c21d896 Need <sys/socket.h> to stand alone. 1998-05-02 21:19:03 +00:00
christos
0f39feb773 Merge changes from pppd-2.3.4; adds ppp-deflate-draft stuff and updates
zlib. Maybe we can merge our other copy of zlib with this one now and
avoid having two copies?
1998-05-02 14:34:24 +00:00
thorpej
4c5d87fd09 Squash a typo. 1998-05-01 03:58:55 +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
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
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
thorpej
93b075a492 Oops, we depend on <sys/queue.h>. 1998-04-29 17:49:58 +00:00
kml
8cdafd0efb Add generic route timeout functionality; used by path MTU discovery code 1998-04-29 03:41:49 +00:00
mrg
816ca00ce0 remove some register. 1998-04-26 06:17:20 +00:00
bouyer
287667ba9a Fix my previous commit: the ATM_LLC_* macros do the ntoh/hton conversion,
so the bug was not a missing ntohs in atm_input(), it was an extraneous
htons in atm_output().
1998-04-15 13:01:51 +00:00
bouyer
3d92d64171 Add a missing ntohs. With this change I got ip over atm (vpi/vci) working
between 2 PCs.
1998-03-24 18:48:59 +00:00
kleink
56ddd74138 register -> register int 1998-03-24 12:57:15 +00:00
enami
7972ef1160 Add missing comma. 1998-03-23 13:08:56 +00:00
fair
782eb42847 add the ability to run SLIP with CLOCAL set, per PR#3586 1998-03-23 04:41:16 +00:00
mrg
45159fa631 convert pfil(9) in and out lists from <sys/queue.h> LISTs to TAILQs, and
change pfil_add_hook to put output filters at the tail of the queue,
while continuing to place input filters at the head of the queue.  update
the two users of these functions, and document these changes.

fixes PR#4593.
1998-03-19 15:45:30 +00:00
tv
c70676bb18 PR #2736: wrap the softc in #ifdef _KERNEL so userland can include this
file to get at the ioctl values without barfing on the softc
1998-03-18 21:21:48 +00:00
fvdl
7ba6a2daac Remove extraneous files from Lite2 merge. 1998-03-01 13:45:28 +00:00
ross
c6b14e94ad Add new type number received from IANA. Also, note the new home of
the IANA master list, post RFC1573.
1998-03-01 07:13:41 +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
perry
41c3fea850 add multiple inclusion protection (and cleanup). 1998-02-09 17:43:44 +00:00
ross
52a1c5fced And yet more numbers, e.g., CATV upstream and downstream types. 1998-02-04 01:00:23 +00:00
ross
124b287686 Add the last few years of IANA assignments, e.g., Gb ethernet. 1998-02-03 04:20:05 +00:00
jtc
7cea5e6bbe Fix tipo 1998-01-30 08:37:41 +00:00
thorpej
9bba708a7a Add 1000baseFX and 10baseT/STP Ethernet media types. 1998-01-30 01:24:40 +00:00
thorpej
4c54445530 Use offsetof() from libkern.h 1998-01-28 02:35:10 +00:00
perry
d38a11e380 Fix imported RCS keyword slightly 1998-01-05 05:08:43 +00:00
christos
badc0e40aa PR/2733: Bill Sommerfeld: route change command can crash system. Actually
the case mentioned in the PR was fixed as part of PR/2582. There was a similar
case though that was not handled as part of my initial fix, which was fixed
in FreeBSD. I applied the remaining part from FreeBSD and the code matches
now the FreeBSD respective version. [this probably should be pulled up for 1.3]
1997-12-10 00:47:57 +00:00
thorpej
851be78801 Start the watchdog timer in stripopen(), and make sure it's cancelled in
stripclose().  In strip_watchdog(), make abort if the line has been closed.

This fixes kern/4470 (Wolfgang Rupprecht), which was a bad pointer passed
to b_to_q() from strip_proberadio() called via strip_watchdog(); the tty
hadn't yet been attached to the strip interface.
1997-11-20 08:03:06 +00:00