masscan-mark-ii/src/proto-dns.h

14 lines
359 B
C
Raw Normal View History

2024-02-26 08:35:54 -08:00
#ifndef PROTO_DNS_H
#define PROTO_DNS_H
#include <time.h>
#include <stdint.h>
struct PreprocessedInfo;
struct Output;
unsigned handle_dns(struct Output *out, time_t timestamp,
const unsigned char *px, unsigned length, struct PreprocessedInfo *parsed, uint64_t entropy);
unsigned dns_set_cookie(unsigned char *px, size_t length, uint64_t seqno);
#endif