repo.or.cz
/
rofl0r-proxychains-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
core: use string instead of compound literal
[rofl0r-proxychains-ng.git]
/
src
/
remotedns.h
blob
588e09a5fd362648f0ca957b83941e89365d478e
1
#ifndef REMOTEDNS_H
2
#define REMOTEDNS_H
3
4
#include <unistd.h>
5
#include
"ip_type.h"
6
7
#define MSG_LEN_MAX 256
8
9
enum
at_msgtype
{
10
ATM_GETIP
=
0
,
11
ATM_GETNAME
,
12
ATM_FAIL
,
13
ATM_EXIT
,
14
};
15
16
struct
at_msghdr
{
17
unsigned char
msgtype
;
/* at_msgtype */
18
char
reserved
;
19
unsigned short
datalen
;
20
};
21
22
struct
at_msg
{
23
struct
at_msghdr h
;
24
union
{
25
char
host
[
260
];
26
ip_type4 ip
;
27
}
m
;
28
};
29
30
#endif
31