Refactored packet API to support struct layer (using union to contain different types of encapsulation headers)
This commit is contained in:
@@ -309,6 +309,7 @@ TEST(CASE, TCP_FAST_OPEN)
|
||||
|
||||
// C2S SYN Packet
|
||||
printf("\n=> Packet Parse: TCP C2S fast open packet\n");
|
||||
memset(&pkt, 0, sizeof(pkt));
|
||||
packet_parse(&pkt, (const char *)tcp_fast_open_pkt, sizeof(tcp_fast_open_pkt));
|
||||
printf("<= Packet Parse: done\n\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user