Cisco Cisco Firepower Management Center 2000 Guía Del Desarrollador

Descargar
Página de 536
 
2-9
FireSIGHT eStreamer Integration Guide
 
Chapter 2      Understanding the eStreamer Application Protocol
  Error Message Format
The following graphic illustrates the basic error message format. Shaded fields are specific to error 
messages.
The following table describes each field in error code messages.
The following diagram shows an example error message:
In the preceding example, the following information appears:
Byte
0
1
2
3
Bit
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Header Version (1)
Message Type (1)
Message Length
Error Code
Error Text Length
Error Text...
Table 2-4
Error Message Fields 
Field
Data Type
Description
Error Code
int32
A number representing the error. 
Error Text Length
uint16
The number of bytes included in the error text field.
Error Text
variable
The error message. Up to 65,535 bytes.
Byte
0
1
2
3
Bit
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
A
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
B
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1
C
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1
D
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 1 1 1 0 0 1 1 0 1 1 1 1
0 0 1 0 0 0 0 0 0 1 1 1 0 0 1 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 1
0 1 1 0 0 0 1 1 0 1 1 0 0 1 0 1
Letter
Description
A
The first two bytes indicate the standard header value of 
1
. The second two bytes show a value 
of 1, which signifies that the transmission is an error message.
B
This line indicates the amount of message data that follows it. In this example, 15 bytes (in 
binary, 
1111
) of data follow.