mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-03-14 16:07:16 +08:00
30 lines
359 B
C
30 lines
359 B
C
|
#ifndef REMOTEDNS_H
|
||
|
#define REMOTEDNS_H
|
||
|
|
||
|
#include <unistd.h>
|
||
|
#include "ip_type.h"
|
||
|
|
||
|
enum at_msgtype {
|
||
|
ATM_GETIP = 0,
|
||
|
ATM_GETNAME,
|
||
|
ATM_FAIL,
|
||
|
ATM_EXIT,
|
||
|
};
|
||
|
|
||
|
struct at_msghdr {
|
||
|
unsigned char msgtype; /* at_msgtype */
|
||
|
char reserved;
|
||
|
unsigned short datalen;
|
||
|
};
|
||
|
|
||
|
struct at_msg {
|
||
|
struct at_msghdr h;
|
||
|
union {
|
||
|
char host[260];
|
||
|
ip_type4 ip;
|
||
|
} m;
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|