Adi Masputra
25814969f3
On synchronous links, typically the following options are set on the command
...
line: novj noccp noaccomp nopcomp. However, even so, the comp STREAMS module
was always pushed on the stream. This behavior has been changed, such that
when those options are set, the stream will be comp-less. This is not
specific to synchronous cases by the way, as it also applies on async
as well.
2000-02-11 03:09:19 +00:00
Adi Masputra
cf73702697
When 'sync' option is present, the ppp_ahdl module isn't plumbed, so
...
it wouldn't make sense to send down an ioctl belonging to it.
2000-01-28 01:51:19 +00:00
Adi Masputra
76ae597b34
Fixed many bugs related to synchronous links under Solaris platform. Mostly
...
they are due to the assumption that ppp_ahdl module is plumbed, which in
fact is not true when 'sync' option is specified.
2000-01-25 03:25:36 +00:00
Adi Masputra
394104504b
Fixed bug related to mux_dev_name being used before initialized, causing
...
core dump on Solaris 2.6 and earlier.
1999-11-13 19:19:17 +00:00
Adi Masputra
cade394e60
Added additional high baud rates for newer serial ports on Sun Sparc machines.
1999-10-29 00:30:26 +00:00
Adi Masputra
883251748f
Added support for dynamic STREAMS re-plumbing in Solaris
1999-10-08 01:09:03 +00:00
Adi Masputra
6a53c48e7f
Added plumbing code (plus interface configuration) for IPv6.
1999-09-30 19:59:06 +00:00
Adi Masputra
cbc5d9b19c
Add IF_UNITSEL ioctl to set ppa since driver is DLPI style 2. Solaris 8 is
...
very picky about this.
1999-09-08 01:11:16 +00:00
Paul Mackerras
a3630de20e
Fix the rcsid's for non-ansi compilers
1999-08-13 06:46:23 +00:00
Paul Mackerras
9678d85169
sync support
1999-08-12 04:24:52 +00:00
Paul Mackerras
7cb4808861
disable the have_route_to stuff on non-solaris systems
1999-06-24 00:18:41 +00:00
Paul Mackerras
e8be982dbc
Move some stuff (printing, logging, [un]locking) into utils.c.
...
Unified the locking code, added relock().
Revert strlcpy to strncpy when filling in utmp structs.
Fixed some bugs in DNS addr option handling.
Set PPPLOGNAME with login name of user.
Moved daemon() logic into detach().
Fix bug where errno was clobbered by seteuid().
Use pty in sys-linux.c when making a ppp unit.
1999-04-12 06:24:53 +00:00
Paul Mackerras
5ba9d88b94
Add pty, notty and record options.
...
Fix stats - problem was differing stats structures between
linux and other platforms.
Fix for removing proxy arp entry on linux.
IPX patches.
1999-03-22 05:55:40 +00:00
Paul Mackerras
ab7cff041f
remove a couple of ansi-C-isms.
...
loop_frame is needed by some sys-*.c.
print connect time and bytes transferred on close;
added get_ppp_stats to sys-*.c.
1999-03-19 04:23:54 +00:00
Paul Mackerras
fdc0c58f5a
changed order of args to strlcpy/strlcat.
...
removed unused note_debug_level.
made some functions static.
1999-03-19 01:29:51 +00:00
Paul Mackerras
ee9e29919a
make establish_ppp and open_ppp_loopback return the correct fd
1999-03-16 22:53:49 +00:00
Paul Mackerras
cb6271cf11
added add_fd, remove_fd, removed wait_loop_output, wait_time.
...
changed syslog -> notice/error/fatal etc.
1999-03-16 02:57:08 +00:00
Paul Mackerras
1fae28ce79
use strlcpy, strlcat, slprintf everywhere
...
add privgroup option
don't allow devname, connector etc. set in privileged place
to be overridden by non-privileged user
use error, warn, etc. functions instead of syslog
fix problem where signals were blocked for too long
1999-03-12 06:07:24 +00:00
Paul Mackerras
baef0b4051
minor changes so it compiles with pre-ansi compiler;
...
move hangup_modem back into main.c
1999-03-08 05:34:46 +00:00
Paul Mackerras
1fff4aeb73
fix silly mistakes
1999-03-08 04:48:48 +00:00
Paul Mackerras
e15bba841e
Ignore routes through our own interface in have_route_to
...
so demand mode works properly.
1999-03-08 01:46:49 +00:00
Paul Mackerras
9a7163be64
add a have_route_to
1999-02-26 10:35:34 +00:00
Paul Mackerras
3fba081c6e
remove typo, get ethernet hw address using arp request
1999-01-20 00:01:53 +00:00
Paul Mackerras
bfa20ccde2
Update to new pppd with new option parsing stuff
1998-11-07 06:59:32 +00:00
Paul Mackerras
b03e0f4481
added get_host_seed
1998-03-25 02:19:31 +00:00
Paul Mackerras
d3c4f4748e
add log level arg for log_packet; set IP mtu in ppp_send_config;
...
use malloc rather than alloca; set IFF_POINTOPOINT if not already
1997-04-30 05:59:25 +00:00
Paul Mackerras
26a7a28f12
sifdefaultroute now gets both local and remote addresses
1997-03-04 03:43:54 +00:00
Paul Mackerras
72f2c4f99a
USLC as well as SNI
1996-09-26 06:23:50 +00:00
Paul Mackerras
224b43b2b4
declare alloca for SINIX
1996-09-14 05:18:24 +00:00
Paul Mackerras
30fcae8f24
more debug; don't set accm, etc. if no lower stream
1996-08-28 06:42:47 +00:00
Paul Mackerras
1e31b54874
syslog stuff back to main.c; removed set_filters
1996-05-27 00:01:53 +00:00
Paul Mackerras
180cae5bdf
add packet filtering support; set netmask before interface addr
1996-04-04 04:07:30 +00:00
Paul Mackerras
410dec1de0
added demand-dial support, fd arg to various functions
1996-01-01 23:06:39 +00:00
Paul Mackerras
dee7290527
old DLPI doesn't have dl_sap_length
1995-12-11 05:18:39 +00:00
Paul Mackerras
a1988ee366
Add prototypes; implement sys_cleanup; ccp_test provides more info;
...
fix xon/xoff flow control settings; retry on putmsg;
mods to support standard SVR4 as well as Solaris 2.
1995-10-27 03:52:56 +00:00
Paul Mackerras
0abc57e8a9
Implemented logwtmp(), lock() and unlock().
1995-08-16 01:40:51 +00:00
Paul Mackerras
d225d79347
save and restore window size settings
1995-08-11 02:36:26 +00:00
Paul Mackerras
cbaae8cca6
Send a HUP to the terminal's controlling process if we get EOF.
...
(This is necessary because the original stream head doesn't see
the M_HANGUP that the driver sends up.)
1995-08-10 06:53:39 +00:00
Paul Mackerras
a065bb9e75
Link the unit under IP immediately after creating it, to reduce the
...
likelihood that IP and ppp will disagree about the numbering of
interface units.
1995-06-23 01:54:11 +00:00
Paul Mackerras
4424e3f9ec
support defaultroute and proxyarp; sundry fixes
1995-06-01 01:31:28 +00:00
Paul Mackerras
9c1252cd8a
Initial revision
1995-05-19 03:08:27 +00:00