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 /* Stream 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_CCP   0x80fd /* Compression Control Protocol */
 
#define PPP_CBCP   0xc029 /* Callback Control Protocol CBCP */
 
#define PPP_COMP_DGRAM   0x00fd /* Compressed datagram */
 
#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

◆ PPP_APPLE

#define PPP_APPLE   0x0029 /* Appletalk */

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

◆ PPP_APPLECP

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

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

◆ PPP_BRPDU

#define PPP_BRPDU   0x0031 /* Bridging PDU */

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

◆ PPP_CBCP

#define PPP_CBCP   0xc029 /* Callback Control Protocol CBCP */

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

◆ PPP_CCP

#define PPP_CCP   0x80fd /* Compression Control Protocol */

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

◆ PPP_CHAP

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

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

◆ PPP_COMP_DGRAM

#define PPP_COMP_DGRAM   0x00fd /* Compressed datagram */

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

◆ PPP_DECNET

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

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

◆ PPP_DECNETCP

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

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

◆ PPP_HEADER_LEN

#define PPP_HEADER_LEN   4

PPP Packet header length

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

◆ PPP_HELLO

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

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

◆ PPP_IP

#define PPP_IP   0x0021 /* Internet Protocol */

Point to Point Protocol RFC1331 - Supported tyes

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

◆ PPP_IPCP

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

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

◆ PPP_IPV6

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

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

◆ PPP_IPV6CP

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

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

◆ PPP_IPX [1/2]

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

Unsupported PPP types (libpcap source reference)

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

◆ PPP_IPX [2/2]

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

Unsupported PPP types (libpcap source reference)

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

◆ PPP_IPXCP

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

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

◆ PPP_LCP

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

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

◆ PPP_LQM

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

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

◆ PPP_LUXCOM

#define PPP_LUXCOM   0x0231 /* Luxcom */

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

◆ PPP_MPLS_MCAST

#define PPP_MPLS_MCAST   0x0283 /* rfc 3022 */

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

◆ PPP_MPLS_UCAST

#define PPP_MPLS_UCAST   0x0281 /* rfc 3032 */

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

◆ PPP_MPLSCP

#define PPP_MPLSCP   0x8281 /* rfc 3022 */

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

◆ PPP_NS

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

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

◆ PPP_NSCP

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

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

◆ PPP_OSI

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

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

◆ PPP_OSICP

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

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

◆ PPP_PAP

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

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

◆ PPP_SNS

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

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

◆ PPP_STII

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

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

◆ PPP_STIICP

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

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

◆ PPP_VINES

#define PPP_VINES   0x0035 /* Banyan Vines */

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

◆ PPP_VINESCP

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

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

◆ PPP_VJ_COMP

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

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

◆ PPP_VJ_UCOMP

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

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

Function Documentation

◆ DecodePPPRegisterTests()

void DecodePPPRegisterTests ( void  )

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

References UtRegisterTest().

Here is the call graph for this function:

Variable Documentation

◆ address

uint8_t address

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

◆ control

uint8_t control

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

◆ protocol

uint16_t protocol

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