diff options
author | brian <brian@FreeBSD.org> | 1999-02-06 02:54:47 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-02-06 02:54:47 +0000 |
commit | 4435d086fa4374c8a6b2091bf4acccf59f7db3d0 (patch) | |
tree | d1336bbacc5640555b58b1ebfb93986ba3586343 /usr.sbin/ppp/datalink.h | |
parent | bd140b22548c2a839c934b79c6dab11f47d412d3 (diff) | |
download | FreeBSD-src-4435d086fa4374c8a6b2091bf4acccf59f7db3d0.zip FreeBSD-src-4435d086fa4374c8a6b2091bf4acccf59f7db3d0.tar.gz |
Decouple pap & chap output routines from the corresponding
input routines and take advantage of the new init/continue
interface in libradius. This allows a timely response on
other links in an MP setup while RADIUS requests are in
progress as well as the ability to handle other data from
the peer in parallel. It should also make the future addition
of PAM support trivial.
While I'm in there, validate pap & chap header IDs if
``idcheck'' is enabled (the default) for other FSM packet
types.
NOTE: This involved integrating the generation of chap
challenges and the validation of chap responses
(and commenting what's going on in those routines).
I currently have no way of testing ppps ability
to respond to M$Chap CHALLENGEs correctly, so if
someone could do the honours, it'd be much
appreciated (it *looks* ok!).
Sponsored by: Internet Business Solutions Ltd., Switzerland
Diffstat (limited to 'usr.sbin/ppp/datalink.h')
-rw-r--r-- | usr.sbin/ppp/datalink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/datalink.h b/usr.sbin/ppp/datalink.h index 4080199..e02e264 100644 --- a/usr.sbin/ppp/datalink.h +++ b/usr.sbin/ppp/datalink.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: datalink.h,v 1.4 1998/06/15 19:05:19 brian Exp $ + * $Id: datalink.h,v 1.5 1998/08/07 18:42:48 brian Exp $ */ #define DATALINK_CLOSED (0) @@ -123,7 +123,7 @@ extern struct datalink *iov2datalink(struct bundle *, struct iovec *, int *, int, int); extern int datalink2iov(struct datalink *, struct iovec *, int *, int, pid_t); extern struct datalink *datalink_Destroy(struct datalink *); -extern void datalink_GotAuthname(struct datalink *, const char *, int); +extern void datalink_GotAuthname(struct datalink *, const char *); extern void datalink_Up(struct datalink *, int, int); extern void datalink_Close(struct datalink *, int); extern void datalink_Down(struct datalink *, int); |