Added service hash for resolving port/protocol numbers to names.

Minor fix to handling of netmasks end /32.
This commit is contained in:
pdw
2002-10-10 14:11:12 +00:00
parent acad1ac4b5
commit c1f017231c
8 changed files with 137 additions and 23 deletions

View File

@@ -12,6 +12,7 @@
#include "hash.h"
typedef struct {
unsigned short int protocol;
unsigned short int src_port;
struct in_addr src;
unsigned short int dst_port;