The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
server.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: 97c8f2416162d775a71dd4a9c38a3549145af32a $
20  *
21  * @file protocols/radius/server.h
22  * @brief RADIUS bio handlers for outgoing RADIUS server sockets
23  *
24  * @copyright 2024 Network RADIUS SAS (legal@networkradius.com)
25  */
26 RCSIDH(radius_server_h, "$Id: 97c8f2416162d775a71dd4a9c38a3549145af32a $")
27 
28 #include <freeradius-devel/radius/radius.h>
29 #include <freeradius-devel/radius/bio.h>
30 #include <freeradius-devel/bio/packet.h>
31 #include <freeradius-devel/bio/fd.h>
32 #include <freeradius-devel/bio/dedup.h>
33 
34 typedef struct {
36 
38 
40 
43 
44 typedef struct {
45  bool connected;
48 
51 
52 typedef struct {
56 
58 
60 
Definition: base.h:112
#define RCSIDH(h, id)
Definition: build.h:482
Definition: dedup.c:95
Configuration for sockets.
Definition: fd.h:78
Run-time status of the socket.
Definition: fd.h:110
Per-packet context.
Definition: fd.h:49
fr_bio_t * fr_radius_server_bio_get_fd(fr_bio_packet_t *bio)
Definition: server.c:190
fr_bio_fd_packet_ctx_t fd
Definition: server.h:53
fr_bio_packet_t * fr_radius_server_bio_alloc(TALLOC_CTX *ctx, fr_radius_server_config_t *cfg, fr_bio_fd_config_t const *fd_cfg)
Definition: server.c:31
fr_bio_fd_info_t const * fd_info
Definition: server.h:49
fr_bio_packet_cb_funcs_t packet_cb_cfg
Definition: server.h:41
fr_radius_bio_verify_t verify
Definition: server.h:37
fr_bio_dedup_entry_t * dedup
Definition: server.h:54
fr_radius_server_bio_info_t const * fr_radius_server_bio_info(fr_bio_packet_t *bio)
Definition: server.c:197
fr_bio_dedup_config_t dedup_cfg
Definition: server.h:39
Definition: log.h:96
int nonnull(2, 5))