You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/** Copyright (c) 2008 Victor Julien <victor@inliniac.net>
|
|
|
|
* Copyright (c) 2009 Open Information Security Foundation
|
|
|
|
*
|
|
|
|
* \author Victor Julien <victor@inliniac.net>
|
|
|
|
* \author Gurvinder Singh <gurvindersinghdahiya@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STREAM_TCP_REASSEMBLE_H__
|
|
|
|
#define __STREAM_TCP_REASSEMBLE_H__
|
|
|
|
|
|
|
|
/** Supported OS list and default OS policy is BSD */
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
OS_POLICY_NONE = 0,
|
|
|
|
OS_POLICY_BSD,
|
|
|
|
OS_POLICY_OLD_LINUX,
|
|
|
|
OS_POLICY_LINUX,
|
|
|
|
OS_POLICY_SOLARIS,
|
|
|
|
OS_POLICY_HPUX10,
|
|
|
|
OS_POLICY_HPUX11,
|
|
|
|
OS_POLICY_IRIX,
|
|
|
|
OS_POLICY_MACOS,
|
|
|
|
OS_POLICY_WINDOWS,
|
|
|
|
OS_POLICY_VISTA,
|
|
|
|
OS_POLICY_WINDOWS2K3,
|
|
|
|
OS_POLICY_FIRST,
|
|
|
|
OS_POLICY_LAST
|
|
|
|
};
|
|
|
|
|
|
|
|
#define OS_POLICY_DEFAULT OS_POLICY_BSD
|
|
|
|
|
|
|
|
int StreamTcpReassembleHandleSegment(TcpSession *, TcpStream *, Packet *);
|
|
|
|
int StreamTcpReassembleInit(void);
|
|
|
|
void StreamTcpReassembleFree(void);
|
|
|
|
void StreamTcpReassembleRegisterTests(void);
|
|
|
|
void StreamTcpCreateTestPacket(u_int8_t *, u_int8_t, u_int8_t);
|
|
|
|
|
|
|
|
void StreamL7DataPtrInit(TcpSession *ssn, uint8_t cnt);
|
|
|
|
|
|
|
|
#endif /* __STREAM_TCP_REASSEMBLE_H__ */
|
|
|
|
|