suricata
|
Go to the source code of this file.
Functions | |
void | DNP3FreeObjectPoint (int group, int variation, void *point) |
DNP3PointList * | DNP3PointListAlloc (void) |
Allocate a list for DNP3 points. More... | |
void | DNP3FreeObjectPointList (int group, int variation, DNP3PointList *list) |
Free a DNP3PointList. More... | |
int | DNP3DecodeObject (int group, int variation, const uint8_t **buf, uint32_t *len, uint8_t prefix_code, uint32_t start, uint32_t count, DNP3PointList *points) |
Decode a DNP3 object. More... | |
This file contains the DNP3 object decoders.
Definition in file app-layer-dnp3-objects.c.
int DNP3DecodeObject | ( | int | group, |
int | variation, | ||
const uint8_t ** | buf, | ||
uint32_t * | len, | ||
uint8_t | prefix_code, | ||
uint32_t | start, | ||
uint32_t | count, | ||
DNP3PointList * | points | ||
) |
Decode a DNP3 object.
0 | on success. On failure a positive integer corresponding to a DNP3 application layer event will be returned. |
Definition at line 9109 of file app-layer-dnp3-objects.c.
References DNP3_OBJECT_CODE, group, and variation.
void DNP3FreeObjectPoint | ( | int | group, |
int | variation, | ||
void * | point | ||
) |
Definition at line 8997 of file app-layer-dnp3-objects.c.
References DNP3ObjectG120V8_::certificate, DNP3ObjectG120V10_::certification_data, DNP3ObjectG120V1_::challenge_data, DNP3ObjectG120V5_::challenge_data, DNP3ObjectG120V12_::challenge_data, DNP3ObjectG83V1_::data_objects, DNP3ObjectG120V14_::digital_signature, DNP3_OBJECT_CODE, DNP3ObjectG120V13_::encrypted_update_key_data, group, DNP3ObjectG120V15_::mac, DNP3ObjectG120V2_::mac_value, DNP3ObjectG120V5_::mac_value, DNP3ObjectG120V9_::mac_value, DNP3ObjectG120V11_::master_challenge_data, SCFree, DNP3ObjectG120V10_::user_public_key, variation, and DNP3ObjectG120V6_::wrapped_key_data.
void DNP3FreeObjectPointList | ( | int | group, |
int | variation, | ||
DNP3PointList * | list | ||
) |
Free a DNP3PointList.
Definition at line 58 of file app-layer-dnp3-objects.c.
DNP3PointList* DNP3PointListAlloc | ( | void | ) |
Allocate a list for DNP3 points.
Definition at line 45 of file app-layer-dnp3-objects.c.
References SCCalloc, TAILQ_INIT, and unlikely.