if_spppsubr.c (32169) | if_spppsubr.c (32350) |
---|---|
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 * $Id: if_spppsubr.c,v 1.29 1997/12/15 20:31:08 eivind Exp $ | 20 * $Id: if_spppsubr.c,v 1.30 1998/01/01 21:27:18 gj Exp $ |
21 */ 22 | 21 */ 22 |
23#include "opt_inet.h" |
|
23#include "opt_ipx.h" 24 25#include <sys/param.h> 26#include <sys/systm.h> 27#include <sys/kernel.h> 28#include <sys/sockio.h> 29#include <sys/socket.h> 30#include <sys/syslog.h> --- 9 unchanged lines hidden (view full) --- 40 41#ifdef INET 42#include <netinet/in.h> 43#include <netinet/in_systm.h> 44#include <netinet/in_var.h> 45#include <netinet/ip.h> 46#include <netinet/tcp.h> 47#include <netinet/if_ether.h> | 24#include "opt_ipx.h" 25 26#include <sys/param.h> 27#include <sys/systm.h> 28#include <sys/kernel.h> 29#include <sys/sockio.h> 30#include <sys/socket.h> 31#include <sys/syslog.h> --- 9 unchanged lines hidden (view full) --- 41 42#ifdef INET 43#include <netinet/in.h> 44#include <netinet/in_systm.h> 45#include <netinet/in_var.h> 46#include <netinet/ip.h> 47#include <netinet/tcp.h> 48#include <netinet/if_ether.h> |
49#else 50#error Huh? sppp without INET? |
|
48#endif 49 50#ifdef IPX 51#include <netipx/ipx.h> 52#include <netipx/ipx_if.h> 53#endif 54 55#ifdef NS --- 4008 unchanged lines hidden --- | 51#endif 52 53#ifdef IPX 54#include <netipx/ipx.h> 55#include <netipx/ipx_if.h> 56#endif 57 58#ifdef NS --- 4008 unchanged lines hidden --- |