match - 2023.2 English

Vitis Libraries

Release Date
2023.2 English
ErrCode match (
    uint32_t total_lnm,
    const uint64_t* msg_buff,
    uint32_t* offt_buff,
    uint16_t* len_buff,
    uint32_t* out_buff

Prepares configurations for RegexEngineKernel , and performs the actual matching process.


total_lnm Total number of lines in current message block
msg_buff Buffer for saving messages line-by-line, pads white-space if not hit the boundary of 64-bit
offt_buff Buffer for saving starting address of each line, aligned with 64-bit
len_buff Buffer for saving length of each message, in byte
out_buff Buffer for saving output results including match flag & corresponding start/end offset address for each capturing group