remove ded code

add code for proper DNSc search
pull/354/head
Rick V 5 years ago
parent bc4f049af1
commit 0de253065e
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465

@ -226,6 +226,11 @@ extern "C"
int
tuntap_sys_set_ipv4(struct device *, t_tun_in_addr *, uint32_t);
#if defined(Windows)
int
tuntap_sys_set_dns(struct device *dev, t_tun_in_addr *s, uint32_t mask);
#endif
#if defined(FreeBSD)
int
tuntap_sys_set_ipv4_tap(struct device *, t_tun_in_addr *, uint32_t);

@ -17,6 +17,7 @@
#error No async event loop for your platform, subclass llarp_ev_loop
#endif
// This is dead now isn't it -rick
void
llarp_ev_loop_alloc(struct llarp_ev_loop **ev)
{

@ -24,19 +24,6 @@
/*#include <strsafe.h>*/
#include "tuntap.h"
// io packet for TUN read/write
// this _should_ be the same size as
// the corresponding C++ struct
struct asio_evt_pkt
{
OVERLAPPED pkt; // must be first, since this is part of the IO call
_Bool write; // true, or false if read pkt
size_t sz; // if this doesn't match what is in the packet, note the error
};
// function from c++
struct asio_evt_pkt *
getTunEventPkt();
// DDK macros
#define CTL_CODE(DeviceType, Function, Method, Access) \

Loading…
Cancel
Save