mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Move analyzer-to-port mapping out of analyzer::Manager into packet analyzers
This commit is contained in:
parent
d6c74373c7
commit
9e1f6f95aa
11 changed files with 154 additions and 89 deletions
|
@ -5,9 +5,11 @@
|
|||
#include "zeek/zeek-config.h"
|
||||
|
||||
// Define first.
|
||||
typedef enum {
|
||||
enum TransportProto {
|
||||
TRANSPORT_UNKNOWN, TRANSPORT_TCP, TRANSPORT_UDP, TRANSPORT_ICMP,
|
||||
} TransportProto;
|
||||
};
|
||||
|
||||
extern const char* transport_proto_string(TransportProto proto);
|
||||
|
||||
typedef enum { IPv4, IPv6 } IPFamily;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue