Functions to send/receive BFD packets.
More...
#include <fcntl.h>
#include <ctype.h>
#include "attrs.h"
#include <freeradius-devel/io/pair.h>
#include <freeradius-devel/util/net.h>
#include <freeradius-devel/util/proto.h>
#include <freeradius-devel/util/udp.h>
Go to the source code of this file.
Functions to send/receive BFD packets.
- Id
- 75daba373437b0ce1565c8aab7cd95d89d6f830b
- Copyright
- 2023 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file base.c.
◆ fr_bfd_global_free()
void fr_bfd_global_free |
( |
void |
| ) |
|
◆ fr_bfd_global_init()
int fr_bfd_global_init |
( |
void |
| ) |
|
◆ fr_bfd_packet_ok()
bool fr_bfd_packet_ok |
( |
char const ** |
err, |
|
|
uint8_t const * |
packet, |
|
|
size_t |
packet_len |
|
) |
| |
◆ attr_bfd_additional_data
◆ attr_bfd_packet
◆ attr_packet_type
◆ bfd_auth_type_table
Initial value:= {
}
@ BFD_AUTH_MET_KEYED_SHA1
#define L(_str)
Helper for initialising arrays of string literals.
Definition at line 70 of file base.c.
◆ bfd_auth_type_table_len
◆ dict_bfd
◆ dict_freeradius
◆ fr_bfd_packet_names
Initial value:= {
"Admin-Down",
"Down",
"Init",
"Up",
}
Definition at line 63 of file base.c.
◆ instance_count
◆ libfreeradius_bfd_dict
Initial value:= {
{ NULL }
}
fr_dict_t const * dict_freeradius
fr_dict_t const * dict_bfd
Definition at line 44 of file base.c.
◆ libfreeradius_bfd_dict_attr
Initial value:= {
{ NULL }
}
fr_dict_attr_t const * attr_packet_type
@ FR_TYPE_UINT32
32 Bit unsigned integer.
@ FR_TYPE_STRUCT
like TLV, but without T or L, and fixed-width children
@ FR_TYPE_GROUP
A grouping of other attributes.
fr_dict_attr_t const * attr_bfd_packet
fr_dict_attr_t const * attr_bfd_additional_data
Definition at line 55 of file base.c.
◆ libfreeradius_bfd_dict_protocol
Initial value:= {
.name = "bfd",
.default_type_size = 1,
.default_type_length = 1,
}
int fr_bfd_global_init(void)
void fr_bfd_global_free(void)
Definition at line 254 of file base.c.