#pragma once #include #include #include #include "scan.h" typedef enum { OPEN, CLOSE, FILTERED, UNFILTERED, } e_state; struct response { uint16_t port; e_state state; char *service; }; void tcp_response(struct tcphdr *tcp, const struct scan *data); void udp_response(struct udphdr *udp, const struct scan *data);