No empty .Rs/.Re
[netbsd-mini2440.git] / libexec / identd / identd.h
blobebd6475401da9a21ae0d84034f6c7e8540cab154
1 /* $NetBSD$ */
3 /*
4 * identd.h - TCP/IP Ident protocol server.
6 * This software is in the public domain.
7 * Written by Peter Postma <peter@NetBSD.org>
8 */
10 #ifndef _IDENTD_H_
11 #define _IDENTD_H_
13 #define satosin(sa) ((struct sockaddr_in *)(sa))
14 #define satosin6(sa) ((struct sockaddr_in6 *)(sa))
15 #define in_hosteq(s,t) ((s).s_addr == (t).s_addr)
17 void maybe_syslog(int, const char *, ...);
19 #ifdef WITH_PF
20 int pf_natlookup(struct sockaddr_storage *, struct sockaddr *, int *);
21 #endif
23 #ifdef WITH_IPF
24 int ipf_natlookup(struct sockaddr_storage *, struct sockaddr *, int *);
25 #endif
27 #endif /* !_IDENTD_H_ */