1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

remove ded code

add code for proper DNSc search
This commit is contained in:
Rick V 2019-02-26 15:35:04 -06:00
parent bc4f049af1
commit 0de253065e
No known key found for this signature in database
GPG key ID: C0EDC8723FDC3465
3 changed files with 6 additions and 13 deletions

View file

@ -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);

View file

@ -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)
{

View file

@ -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) \