Go to the source code of this file.
|
static void | wg_peer_endpoint_reset (wg_peer_endpoint_t *ep) |
|
static void | wg_peer_endpoint_init (wg_peer_endpoint_t *ep, const ip46_address_t *addr, u16 port) |
|
static void | wg_peer_fib_flush (wg_peer_t *peer) |
|
static void | wg_peer_fib_populate (wg_peer_t *peer, u32 fib_index) |
|
static void | wg_peer_clear (vlib_main_t *vm, wg_peer_t *peer) |
|
static void | wg_peer_init (vlib_main_t *vm, wg_peer_t *peer) |
|
static u8 * | wg_peer_build_rewrite (const wg_peer_t *peer) |
|
static void | wg_peer_adj_stack (wg_peer_t *peer) |
|
walk_rc_t | wg_peer_if_admin_state_change (wg_if_t *wgi, index_t peeri, void *data) |
|
walk_rc_t | wg_peer_if_table_change (wg_if_t *wgi, index_t peeri, void *data) |
|
static int | wg_peer_fill (vlib_main_t *vm, wg_peer_t *peer, u32 table_id, const ip46_address_t *dst, u16 port, u16 persistent_keepalive_interval, const fib_prefix_t *allowed_ips, u32 wg_sw_if_index) |
|
int | wg_peer_add (u32 tun_sw_if_index, const u8 public_key[NOISE_PUBLIC_KEY_LEN], u32 table_id, const ip46_address_t *endpoint, const fib_prefix_t *allowed_ips, u16 port, u16 persistent_keepalive, u32 *peer_index) |
|
int | wg_peer_remove (index_t peeri) |
|
index_t | wg_peer_walk (wg_peer_walk_cb_t fn, void *data) |
|
static u8 * | format_wg_peer_endpoint (u8 *s, va_list *args) |
|
u8 * | format_wg_peer (u8 *s, va_list *va) |
|
static clib_error_t * | wg_peer_module_init (vlib_main_t *vm) |
|
◆ format_wg_peer()
u8* format_wg_peer |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ format_wg_peer_endpoint()
static u8* format_wg_peer_endpoint |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ wg_peer_add()
int wg_peer_add |
( |
u32 |
tun_sw_if_index, |
|
|
const u8 |
public_key[NOISE_PUBLIC_KEY_LEN], |
|
|
u32 |
table_id, |
|
|
const ip46_address_t * |
endpoint, |
|
|
const fib_prefix_t * |
allowed_ips, |
|
|
u16 |
port, |
|
|
u16 |
persistent_keepalive, |
|
|
u32 * |
peer_index |
|
) |
| |
◆ wg_peer_adj_stack()
static void wg_peer_adj_stack |
( |
wg_peer_t * |
peer | ) |
|
|
static |
◆ wg_peer_build_rewrite()
static u8* wg_peer_build_rewrite |
( |
const wg_peer_t * |
peer | ) |
|
|
static |
◆ wg_peer_clear()
◆ wg_peer_endpoint_init()
◆ wg_peer_endpoint_reset()
◆ wg_peer_fib_flush()
static void wg_peer_fib_flush |
( |
wg_peer_t * |
peer | ) |
|
|
static |
◆ wg_peer_fib_populate()
static void wg_peer_fib_populate |
( |
wg_peer_t * |
peer, |
|
|
u32 |
fib_index |
|
) |
| |
|
static |
◆ wg_peer_fill()
◆ wg_peer_if_admin_state_change()
◆ wg_peer_if_table_change()
◆ wg_peer_init()
◆ wg_peer_module_init()
◆ wg_peer_remove()
int wg_peer_remove |
( |
index_t |
peeri | ) |
|
◆ wg_peer_walk()
◆ wg_fib_source
◆ wg_peer_by_adj_index
◆ wg_peer_pool