File: tcpwrapper.h

package info (click to toggle)
nfs-utils 1%3A1.0.10-6
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 4,228 kB
  • ctags: 2,554
  • sloc: ansic: 24,689; sh: 9,398; makefile: 667
file content (18 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef TCP_WRAPPER_H
#define TCP_WRAPPER_H

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

extern int verboselog;

extern int allow_severity;
extern int deny_severity;

extern int good_client(char *daemon, struct sockaddr_in *addr);
extern int from_local (struct sockaddr_in *addr);
extern int check_default(char *daemon, struct sockaddr_in *addr,
			 u_long proc, u_long prog);

#endif /* TCP_WRAPPER_H */