The FreeRADIUS server $Id: a4e7f8c94e8038b7627bcf52356b7ed15955c1d7 $
Loading...
Searching...
No Matches
Functions
session.c File Reference

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"
+ Include dependency graph for session.c:

Go to the source code of this file.

Functions

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_timer_list_t *tl, 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_timer_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_timer_list_t *tl, 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)
 

Detailed Description

BFD Session handling.

Id
2589d64d10447d97778ccc36e25d3914f35c7c5c

Definition in file session.c.

Function Documentation

◆ bfd_auth_md5()

static void bfd_auth_md5 ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 485 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_auth_sha1()

static void bfd_auth_sha1 ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 520 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_auth_simple()

static void bfd_auth_simple ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 451 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_authenticate()

static int bfd_authenticate ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 656 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_calc_md5()

static void bfd_calc_md5 ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 467 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_calc_sha1()

static void bfd_calc_sha1 ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 499 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_calc_simple()

static void bfd_calc_simple ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 441 of file session.c.

+ Here is the caller graph for this function:

◆ bfd_control_packet_init()

static void bfd_control_packet_init ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 706 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_detection_timeout()

static void bfd_detection_timeout ( UNUSED fr_timer_list_t *  tl,
fr_time_t  now,
void *  ctx 
)
static

Definition at line 955 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_poll_response()

static void bfd_poll_response ( bfd_session_t *  session)
static

Definition at line 125 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_send_init()

static void bfd_send_init ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 748 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_send_packet()

static void bfd_send_packet ( UNUSED fr_timer_list_t *  el,
UNUSED fr_time_t  now,
void *  ctx 
)
static

Definition at line 764 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_session_admin_down()

void bfd_session_admin_down ( bfd_session_t *  session)

Definition at line 75 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_session_init()

int bfd_session_init ( bfd_session_t *  session)

Definition at line 1074 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_session_process()

bfd_state_change_t bfd_session_process ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)

Definition at line 150 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_session_start()

void bfd_session_start ( bfd_session_t *  session)

Definition at line 1098 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_set_desired_min_tx_interval()

static void bfd_set_desired_min_tx_interval ( bfd_session_t *  session,
fr_time_delta_t  value 
)
static

Definition at line 910 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_set_timeout()

static void bfd_set_timeout ( bfd_session_t *  session,
fr_time_t  when 
)
static

Definition at line 999 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_sign()

static void bfd_sign ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 678 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_start_control()

static void bfd_start_control ( bfd_session_t *  session)
static

Definition at line 1028 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_start_packets()

static void bfd_start_packets ( bfd_session_t *  session)
static

Definition at line 823 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_start_poll()

static void bfd_start_poll ( bfd_session_t *  session)
static

Definition at line 886 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_stop_control()

static int bfd_stop_control ( bfd_session_t *  session)
static

Definition at line 1021 of file session.c.

+ Here is the caller graph for this function:

◆ bfd_stop_poll()

static int bfd_stop_poll ( bfd_session_t *  session)
static

Definition at line 87 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_trigger()

static void bfd_trigger ( UNUSED bfd_session_t *  session,
UNUSED bfd_state_change_t  change 
)
static

Definition at line 57 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_unlang_send_packet()

static void bfd_unlang_send_packet ( UNUSED fr_timer_list_t *  tl,
UNUSED fr_time_t  now,
void *  ctx 
)
static

Definition at line 787 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_verify_md5()

static int bfd_verify_md5 ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 572 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_verify_sequence()

static int bfd_verify_sequence ( bfd_session_t *  session,
uint32_t  sequence_no,
int  keyed 
)
static

Definition at line 534 of file session.c.

+ Here is the caller graph for this function:

◆ bfd_verify_sha1()

static int bfd_verify_sha1 ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 614 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bfd_verify_simple()

static int bfd_verify_simple ( bfd_session_t *  session,
bfd_packet_t *  bfd 
)
static

Definition at line 561 of file session.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: