@@ -259,7 +259,7 @@ void *thread_hdl(void *temp)
259
259
// Perform payload checks.
260
260
for (int i = 0 ; i < ti -> seq .pl_cnt ; i ++ )
261
261
{
262
- struct payload_opt * pl = & ti -> seq .pls [i ];
262
+ payload_opt_t * pl = & ti -> seq .pls [i ];
263
263
u8 * pl_buff = payloads [i ];
264
264
265
265
if (pl -> exact != NULL )
@@ -361,7 +361,7 @@ void *thread_hdl(void *temp)
361
361
{
362
362
ti -> seq .pl_cnt = 1 ;
363
363
364
- struct payload_opt * pl = & ti -> seq .pls [0 ];
364
+ payload_opt_t * pl = & ti -> seq .pls [0 ];
365
365
pl -> is_static = 1 ;
366
366
367
367
// Calculate lengths.
@@ -523,7 +523,7 @@ void *thread_hdl(void *temp)
523
523
for (int i = 0 ; i < ti -> seq .pl_cnt ; i ++ )
524
524
{
525
525
// Retrieve payload at index.
526
- struct payload_opt * pl = & ti -> seq .pls [i ];
526
+ payload_opt_t * pl = & ti -> seq .pls [i ];
527
527
528
528
// Check if we need to calculate random payload.
529
529
if (pl -> is_static )
@@ -702,7 +702,7 @@ void *thread_hdl(void *temp)
702
702
*
703
703
* @return Void
704
704
**/
705
- void seq_send (const char * interface , struct sequence seq , u16 seq_cnt2 , struct cmd_line cmd )
705
+ void seq_send (const char * interface , sequence_t seq , u16 seq_cnt2 , cmd_line_t cmd )
706
706
{
707
707
// First, let's check if the destination IP is set.
708
708
if (seq .ip .dst_ip == NULL )
@@ -717,7 +717,7 @@ void seq_send(const char *interface, struct sequence seq, u16 seq_cnt2, struct c
717
717
718
718
// Assign correct values to thread info.
719
719
strcpy ((char * )& ti .device , interface );
720
- memcpy (& ti .seq , & seq , sizeof (struct sequence ));
720
+ memcpy (& ti .seq , & seq , sizeof (sequence_t ));
721
721
722
722
// Copy command line.
723
723
ti .cmd = cmd ;
@@ -761,7 +761,7 @@ void seq_send(const char *interface, struct sequence seq, u16 seq_cnt2, struct c
761
761
*
762
762
* @return Void
763
763
*/
764
- void shutdown_prog (struct config * cfg )
764
+ void shutdown_prog (config_t * cfg )
765
765
{
766
766
for (int i = 0 ; i < thread_cnt ; i ++ )
767
767
{
@@ -773,7 +773,7 @@ void shutdown_prog(struct config *cfg)
773
773
// Check if we need to print tracked stats.
774
774
for (int i = 0 ; i < seq_cnt ; i ++ )
775
775
{
776
- struct sequence * seq = & cfg -> seq [i ];
776
+ sequence_t * seq = & cfg -> seq [i ];
777
777
778
778
if (seq -> track )
779
779
{
0 commit comments