Update the format of tuple to string output
This commit is contained in:
@@ -17,9 +17,9 @@ extern "C"
|
||||
|
||||
#define EX_DATA_MAX_COUNT 4
|
||||
|
||||
// tuple6 str format: "src_addr:src_port -> dst_addr:dst_port, proto: ip_proto, domain: domain"
|
||||
// tuple6 max len: 46 + 1 + 5 + 4 + 46 + 1 + 5 + 9 + 1 + 10 + 20 = 107
|
||||
#define TUPLE6_STR_SIZE 108
|
||||
// output format: "${src_addr}:${src_port}-${dst_addr}:${dst_port}-${ip_proto}-${domain}"
|
||||
// output max len: (46 + 1 + 5) + 1 + (46 + 1 + 5) + 1 + 1 + 1 + 20 = 129
|
||||
#define TUPLE6_STR_SIZE 130
|
||||
|
||||
struct tcp_half
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user