flow: fix typo in function name

FlowForceReassemblyNeedReassmbly -> FlowForceReassemblyNeedReassembly
pull/692/head
Victor Julien 13 years ago
parent 3b3dce8328
commit 85b1a8ff26

@ -229,7 +229,7 @@ static int FlowManagerFlowTimedOut(Flow *f, struct timeval *ts) {
int server = 0, client = 0; int server = 0, client = 0;
if (!(f->flags & FLOW_TIMEOUT_REASSEMBLY_DONE) && if (!(f->flags & FLOW_TIMEOUT_REASSEMBLY_DONE) &&
FlowForceReassemblyNeedReassmbly(f, &server, &client) == 1) { FlowForceReassemblyNeedReassembly(f, &server, &client) == 1) {
FlowForceReassemblyForFlowV2(f, server, client); FlowForceReassemblyForFlowV2(f, server, client);
return 0; return 0;
} }

@ -280,7 +280,7 @@ static inline Packet *FlowForceReassemblyPseudoPacketGet(int direction,
} }
/** /**
* \brief Check if a flow needs forced reassembly * \brief Check if a flow needs forced reassembly, or any other processing
* *
* \param f *LOCKED* flow * \param f *LOCKED* flow
* \param server ptr to int that should be set to 1 or 2 if we return 1 * \param server ptr to int that should be set to 1 or 2 if we return 1
@ -289,7 +289,7 @@ static inline Packet *FlowForceReassemblyPseudoPacketGet(int direction,
* \retval 0 no * \retval 0 no
* \retval 1 yes * \retval 1 yes
*/ */
int FlowForceReassemblyNeedReassmbly(Flow *f, int *server, int *client) { int FlowForceReassemblyNeedReassembly(Flow *f, int *server, int *client) {
TcpSession *ssn; TcpSession *ssn;
if (f == NULL) { if (f == NULL) {
@ -545,7 +545,7 @@ static inline void FlowForceReassemblyForHash(void)
continue; continue;
} }
(void)FlowForceReassemblyNeedReassmbly(f, &server_ok, &client_ok); (void)FlowForceReassemblyNeedReassembly(f, &server_ok, &client_ok);
/* ah ah! We have some unattended toserver segments */ /* ah ah! We have some unattended toserver segments */
if (client_ok == STREAM_HAS_UNPROCESSED_SEGMENTS_NEED_REASSEMBLY) { if (client_ok == STREAM_HAS_UNPROCESSED_SEGMENTS_NEED_REASSEMBLY) {

@ -25,7 +25,7 @@
#define __FLOW_TIMEOUT_H__ #define __FLOW_TIMEOUT_H__
int FlowForceReassemblyForFlowV2(Flow *f, int server, int client); int FlowForceReassemblyForFlowV2(Flow *f, int server, int client);
int FlowForceReassemblyNeedReassmbly(Flow *f, int *server, int *client); int FlowForceReassemblyNeedReassembly(Flow *f, int *server, int *client);
void FlowForceReassembly(void); void FlowForceReassembly(void);
void FlowForceReassemblySetup(void); void FlowForceReassemblySetup(void);

Loading…
Cancel
Save