mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This enables locating the headers within the install-tree using the dirs provided by `zeek-config --include_dir`. To enable locating these headers within the build-tree, this change also creates a 'build/src/include/zeek -> ..' symlink.
34 lines
922 B
C++
34 lines
922 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#pragma once
|
|
|
|
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
|
|
|
#include "zeek/analyzer/protocol/gssapi/events.bif.h"
|
|
#include "zeek/analyzer/protocol/gssapi/gssapi_pac.h"
|
|
|
|
namespace zeek::analyzer::gssapi {
|
|
|
|
class GSSAPI_Analyzer final : public analyzer::tcp::TCP_ApplicationAnalyzer {
|
|
|
|
public:
|
|
explicit GSSAPI_Analyzer(Connection* conn);
|
|
~GSSAPI_Analyzer() override;
|
|
|
|
// Overriden from Analyzer.
|
|
void Done() override;
|
|
|
|
void DeliverStream(int len, const u_char* data, bool orig) override;
|
|
void Undelivered(uint64_t seq, int len, bool orig) override;
|
|
|
|
// Overriden from analyzer::tcp::TCP_ApplicationAnalyzer.
|
|
void EndpointEOF(bool is_orig) override;
|
|
|
|
static analyzer::Analyzer* Instantiate(Connection* conn)
|
|
{ return new GSSAPI_Analyzer(conn); }
|
|
|
|
protected:
|
|
binpac::GSSAPI::GSSAPI_Conn* interp;
|
|
};
|
|
|
|
} // namespace zeek::analyzer::gssapi
|