Go to the source code of this file.
|
u8 * | format_ip4_udp_header (u8 *s, va_list *va) |
|
int | wg_peer_add (u32 tun_sw_if_index, const u8 public_key_64[NOISE_PUBLIC_KEY_LEN], u32 table_id, const ip46_address_t *endpoint, const fib_prefix_t *allowed_ips, u16 port, u16 persistent_keepalive, index_t *peer_index) |
|
int | wg_peer_remove (u32 peer_index) |
|
index_t | wg_peer_walk (wg_peer_walk_cb_t fn, void *data) |
|
u8 * | format_wg_peer (u8 *s, va_list *va) |
|
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 wg_peer_t * | wg_peer_get (index_t peeri) |
|
static index_t | wg_peer_get_by_adj_index (index_t ai) |
|
static u32 | wg_peer_assign_thread (u32 thread_id) |
|
◆ ip4_udp_header_t
◆ wg_peer_allowed_ip_t
◆ wg_peer_endpoint_t
◆ wg_peer_t
◆ wg_peer_table_bind_ctx_t
◆ wg_peer_walk_cb_t
◆ format_ip4_udp_header()
u8* format_ip4_udp_header |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ format_wg_peer()
u8* format_wg_peer |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ wg_peer_add()
int wg_peer_add |
( |
u32 |
tun_sw_if_index, |
|
|
const u8 |
public_key_64[NOISE_PUBLIC_KEY_LEN], |
|
|
u32 |
table_id, |
|
|
const ip46_address_t * |
endpoint, |
|
|
const fib_prefix_t * |
allowed_ips, |
|
|
u16 |
port, |
|
|
u16 |
persistent_keepalive, |
|
|
index_t * |
peer_index |
|
) |
| |
◆ wg_peer_assign_thread()
static u32 wg_peer_assign_thread |
( |
u32 |
thread_id | ) |
|
|
inlinestatic |
◆ wg_peer_get()
◆ wg_peer_get_by_adj_index()
◆ wg_peer_if_admin_state_change()
◆ wg_peer_if_table_change()
◆ wg_peer_remove()
int wg_peer_remove |
( |
u32 |
peer_index | ) |
|
◆ wg_peer_walk()
◆ wg_peer_by_adj_index
◆ wg_peer_pool