inetd.h (225736) | inetd.h (236875) |
---|---|
1/* 2 * Copyright (c) 1983, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/* 2 * Copyright (c) 1983, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: stable/9/usr.sbin/inetd/inetd.h 162305 2006-09-14 08:36:53Z ru $ | 29 * $FreeBSD: stable/9/usr.sbin/inetd/inetd.h 236875 2012-06-11 07:11:34Z delphij $ |
30 */ 31 32#include <sys/time.h> 33#include <sys/socket.h> 34#include <sys/un.h> 35#include <sys/queue.h> 36 37#include <netinet/in.h> --- 66 unchanged lines hidden (view full) --- 104 u_char se_type; /* type: normal, mux, or mux+ */ 105 u_char se_checked; /* looked at during merge */ 106 u_char se_accept; /* i.e., wait/nowait mode */ 107 u_char se_rpc; /* ==1 if RPC service */ 108 int se_rpc_prog; /* RPC program number */ 109 u_int se_rpc_lowvers; /* RPC low version */ 110 u_int se_rpc_highvers; /* RPC high version */ 111 int se_count; /* number started since se_time */ | 30 */ 31 32#include <sys/time.h> 33#include <sys/socket.h> 34#include <sys/un.h> 35#include <sys/queue.h> 36 37#include <netinet/in.h> --- 66 unchanged lines hidden (view full) --- 104 u_char se_type; /* type: normal, mux, or mux+ */ 105 u_char se_checked; /* looked at during merge */ 106 u_char se_accept; /* i.e., wait/nowait mode */ 107 u_char se_rpc; /* ==1 if RPC service */ 108 int se_rpc_prog; /* RPC program number */ 109 u_int se_rpc_lowvers; /* RPC low version */ 110 u_int se_rpc_highvers; /* RPC high version */ 111 int se_count; /* number started since se_time */ |
112 struct timeval se_time; /* start of se_count */ | 112 struct timespec se_time; /* start of se_count */ |
113 struct servtab *se_next; 114 struct se_flags { 115 u_int se_nomapped : 1; 116 u_int se_reset : 1; 117 } se_flags; 118 int se_maxperip; /* max number of children per src */ 119 LIST_HEAD(, conninfo) se_conn[PERIPSIZE]; 120}; --- 25 unchanged lines hidden --- | 113 struct servtab *se_next; 114 struct se_flags { 115 u_int se_nomapped : 1; 116 u_int se_reset : 1; 117 } se_flags; 118 int se_maxperip; /* max number of children per src */ 119 LIST_HEAD(, conninfo) se_conn[PERIPSIZE]; 120}; --- 25 unchanged lines hidden --- |