FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/src/sniffer.c
/* Add out of order FIN capture */
/* returns 1 for success (end) */
Add out of order FIN capture
returns 1 for success (end)
Add out of order FIN capture returns 1 for success ( end )
static int AddFinCapture(SnifferSession* session, word32 sequence)
{
    if (session->flags.side == WOLFSSL_SERVER_END) {
        if (session->finCapture.cliCounted == 0)
            session->finCapture.cliFinSeq = sequence;
    }
    else {
        if (session->finCapture.srvCounted == 0)
            session->finCapture.srvFinSeq = sequence;
    }
    return 1;
}
static int AddFinCapture ( SnifferSession * session , word32 sequence ) { if ( session -> flags . side == WOLFSSL_SERVER_END ) { if ( session -> finCapture . cliCounted == 0 ) session -> finCapture . cliFinSeq = sequence ; } else { if ( session -> finCapture . srvCounted == 0 ) session -> finCapture . srvFinSeq = sequence ; } return 1 ; }
Add out of order FIN capture
returns 1 for success (end)
Add out of order FIN capture returns 1 for success ( end )