uint8_t response_count;
-private:
uint8_t offloads_pending;
bool disable_inspect;
+private:
void clean();
};
return err ? 0 : sbuf.st_size;
}
-int TextLog_Tell(TextLog* const txt)
-{
- return txt->pos;
-}
-
namespace snort
{
int TextLog_Avail(TextLog* const txt)
SO_PUBLIC bool TextLog_Print(TextLog* const, const char* format, ...);
SO_PUBLIC bool TextLog_Flush(TextLog* const);
-SO_PUBLIC int TextLog_Tell(TextLog* const);
SO_PUBLIC int TextLog_Avail(TextLog* const);
SO_PUBLIC void TextLog_Reset(TextLog* const);
} // namespace snort
static THREAD_LOCAL Packet* last_pdu = nullptr;
-void purge_alerts_callback_ackd(IpsContext* c)
+static void purge_alerts_callback_ackd(IpsContext* c)
{
TcpSession* session = (TcpSession*)c->packet->flow->session;
session->server.reassembler.purge_alerts();
}
-void purge_alerts_callback_ips(IpsContext* c)
+static void purge_alerts_callback_ips(IpsContext* c)
{
TcpSession* session = (TcpSession*)c->packet->flow->session;