freebsd-skq/sys/net
ache 50e6783510 Make user-level PPP on-demand with dynamic IP actually work.
Story so fr:
1) PPP on-demand with static IP works.
2) PPP on-demand with dynamic IP says "Host is down" on any IP request
The problem is that tun driver check its READY state by *first* ifconfig address.
i.e.:
set ifaddr <addr> <addr2>
works (static IP) and
set ifaddr 0 <addr2>
not works (dynamic IP) because first address is equal 0.
Since tun is always POINTOPOINT interface, dst address is more meaningfull.
I change checking to second (dst) address in READY test.
PPP on-demand finally works.
1996-03-08 11:07:07 +00:00
..
bpf_compat.h Make idempotent. 1994-08-21 05:11:48 +00:00
bpf_filter.c Completed function declarations and/or added prototypes. 1995-12-02 19:38:06 +00:00
bpf.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bpf.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bpfdesc.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bsd_comp.c Remove the old pppcompress files (btw: these look net-2 derived) 1995-10-31 20:51:24 +00:00
fddi.h The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_arp.h #include <socket.h> -> <sys/socket.h> 1994-11-16 02:16:18 +00:00
if_disc.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_dl.h Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
if_ethersubr.c Use new printf features rather than local kludges. 1996-01-24 21:12:23 +00:00
if_fddisubr.c Reviewed by: julian and jhay@mikom.csir.co.za 1995-10-26 20:31:59 +00:00
if_llc.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_loop.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_ppp.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_ppp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_pppvar.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_sl.c Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_slvar.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_sppp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_spppsubr.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
if_tun.c Make tundebug sysctl writable. 1996-02-09 09:23:56 +00:00
if_tun.h Make user-level PPP on-demand with dynamic IP actually work. 1996-03-08 11:07:07 +00:00
if_types.h Fixed comment - IFT_P80 is 80mbit. 1995-02-25 15:57:55 +00:00
if.c If a slow input queue was defined by the driver, initialize it. 1996-02-08 21:34:56 +00:00
if.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
netisr.h Add a simplistic netisr register routine - I need this now for ppp-2.2. 1995-10-31 19:07:53 +00:00
ppp_comp.h Merge/update ppp-2.2 kernel parts onto mainline. 1995-10-31 20:24:14 +00:00
ppp_defs.h Merge/update ppp-2.2 kernel parts onto mainline. 1995-10-31 20:24:14 +00:00
ppp_tty.c Use new printf features rather than local kludges. 1996-01-24 21:12:23 +00:00
radix.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
radix.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
raw_cb.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
raw_cb.h Uniformized pr_ctlinput protosw functions. The third arg is now `void 1995-12-16 02:14:44 +00:00
raw_usrreq.c Uniformized pr_ctlinput protosw functions. The third arg is now `void 1995-12-16 02:14:44 +00:00
route.c Add more options into the conf/options and i386/conf/options.i386 files 1996-03-02 18:24:13 +00:00
route.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
rtsock.c All net.* sysctl converted now. 1995-11-16 19:00:27 +00:00
slcompress.c slcompress: split one of the functions into two parts, to allow use by both 1995-10-31 19:22:32 +00:00
slcompress.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
slip.h Fix misplaced idempotency #endif. 1995-04-29 15:24:00 +00:00