home *** CD-ROM | disk | FTP | other *** search
/ Hackers Toolkit v2.0 / Hackers_Toolkit_v2.0.iso / HTML / archive / Unix / libpcap-0_4_tar.tar / libpcap-0_4_tar / libpcap-0.4 / ppp.h < prev    next >
Text File  |  1996-12-29  |  2KB  |  51 lines

  1. /* @(#) $Header: ppp.h,v 1.7 95/05/04 17:52:46 mccanne Exp $ (LBL) */
  2. /*
  3.  * Point to Point Protocol (PPP) RFC1331
  4.  *
  5.  * Copyright 1989 by Carnegie Mellon.
  6.  *
  7.  * Permission to use, copy, modify, and distribute this program for any
  8.  * purpose and without fee is hereby granted, provided that this copyright
  9.  * and permission notice appear on all copies and supporting documentation,
  10.  * the name of Carnegie Mellon not be used in advertising or publicity
  11.  * pertaining to distribution of the program without specific prior
  12.  * permission, and notice be given in supporting documentation that copying
  13.  * and distribution is by permission of Carnegie Mellon and Stanford
  14.  * University.  Carnegie Mellon makes no representations about the
  15.  * suitability of this software for any purpose.  It is provided "as is"
  16.  * without express or implied warranty.
  17.  */
  18. #define PPP_ADDRESS    0xff    /* The address byte value */
  19. #define PPP_CONTROL    0x03    /* The control byte value */
  20.  
  21. /* Protocol numbers */
  22. #define PPP_IP        0x0021    /* Raw IP */
  23. #define PPP_OSI        0x0023    /* OSI Network Layer */
  24. #define PPP_NS        0x0025    /* Xerox NS IDP */
  25. #define PPP_DECNET    0x0027    /* DECnet Phase IV */
  26. #define PPP_APPLE    0x0029    /* Appletalk */
  27. #define PPP_IPX        0x002b    /* Novell IPX */
  28. #define PPP_VJC        0x002d    /* Van Jacobson Compressed TCP/IP */
  29. #define PPP_VJNC    0x002f    /* Van Jacobson Uncompressed TCP/IP */
  30. #define PPP_BRPDU    0x0031    /* Bridging PDU */
  31. #define PPP_STII    0x0033    /* Stream Protocol (ST-II) */
  32. #define PPP_VINES    0x0035    /* Banyan Vines */
  33.  
  34. #define PPP_HELLO    0x0201    /* 802.1d Hello Packets */
  35. #define PPP_LUXCOM    0x0231    /* Luxcom */
  36. #define PPP_SNS        0x0233    /* Sigma Network Systems */
  37.  
  38. #define PPP_IPCP    0x8021    /* IP Control Protocol */
  39. #define PPP_OSICP    0x8023    /* OSI Network Layer Control Protocol */
  40. #define PPP_NSCP    0x8025    /* Xerox NS IDP Control Protocol */
  41. #define PPP_DECNETCP    0x8027    /* DECnet Control Protocol */
  42. #define PPP_APPLECP    0x8029    /* Appletalk Control Protocol */
  43. #define PPP_IPXCP    0x802b    /* Novell IPX Control Protocol */
  44. #define PPP_STIICP    0x8033    /* Strean Protocol Control Protocol */
  45. #define PPP_VINESCP    0x8035    /* Banyan Vines Control Protocol */
  46.  
  47. #define PPP_LCP        0xc021    /* Link Control Protocol */
  48. #define PPP_PAP        0xc023    /* Password Authentication Protocol */
  49. #define PPP_LQM        0xc025    /* Link Quality Monitoring */
  50. #define PPP_CHAP    0xc223    /* Challenge Handshake Authentication Protocol */
  51.