if_spppsubr.c (50477) | if_spppsubr.c (52633) |
---|---|
1/* 2 * Synchronous PPP/Cisco link level subroutines. 3 * Keepalive protocol implemented in both Cisco and PPP modes. 4 * 5 * Copyright (C) 1994-1996 Cronyx Engineering Ltd. 6 * Author: Serge Vakulenko, <vak@cronyx.ru> 7 * 8 * Heavily revamped to conform to RFC 1661. 9 * Copyright (C) 1997, Joerg Wunsch. 10 * 11 * This software is distributed with NO WARRANTIES, not even the implied 12 * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13 * 14 * Authors grant any other persons or organisations permission to use 15 * or modify this software as long as this message is kept with the software, 16 * all derivative works or modified versions. 17 * 18 * From: Version 2.4, Thu Apr 30 17:17:21 MSD 1997 19 * | 1/* 2 * Synchronous PPP/Cisco link level subroutines. 3 * Keepalive protocol implemented in both Cisco and PPP modes. 4 * 5 * Copyright (C) 1994-1996 Cronyx Engineering Ltd. 6 * Author: Serge Vakulenko, <vak@cronyx.ru> 7 * 8 * Heavily revamped to conform to RFC 1661. 9 * Copyright (C) 1997, Joerg Wunsch. 10 * 11 * This software is distributed with NO WARRANTIES, not even the implied 12 * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13 * 14 * Authors grant any other persons or organisations permission to use 15 * or modify this software as long as this message is kept with the software, 16 * all derivative works or modified versions. 17 * 18 * From: Version 2.4, Thu Apr 30 17:17:21 MSD 1997 19 * |
20 * $FreeBSD: head/sys/net/if_spppsubr.c 50477 1999-08-28 01:08:13Z peter $ | 20 * $FreeBSD: head/sys/net/if_spppsubr.c 52633 1999-10-29 17:57:42Z joerg $ |
21 */ 22 23#include <sys/param.h> 24 25#if defined(__FreeBSD__) && __FreeBSD__ >= 3 26#include "opt_inet.h" 27#include "opt_ipx.h" 28#endif --- 1365 unchanged lines hidden (view full) --- 1394 case STATE_ACK_SENT: 1395 sp->rst_counter[cp->protoidx] = sp->lcp.max_configure; 1396 (cp->scr)(sp); 1397 break; 1398 case STATE_OPENED: 1399 (cp->tld)(sp); 1400 /* fall through */ 1401 case STATE_ACK_RCVD: | 21 */ 22 23#include <sys/param.h> 24 25#if defined(__FreeBSD__) && __FreeBSD__ >= 3 26#include "opt_inet.h" 27#include "opt_ipx.h" 28#endif --- 1365 unchanged lines hidden (view full) --- 1394 case STATE_ACK_SENT: 1395 sp->rst_counter[cp->protoidx] = sp->lcp.max_configure; 1396 (cp->scr)(sp); 1397 break; 1398 case STATE_OPENED: 1399 (cp->tld)(sp); 1400 /* fall through */ 1401 case STATE_ACK_RCVD: |
1402 sppp_cp_change_state(cp, sp, STATE_ACK_SENT); | 1402 sppp_cp_change_state(cp, sp, STATE_REQ_SENT); |
1403 (cp->scr)(sp); 1404 break; 1405 case STATE_CLOSING: 1406 case STATE_STOPPING: 1407 break; 1408 default: 1409 printf(SPP_FMT "%s illegal %s in state %s\n", 1410 SPP_ARGS(ifp), cp->name, --- 2835 unchanged lines hidden --- | 1403 (cp->scr)(sp); 1404 break; 1405 case STATE_CLOSING: 1406 case STATE_STOPPING: 1407 break; 1408 default: 1409 printf(SPP_FMT "%s illegal %s in state %s\n", 1410 SPP_ARGS(ifp), cp->name, --- 2835 unchanged lines hidden --- |