File: netresolv.h

package info (click to toggle)
netdiag 0.7-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,460 kB
  • ctags: 1,286
  • sloc: ansic: 12,984; makefile: 288; awk: 130; sh: 64
file content (17 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*	Special Struct's for NETWATCH to resolve INET addresses
	into INET Hostnames
*/
#define RESOLVE_MAX 256
struct resolvaddr 
{
	pid_t pid;
	u_int32_t inetaddr;
	char *where;
};

struct gotname
{
	char *where;
	char name[RESOLVE_MAX]; 
};