The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
src
lib
server
socket.h
Go to the documentation of this file.
1
#pragma once
2
/*
3
* This program is free software; you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation; either version 2 of the License, or
6
* (at your option) any later version.
7
*
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16
*/
17
18
/**
19
* $Id: 2ca00f8da495b9a9369c580463b3ceda5d588b04 $
20
*
21
* @file lib/server/socket.h
22
* @brief Socket structures.
23
*
24
* @copyright 2018 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
25
*/
26
RCSIDH
(server_socket_h,
"$Id: 2ca00f8da495b9a9369c580463b3ceda5d588b04 $"
)
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
typedef
struct
{
33
uint32_t
max_connections
;
34
uint32_t
num_connections
;
35
uint32_t
max_requests
;
36
uint32_t
num_requests
;
37
fr_time_delta_t
lifetime
;
38
fr_time_delta_t
idle_timeout
;
39
}
fr_socket_limit_t
;
40
41
#ifdef __cplusplus
42
}
43
#endif
RCSIDH
#define RCSIDH(h, id)
Definition:
build.h:482
uint32_t
unsigned int uint32_t
Definition:
merged_model.c:33
fr_socket_limit_t::idle_timeout
fr_time_delta_t idle_timeout
Definition:
socket.h:38
fr_socket_limit_t::num_connections
uint32_t num_connections
Definition:
socket.h:34
fr_socket_limit_t::lifetime
fr_time_delta_t lifetime
Definition:
socket.h:37
fr_socket_limit_t::num_requests
uint32_t num_requests
Definition:
socket.h:36
fr_socket_limit_t::max_connections
uint32_t max_connections
Definition:
socket.h:33
fr_socket_limit_t::max_requests
uint32_t max_requests
Definition:
socket.h:35
fr_socket_limit_t
Definition:
socket.h:32
fr_time_delta_s
A time delta, a difference in time measured in nanoseconds.
Definition:
time.h:80
Generated by
1.9.1