X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Ffsm.h;h=87a78d38e8b2b48b1dfcf9c67d819bfc752d1253;hp=2627fbf65864297a517968cc7fca91d1ece6b178;hb=37476164f15a45015310b9d4b197c2d7db1f7f8f;hpb=f53a48eb9d74db3c71938e114b7f489c339bc003 diff --git a/pppd/fsm.h b/pppd/fsm.h index 2627fbf..87a78d3 100644 --- a/pppd/fsm.h +++ b/pppd/fsm.h @@ -39,7 +39,7 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: fsm.h,v 1.9 2002/12/04 23:03:32 paulus Exp $ + * $Id: fsm.h,v 1.10 2004/11/13 02:28:15 paulus Exp $ */ /* @@ -76,6 +76,7 @@ typedef struct fsm { int retransmits; /* Number of retransmissions left */ int maxtermtransmits; /* Maximum Terminate-Request transmissions */ int nakloops; /* Number of nak loops since last ack */ + int rnakloops; /* Number of naks received */ int maxnakloops; /* Maximum number of nak loops tolerated */ struct fsm_callbacks *callbacks; /* Callback routines */ char *term_reason; /* Reason for closing protocol */ @@ -93,7 +94,7 @@ typedef struct fsm_callbacks { int (*ackci) /* ACK our Configuration Information */ __P((fsm *, u_char *, int)); int (*nakci) /* NAK our Configuration Information */ - __P((fsm *, u_char *, int)); + __P((fsm *, u_char *, int, int)); int (*rejci) /* Reject our Configuration Information */ __P((fsm *, u_char *, int)); int (*reqci) /* Request peer's Configuration Information */