mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Porting Matti's branch to git.
No changes.
This commit is contained in:
parent
5d41794034
commit
cb64bb6874
14 changed files with 795 additions and 154 deletions
|
@ -513,9 +513,10 @@ protected:
|
|||
#define NUM_PORT_SPACES 4
|
||||
#define PORT_SPACE_MASK 0x30000
|
||||
|
||||
#define TCP_PORT_MASK 0x10000
|
||||
#define UDP_PORT_MASK 0x20000
|
||||
#define ICMP_PORT_MASK 0x30000
|
||||
#define TCP_PORT_MASK 0x10000
|
||||
#define UDP_PORT_MASK 0x20000
|
||||
#define ICMP_PORT_MASK 0x30000
|
||||
|
||||
|
||||
typedef enum {
|
||||
TRANSPORT_UNKNOWN, TRANSPORT_TCP, TRANSPORT_UDP, TRANSPORT_ICMP,
|
||||
|
@ -537,6 +538,7 @@ public:
|
|||
int IsUDP() const;
|
||||
int IsICMP() const;
|
||||
|
||||
|
||||
TransportProto PortType() const
|
||||
{
|
||||
if ( IsTCP() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue