feature: print (wip)

This commit is contained in:
0x35c
2025-06-03 13:05:52 +02:00
parent abb1d1f364
commit d640c95224
7 changed files with 54 additions and 30 deletions

View File

@ -1,3 +1,8 @@
#pragma once
#include "parsing.h"
#include "response.h"
void print_host_results(const char *ip_addr, const struct response *responses,
const struct option_lst *options, double scan_time);
void print_usage(void);

View File

@ -14,6 +14,10 @@ typedef enum {
SCAN_ALL,
} e_scantype;
[[__maybe_unused__]] static const char *types_str[] = {
"NULL", "SYN", "ACK", "FIN", "XMAS", "UDP",
};
struct scan {
const struct host *host;
const char *dest_addr;