4 * identd.h - TCP/IP Ident protocol server.
6 * This software is in the public domain.
7 * Written by Peter Postma <peter@NetBSD.org>
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 *, ...);
20 int pf_natlookup(struct sockaddr_storage
*, struct sockaddr
*, int *);
24 int ipf_natlookup(struct sockaddr_storage
*, struct sockaddr
*, int *);
27 #endif /* !_IDENTD_H_ */