decode-nsh.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  NshHdr_


#define NSH_NEXT_PROTO_IPV4   0x1
#define NSH_NEXT_PROTO_IPV6   0x2
#define NSH_NEXT_PROTO_NSH   0x4
#define NSH_NEXT_PROTO_MPLS   0x5


struct NshHdr_ __attribute__ ((packed)) NshHdr
 DNP3 application object header. More...
void DecodeNSHRegisterTests (void)


uint16_t ver_flags_len
uint8_t md_type
uint8_t next_protocol
uint32_t spi_si

Detailed Description

Macro Definition Documentation



Definition at line 32 of file decode-nsh.h.



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



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


#define NSH_NEXT_PROTO_IPV4   0x1

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


#define NSH_NEXT_PROTO_IPV6   0x2

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


#define NSH_NEXT_PROTO_MPLS   0x5

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


#define NSH_NEXT_PROTO_NSH   0x4

Definition at line 33 of file decode-nsh.h.



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

Function Documentation

◆ __attribute__()

struct NshHdr_ __attribute__ ( (packed)  )

DNP3 application object header.

Definition at line 1 of file source-erf-file.c.

◆ DecodeNSHRegisterTests()

void DecodeNSHRegisterTests ( void  )

Definition at line 283 of file decode-nsh.c.

References UtRegisterTest().

Here is the call graph for this function:

Variable Documentation

◆ md_type

uint8_t md_type

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

◆ next_protocol

uint8_t next_protocol

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

◆ spi_si

uint32_t spi_si

Definition at line 3 of file decode-nsh.h.

◆ ver_flags_len

uint16_t ver_flags_len

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