Deleted Added
full compact
tcpd.h (44744) tcpd.h (56977)
1 /*
2 * @(#) tcpd.h 1.5 96/03/19 16:22:24
3 *
4 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
1 /*
2 * @(#) tcpd.h 1.5 96/03/19 16:22:24
3 *
4 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
5 *
6 * $FreeBSD: head/contrib/tcp_wrappers/tcpd.h 56977 2000-02-03 10:27:03Z shin $
5 */
6
7/* Structure to describe one communications endpoint. */
8
9#define STRING_LENGTH 128 /* hosts, users, processes */
10
11struct host_info {
12 char name[STRING_LENGTH]; /* access via eval_hostname(host) */
13 char addr[STRING_LENGTH]; /* access via eval_hostaddr(host) */
7 */
8
9/* Structure to describe one communications endpoint. */
10
11#define STRING_LENGTH 128 /* hosts, users, processes */
12
13struct host_info {
14 char name[STRING_LENGTH]; /* access via eval_hostname(host) */
15 char addr[STRING_LENGTH]; /* access via eval_hostaddr(host) */
16#ifdef INET6
17 struct sockaddr *sin; /* socket address or 0 */
18#else
14 struct sockaddr_in *sin; /* socket address or 0 */
19 struct sockaddr_in *sin; /* socket address or 0 */
20#endif
15 struct t_unitdata *unit; /* TLI transport address or 0 */
16 struct request_info *request; /* for shared information */
17};
18
19/* Structure to describe what we know about a service request. */
20
21struct request_info {
22 int fd; /* socket handle */

--- 197 unchanged lines hidden ---
21 struct t_unitdata *unit; /* TLI transport address or 0 */
22 struct request_info *request; /* for shared information */
23};
24
25/* Structure to describe what we know about a service request. */
26
27struct request_info {
28 int fd; /* socket handle */

--- 197 unchanged lines hidden ---