suricata
decode-ppp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PPPHdr_
 

Macros

#define PPP_IP   0x0021 /* Internet Protocol */
 
#define PPP_IPV6   0x0057 /* Internet Protocol version 6 */
 
#define PPP_VJ_UCOMP   0x002f /* VJ uncompressed TCP/IP */
 
#define PPP_IPX   0x002b /* Novell IPX Protocol */
 
#define PPP_VJ_COMP   0x002d /* VJ compressed TCP/IP */
 
#define PPP_IPX   0x002b /* Novell IPX Protocol */
 
#define PPP_OSI   0x0023 /* OSI Network Layer */
 
#define PPP_NS   0x0025 /* Xerox NS IDP */
 
#define PPP_DECNET   0x0027 /* DECnet Phase IV */
 
#define PPP_APPLE   0x0029 /* Appletalk */
 
#define PPP_BRPDU   0x0031 /* Bridging PDU */
 
#define PPP_STII   0x0033 /* Stream Protocol (ST-II) */
 
#define PPP_VINES   0x0035 /* Banyan Vines */
 
#define PPP_HELLO   0x0201 /* 802.1d Hello Packets */
 
#define PPP_LUXCOM   0x0231 /* Luxcom */
 
#define PPP_SNS   0x0233 /* Sigma Network Systems */
 
#define PPP_MPLS_UCAST   0x0281 /* rfc 3032 */
 
#define PPP_MPLS_MCAST   0x0283 /* rfc 3022 */
 
#define PPP_IPCP   0x8021 /* IP Control Protocol */
 
#define PPP_OSICP   0x8023 /* OSI Network Layer Control Protocol */
 
#define PPP_NSCP   0x8025 /* Xerox NS IDP Control Protocol */
 
#define PPP_DECNETCP   0x8027 /* DECnet Control Protocol */
 
#define PPP_APPLECP   0x8029 /* Appletalk Control Protocol */
 
#define PPP_IPXCP   0x802b /* Novell IPX Control Protocol */
 
#define PPP_STIICP   0x8033 /* Strean Protocol Control Protocol */
 
#define PPP_VINESCP   0x8035 /* Banyan Vines Control Protocol */
 
#define PPP_IPV6CP   0x8057 /* IPv6 Control Protocol */
 
#define PPP_MPLSCP   0x8281 /* rfc 3022 */
 
#define PPP_LCP   0xc021 /* Link Control Protocol */
 
#define PPP_PAP   0xc023 /* Password Authentication Protocol */
 
#define PPP_LQM   0xc025 /* Link Quality Monitoring */
 
#define PPP_CHAP   0xc223 /* Challenge Handshake Authentication Protocol */
 
#define PPP_HEADER_LEN   4
 

Functions

struct PPPHdr_ __attribute__ ((__packed__)) PPPHdr
 DNP3 link header. More...
 
void DecodePPPRegisterTests (void)
 

Variables

uint8_t address
 
uint8_t control
 
uint16_t protocol
 

Detailed Description

Author
Breno Silva Pinto breno.nosp@m..sil.nosp@m.va@gm.nosp@m.ail..nosp@m.com

Definition in file decode-ppp.h.

Macro Definition Documentation

#define PPP_APPLE   0x0029 /* Appletalk */

Definition at line 39 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_APPLECP   0x8029 /* Appletalk Control Protocol */

Definition at line 52 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_BRPDU   0x0031 /* Bridging PDU */

Definition at line 40 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_CHAP   0xc223 /* Challenge Handshake Authentication Protocol */

Definition at line 61 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_DECNET   0x0027 /* DECnet Phase IV */

Definition at line 38 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_DECNETCP   0x8027 /* DECnet Control Protocol */

Definition at line 51 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_HEADER_LEN   4

PPP Packet header length

Definition at line 71 of file decode-ppp.h.

Referenced by DecodePPP().

#define PPP_HELLO   0x0201 /* 802.1d Hello Packets */

Definition at line 43 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_IP   0x0021 /* Internet Protocol */

Point to Point Protocol RFC1331 - Supported tyes

Definition at line 28 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_IPCP   0x8021 /* IP Control Protocol */

Definition at line 48 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_IPV6   0x0057 /* Internet Protocol version 6 */

Definition at line 29 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_IPV6CP   0x8057 /* IPv6 Control Protocol */

Definition at line 56 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_IPX   0x002b /* Novell IPX Protocol */

Unsupported PPP types (libpcap source reference)

Definition at line 35 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_IPX   0x002b /* Novell IPX Protocol */

Unsupported PPP types (libpcap source reference)

Definition at line 35 of file decode-ppp.h.

#define PPP_IPXCP   0x802b /* Novell IPX Control Protocol */

Definition at line 53 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_LCP   0xc021 /* Link Control Protocol */

Definition at line 58 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_LQM   0xc025 /* Link Quality Monitoring */

Definition at line 60 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_LUXCOM   0x0231 /* Luxcom */

Definition at line 44 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_MPLS_MCAST   0x0283 /* rfc 3022 */

Definition at line 47 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_MPLS_UCAST   0x0281 /* rfc 3032 */

Definition at line 46 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_MPLSCP   0x8281 /* rfc 3022 */

Definition at line 57 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_NS   0x0025 /* Xerox NS IDP */

Definition at line 37 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_NSCP   0x8025 /* Xerox NS IDP Control Protocol */

Definition at line 50 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_OSI   0x0023 /* OSI Network Layer */

Definition at line 36 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_OSICP   0x8023 /* OSI Network Layer Control Protocol */

Definition at line 49 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_PAP   0xc023 /* Password Authentication Protocol */

Definition at line 59 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_SNS   0x0233 /* Sigma Network Systems */

Definition at line 45 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_STII   0x0033 /* Stream Protocol (ST-II) */

Definition at line 41 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_STIICP   0x8033 /* Strean Protocol Control Protocol */

Definition at line 54 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_VINES   0x0035 /* Banyan Vines */

Definition at line 42 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_VINESCP   0x8035 /* Banyan Vines Control Protocol */

Definition at line 55 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_VJ_COMP   0x002d /* VJ compressed TCP/IP */

Definition at line 34 of file decode-ppp.h.

Referenced by DecodePPP(), and DecodePPPOESession().

#define PPP_VJ_UCOMP   0x002f /* VJ uncompressed TCP/IP */

Definition at line 30 of file decode-ppp.h.

Referenced by DecodeIPV4(), DecodePPP(), and DecodePPPOESession().

Function Documentation

void DecodePPPRegisterTests ( void  )

Definition at line 311 of file decode-ppp.c.

References UtRegisterTest().

Here is the call graph for this function:

Variable Documentation

uint8_t control

Definition at line 313 of file decode-ppp.h.

uint16_t protocol

Definition at line 314 of file decode-ppp.h.