stream: fix function style

pull/4691/head
Victor Julien 5 years ago
parent 157d01e87e
commit fee7b97ec0

@ -94,9 +94,9 @@ int StreamTcpReassembleAppLayer (ThreadVars *tv, TcpReassemblyThreadCtx *ra_ctx,
void StreamTcpCreateTestPacket(uint8_t *, uint8_t, uint8_t, uint8_t);
void StreamTcpSetSessionNoReassemblyFlag (TcpSession *, char );
void StreamTcpSetSessionBypassFlag (TcpSession *);
void StreamTcpSetDisableRawReassemblyFlag (TcpSession *ssn, char direction);
void StreamTcpSetSessionNoReassemblyFlag(TcpSession *, char);
void StreamTcpSetSessionBypassFlag(TcpSession *);
void StreamTcpSetDisableRawReassemblyFlag(TcpSession *, char);
void StreamTcpSetOSPolicy(TcpStream *, Packet *);

@ -5857,7 +5857,7 @@ invalid:
* \param ssn TCP Session to set the flag in
* \param direction direction to set the flag in: 0 toserver, 1 toclient
*/
void StreamTcpSetSessionNoReassemblyFlag (TcpSession *ssn, char direction)
void StreamTcpSetSessionNoReassemblyFlag(TcpSession *ssn, char direction)
{
ssn->flags |= STREAMTCP_FLAG_APP_LAYER_DISABLED;
if (direction) {
@ -5873,7 +5873,7 @@ void StreamTcpSetSessionNoReassemblyFlag (TcpSession *ssn, char direction)
* \param ssn TCP Session to set the flag in
* \param direction direction to set the flag in: 0 toserver, 1 toclient
*/
void StreamTcpSetDisableRawReassemblyFlag (TcpSession *ssn, char direction)
void StreamTcpSetDisableRawReassemblyFlag(TcpSession *ssn, char direction)
{
direction ? (ssn->server.flags |= STREAMTCP_STREAM_FLAG_NEW_RAW_DISABLED) :
(ssn->client.flags |= STREAMTCP_STREAM_FLAG_NEW_RAW_DISABLED);
@ -5884,7 +5884,7 @@ void StreamTcpSetDisableRawReassemblyFlag (TcpSession *ssn, char direction)
* \param ssn TCP Session to set the flag in
* \param direction direction to set the flag in: 0 toserver, 1 toclient
*/
void StreamTcpSetSessionBypassFlag (TcpSession *ssn)
void StreamTcpSetSessionBypassFlag(TcpSession *ssn)
{
ssn->flags |= STREAMTCP_FLAG_BYPASS;
}

Loading…
Cancel
Save