The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
src
listen
bfd
proto_bfd.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: 749ee386adbcd25d7794dd9ec6428d548cf56e95 $
20
*
21
* @file proto_bfd.h
22
* @brief Structures for the RADIUS protocol
23
*
24
* @copyright 2023 Network RADIUS SAS (legal@networkradius.com)
25
*/
26
#include <freeradius-devel/io/master.h>
27
#include <freeradius-devel/bfd/bfd.h>
28
#include "
session.h
"
29
30
/** An instance of a proto_radius listen section
31
*
32
*/
33
typedef
struct
{
34
fr_io_instance_t
io
;
//!< wrapper for IO abstraction
35
36
uint32_t
max_packet_size
;
//!< for message ring buffer.
37
uint32_t
num_messages
;
//!< for message ring buffer.
38
39
fr_rb_tree_t
*
peers
;
40
}
proto_bfd_t
;
session.h
fr_io_instance_t
The master IO instance.
Definition:
master.h:72
uint32_t
unsigned int uint32_t
Definition:
merged_model.c:33
proto_bfd_t::io
fr_io_instance_t io
wrapper for IO abstraction
Definition:
proto_bfd.h:34
proto_bfd_t::num_messages
uint32_t num_messages
for message ring buffer.
Definition:
proto_bfd.h:37
proto_bfd_t::max_packet_size
uint32_t max_packet_size
for message ring buffer.
Definition:
proto_bfd.h:36
proto_bfd_t::peers
fr_rb_tree_t * peers
Definition:
proto_bfd.h:39
proto_bfd_t
An instance of a proto_radius listen section.
Definition:
proto_bfd.h:33
fr_rb_tree_s
The main red black tree structure.
Definition:
rb.h:73
Generated by
1.9.1