diff options
author | Brian Somers <brian@FreeBSD.org> | 2001-06-18 15:00:22 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2001-06-18 15:00:22 +0000 |
commit | 6cf6ee7625dab3f8ea6a21937c92473a2b49031c (patch) | |
tree | b58f089492e9f96c30634a8674bc53fab1f5a1eb /usr.sbin/ppp/fsm.h | |
parent | c8b9fb53a1353fb6bf7c5fe8e8f590a15511a898 (diff) | |
download | src-test2-6cf6ee7625dab3f8ea6a21937c92473a2b49031c.tar.gz src-test2-6cf6ee7625dab3f8ea6a21937c92473a2b49031c.zip |
Add support for stateful MPPE (microsoft encryption) providing
encryption compatibility with Windows 2000. Stateful encryption
uses less CPU but is bad on lossy transports.
The ``set mppe'' command has been expanded. If it's used with any
arguments, ppp will insist on encryption, closing LCP if the other
end refuses.
Unfortunately, Microsoft have abused the CCP reset request so that
receiving a reset request does not result in a reset ack when using
MPPE...
Sponsored by: Monzoon Networks AG and FreeBSD Services Limited
Notes
Notes:
svn path=/head/; revision=78411
Diffstat (limited to 'usr.sbin/ppp/fsm.h')
-rw-r--r-- | usr.sbin/ppp/fsm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/fsm.h b/usr.sbin/ppp/fsm.h index e0a69eac950d..126c9b78dd80 100644 --- a/usr.sbin/ppp/fsm.h +++ b/usr.sbin/ppp/fsm.h @@ -81,7 +81,7 @@ struct fsm_callbacks { void (*SendTerminateAck) (struct fsm *, u_char); /* Send Term ACK please */ void (*DecodeConfig) (struct fsm *, u_char *, int, int, struct fsm_decode *); /* Deal with incoming data */ - void (*RecvResetReq) (struct fsm *fp); /* Reset output */ + int (*RecvResetReq) (struct fsm *fp); /* Reset output */ void (*RecvResetAck) (struct fsm *fp, u_char); /* Reset input */ }; @@ -174,7 +174,7 @@ extern void fsm_Up(struct fsm *); extern void fsm_Down(struct fsm *); extern void fsm_Input(struct fsm *, struct mbuf *); extern void fsm_Close(struct fsm *); -extern void fsm_NullRecvResetReq(struct fsm *); +extern int fsm_NullRecvResetReq(struct fsm *); extern void fsm_NullRecvResetAck(struct fsm *, u_char); extern void fsm_Reopen(struct fsm *); extern void fsm2initial(struct fsm *); |