add: implement ttl

This commit is contained in:
2025-11-19 08:32:03 -06:00
parent af9758f462
commit 3acc6d084e
3 changed files with 65 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
#include "host.h"
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
@@ -12,7 +13,7 @@ struct setting
bool flood;
bool numeric_only;
size_t timeout;
size_t ttl;
uint8_t ttl;
size_t payload_size;
struct hostenv dest;
};