diff --git a/netip.c b/netip.c index c7ccd0c..ecabdc8 100644 --- a/netip.c +++ b/netip.c @@ -87,12 +87,6 @@ static int name_is(name_t *name, const char *label, name_t *domain); static ssize_t name_search(name_t *haystack, name_t *needle); static ipv4_t name_ip(name_t *query, name_t *tld); -typedef struct { - size_t len; - size_t mark; - char data[DGRAM_MAX_SIZE]; -} buf_t; - typedef struct { /* header */ uint16_t id;