suricata
app-layer-nfs-tcp.c File Reference
#include "suricata-common.h"
#include "stream.h"
#include "conf.h"
#include "util-unittest.h"
#include "app-layer-detect-proto.h"
#include "app-layer-parser.h"
#include "app-layer-nfs-tcp.h"
#include "rust.h"
Include dependency graph for app-layer-nfs-tcp.c:

Go to the source code of this file.

Macros

#define NFSTCP_DEFAULT_PORT   "2049"
 
#define NFSTCP_MIN_FRAME_LEN   32
 

Enumerations

enum  { NFSTCP_DECODER_EVENT_EMPTY_MESSAGE }
 

Functions

void RegisterNFSTCPParsers (void)
 
void NFSTCPParserRegisterTests (void)
 

Variables

SCEnumCharMap nfs_decoder_event_table []
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

NFS application layer detector and parser.

This implements a application layer for the NFS protocol running on port 2049.

Definition in file app-layer-nfs-tcp.c.

Macro Definition Documentation

◆ NFSTCP_DEFAULT_PORT

#define NFSTCP_DEFAULT_PORT   "2049"

Definition at line 45 of file app-layer-nfs-tcp.c.

◆ NFSTCP_MIN_FRAME_LEN

#define NFSTCP_MIN_FRAME_LEN   32

Definition at line 49 of file app-layer-nfs-tcp.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NFSTCP_DECODER_EVENT_EMPTY_MESSAGE 

Definition at line 60 of file app-layer-nfs-tcp.c.

Function Documentation

◆ NFSTCPParserRegisterTests()

void NFSTCPParserRegisterTests ( void  )

Definition at line 385 of file app-layer-nfs-tcp.c.

◆ RegisterNFSTCPParsers()

void RegisterNFSTCPParsers ( void  )

Definition at line 263 of file app-layer-nfs-tcp.c.

References AppLayerProtoDetectConfProtoDetectionEnabled().

Referenced by AppLayerParserRegisterProtocolParsers().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ nfs_decoder_event_table

SCEnumCharMap nfs_decoder_event_table[]
Initial value:
= {
{ NULL, 0 }
}

Definition at line 64 of file app-layer-nfs-tcp.c.

NFSTCP_DECODER_EVENT_EMPTY_MESSAGE
@ NFSTCP_DECODER_EVENT_EMPTY_MESSAGE
Definition: app-layer-nfs-tcp.c:61