Files
netch/Redirector/DNSHandler.h
2021-10-04 19:05:29 +08:00

17 lines
316 B
C++

#pragma once
#ifndef DNSHANDLER_H
#define DNSHANDLER_H
#include "Based.h"
#include "SocksHelper.h"
namespace DNSHandler
{
bool Init();
bool IsDNS(PSOCKADDR_IN6 target);
void CreateHandler(ENDPOINT_ID id, PSOCKADDR_IN6 target, const char* packet, int length, PNF_UDP_OPTIONS options);
}
#endif