BFD Session handling.
More...
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/time.h>
#include <freeradius-devel/util/event.h>
#include <freeradius-devel/util/base16.h>
#include <freeradius-devel/util/md5.h>
#include <freeradius-devel/util/rand.h>
#include <freeradius-devel/util/sha1.h>
#include <freeradius-devel/util/socket.h>
#include "session.h"
Go to the source code of this file.
|
static void | bfd_auth_md5 (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_auth_sha1 (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_auth_simple (bfd_session_t *session, bfd_packet_t *bfd) |
|
static int | bfd_authenticate (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_calc_md5 (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_calc_sha1 (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_calc_simple (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_control_packet_init (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_detection_timeout (UNUSED fr_event_list_t *el, fr_time_t now, void *ctx) |
|
static void | bfd_poll_response (bfd_session_t *session) |
|
static void | bfd_send_init (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_send_packet (UNUSED fr_event_list_t *el, UNUSED fr_time_t now, void *ctx) |
|
void | bfd_session_admin_down (bfd_session_t *session) |
|
int | bfd_session_init (bfd_session_t *session) |
|
bfd_state_change_t | bfd_session_process (bfd_session_t *session, bfd_packet_t *bfd) |
|
void | bfd_session_start (bfd_session_t *session) |
|
static void | bfd_set_desired_min_tx_interval (bfd_session_t *session, fr_time_delta_t value) |
|
static void | bfd_set_timeout (bfd_session_t *session, fr_time_t when) |
|
static void | bfd_sign (bfd_session_t *session, bfd_packet_t *bfd) |
|
static void | bfd_start_control (bfd_session_t *session) |
|
static void | bfd_start_packets (bfd_session_t *session) |
|
static void | bfd_start_poll (bfd_session_t *session) |
|
static int | bfd_stop_control (bfd_session_t *session) |
|
static int | bfd_stop_poll (bfd_session_t *session) |
|
static void | bfd_trigger (UNUSED bfd_session_t *session, UNUSED bfd_state_change_t change) |
|
static void | bfd_unlang_send_packet (UNUSED fr_event_list_t *el, UNUSED fr_time_t now, void *ctx) |
|
static int | bfd_verify_md5 (bfd_session_t *session, bfd_packet_t *bfd) |
|
static int | bfd_verify_sequence (bfd_session_t *session, uint32_t sequence_no, int keyed) |
|
static int | bfd_verify_sha1 (bfd_session_t *session, bfd_packet_t *bfd) |
|
static int | bfd_verify_simple (bfd_session_t *session, bfd_packet_t *bfd) |
|
BFD Session handling.
- Id
- b0fffb18d2baebee26dbf66490db036767383efb
- Copyright
- 2023 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file session.c.
◆ bfd_auth_md5()
static void bfd_auth_md5 |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_auth_sha1()
static void bfd_auth_sha1 |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_auth_simple()
static void bfd_auth_simple |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_authenticate()
static int bfd_authenticate |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_calc_md5()
static void bfd_calc_md5 |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_calc_sha1()
static void bfd_calc_sha1 |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_calc_simple()
static void bfd_calc_simple |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_control_packet_init()
static void bfd_control_packet_init |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_detection_timeout()
◆ bfd_poll_response()
◆ bfd_send_init()
static void bfd_send_init |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_send_packet()
◆ bfd_session_admin_down()
◆ bfd_session_init()
◆ bfd_session_process()
◆ bfd_session_start()
◆ bfd_set_desired_min_tx_interval()
◆ bfd_set_timeout()
◆ bfd_sign()
static void bfd_sign |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_start_control()
◆ bfd_start_packets()
◆ bfd_start_poll()
◆ bfd_stop_control()
◆ bfd_stop_poll()
◆ bfd_trigger()
◆ bfd_unlang_send_packet()
◆ bfd_verify_md5()
static int bfd_verify_md5 |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_verify_sequence()
◆ bfd_verify_sha1()
static int bfd_verify_sha1 |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |
◆ bfd_verify_simple()
static int bfd_verify_simple |
( |
bfd_session_t * |
session, |
|
|
bfd_packet_t * |
bfd |
|
) |
| |
|
static |