christos
564a4c75d0
PR/5414: Ronald Khoo: tcpdump ppp does not respect inbound/outbound qualifiers.
1998-09-03 14:12:36 +00:00
sommerfe
6ee9772e54
Fix PR5898: ppp delays last packet.
1998-08-02 15:09:50 +00:00
thorpej
e552760fbe
Glue in fast forwarding.
1998-07-09 22:30:01 +00:00
sommerfe
3858a1179a
Only run pppasyncstart (sc->sc_start) from the netisr handler.
...
This allows pppoutput to be called from splimp (e.g., when ipflow is
in use.) without requiring pppasyncstart to run at splimp.
This is believed to fix PR5624.
1998-07-08 18:05:48 +00:00
jtk
14119e2944
use #ifdef INET so this compiles again
1998-07-06 13:51:32 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +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
christos
d980c28e1d
From Paul Mackerras: use sl_compress_setup, not sl_compress_init
1997-06-16 17:01:36 +00:00
christos
cf463415ec
Update to ppp-2.3b5
1997-05-17 21:11:59 +00:00
is
f4271c55fd
Made pppoutput() public again on behalf of Martin Husemann (PR 3455).
...
Apparently, the BISDN package uses this function.
1997-04-16 12:54:42 +00:00
christos
e775167e27
Update to ppp-2.3b4; from Paul Mackerras
1997-03-12 20:26:46 +00:00
mycroft
e4bbd86a82
Use splimp() to block interrupts, not splhigh().
1997-03-04 21:40:07 +00:00
christos
a1dcf4b026
backout previous kprintf change
1996-10-13 02:10:01 +00:00
christos
10191279fb
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:59:41 +00:00
cgd
1f29d4b51f
no need for a local implementation of SIOCGIFMTU; delete it.
1996-06-13 21:50:32 +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
thorpej
4edabe2501
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:40:22 +00:00
paulus
fa78064f7c
Make inclusion of the PPP BSD-Compress and Deflate compressors
...
dependent on the PPP_BSDCOMP and PPP_DEFLATE kernel configuration
options, respectively.
1996-03-19 01:00:49 +00:00
paulus
6654fd558b
Added packet filtering, support for "PPP Deflate" packet compression,
...
trivial multicast support, and support for xon/xoff output flow
control to the PPP subsystem. Fixed several bugs, including making
the accumulation and resetting of statistics more consistent. State
for the VJ compressor is now dynamically allocated.
1996-03-15 02:28:00 +00:00
christos
206e75c6f1
Net prototypes
1996-02-13 21:59:53 +00:00
pk
c633b5aae2
wrt. previous change: can't compute `ilen' that early; just do computation
...
separately when logging.
Notes: consider using mbuf pkthdr length field in PPP code.
condider doing packet log after de-compression.
1996-02-07 12:43:41 +00:00
pk
b77eaf2c1c
Init variable before use (PRs 1646 & 2042).
1996-02-07 10:25:58 +00:00
mycroft
813ecfb64a
Remove old workaround for a bug.
1995-12-27 06:30:38 +00:00
mycroft
c594af848d
Add some missing statistics. From Thorsten Lockert.
1995-10-05 05:55:09 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
paulus
7f06ab8b0b
Latest version of PPP stuff, with packet compression and other
...
improvements. The PPP kernel code is now split into if_ppp.c,
containing generic PPP support, and ppp_tty.c, which specifically
supports PPP on async tty devices (as a line discipline). This is
so that other devices can be supported without making them look
like ttys.
1995-07-04 06:28:17 +00:00
cgd
e363664703
fixed sized types, where appropriate. when casting pointers to
...
integers to do math on them, cast to long. ioctl commands are
u_longs.
1995-03-08 02:56:49 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
deraadt
fb42f63898
bug 367. paulus says the fix is right & critical.
1994-07-27 09:05:33 +00:00
paulus
ce6d680c66
The ppp interface now retries the mbuf allocation when it receives
...
a character and it doesn't already have enough space allocated.
It still needs cluster mbufs to be able to decompress VJ-compressed
packets. It drops packets if it can't allocate mbufs rather than
taking the interface down.
1994-07-20 01:49:20 +00:00
paulus
09264a28ec
Due to popular revulsion, the ppp interface now drops packets if
1994-07-20 01:40:11 +00:00
paulus
e7ba8f6b5a
If we can't get mbuf clusters, take the ppp interface down instead
...
of writing beyond the end of ordinary mbufs.
1994-07-18 23:45:33 +00:00
deraadt
5044aff065
bug #319 . fix from <alasdair@wildcat.demon.co.uk>
1994-07-03 06:44:03 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
paulus
45c7c2fc56
Some restructuring of the PPP packet input procedure to make it easier
...
to implement PPP over sync lines and PPP compression protocols.
1994-06-20 00:35:39 +00:00
paulus
aa01a834a4
some minor splx-type bug fixes from christos@deshaw.com.
1994-06-14 03:09:23 +00:00
paulus
5d72d095e8
check for escaped char before checking for escape char
...
so if peer escapes 0x5d we interpret it correctly
1994-05-29 23:44:23 +00:00
cgd
f42a80c7ea
MIN -> min, MAX -> max
1994-05-24 02:33:03 +00:00
mycroft
07b4f2ab54
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:02:48 +00:00
paulus
3f7fd64c45
Version from ppp-2.1 release;
...
this version has been restructured to make more of the code usable
with sync serial drivers
1994-05-08 12:33:49 +00:00
deraadt
ad054dea7e
PPP_HEADER_LEN -> PPP_HDRLEN
1994-01-25 05:56:06 +00:00
cgd
61bcdb266e
include <machine/cpu.h> rather than <machine/mtpr.h> -- if the latter
...
exists at all, it's supposed to be included by <machine/cpu.h>
1993-12-23 07:36:06 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
paulus
5fda6c1974
Removed test (CCOUNT(&sc->sc_ttyp->t_outq) == 0) for whether
...
to call pppstart or not: now we call pppstart for every packet,
which should aid recovery from lost transmitter interrupts.
Also a fix for 386BSD/FreeBSD which doesn't affect NetBSD.
1993-11-04 03:45:23 +00:00
paulus
3ecb88ccbc
Fixed bug in if_ppp.c so that received IP packets are passed correctly to BPF.
1993-09-02 12:10:59 +00:00
paulus
d71061b357
Modified if_ppp.c and if_ppp.h to add priority queueing for "interactive"
...
traffic (done in a similar fashion to if_sl.c), and BPF support.
1993-08-31 00:05:27 +00:00
deraadt
3604916e13
ppp from paul mackerras
1993-08-14 06:29:28 +00:00