Initializes the frame parse data and parses the frame.
This function initializes and parses the given frame to the requested level. The parsing is performed to the extent that is achievable with the amount of valid data. The resulting parse level may be higher that the requested one, if it can be achieved without additional parsing.
- Parameters
-
[in] | p_frame | Pointer to a frame. |
[in] | valid_data_len | Number of valid bytes in the frame. |
[in] | requested_parse_level | Requested parse level. |
[out] | p_parser_data | Pointer to a parser data that will be initialized. |
- Return values
-
true | The parsing succeeded and requested parse level was achieved. |
false | The parsing failed or requested parse level could not be achieved. |