FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
wireguard_timer.h File Reference
+ Include dependency graph for wireguard_timer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define foreach_wg_timer
 WG timers. More...
 

Typedefs

typedef enum _wg_timers wg_timers_e
 
typedef struct wg_peer wg_peer_t
 

Functions

void wg_timer_wheel_init ()
 
void wg_timers_stop (wg_peer_t *peer)
 
void wg_timers_data_sent (wg_peer_t *peer)
 
void wg_timers_data_received (wg_peer_t *peer)
 
void wg_timers_any_authenticated_packet_sent (wg_peer_t *peer)
 
void wg_timers_any_authenticated_packet_received (wg_peer_t *peer)
 
void wg_timers_handshake_initiated (wg_peer_t *peer)
 
void wg_timers_handshake_complete (wg_peer_t *peer)
 
void wg_timers_session_derived (wg_peer_t *peer)
 
void wg_timers_any_authenticated_packet_traversal (wg_peer_t *peer)
 
static bool wg_birthdate_has_expired (f64 birthday_seconds, f64 expiration_seconds)
 

Macro Definition Documentation

◆ foreach_wg_timer

#define foreach_wg_timer
Value:
_(RETRANSMIT_HANDSHAKE, "RETRANSMIT HANDSHAKE") \
_(PERSISTENT_KEEPALIVE, "PERSISTENT KEEPALIVE") \
_(SEND_KEEPALIVE, "SEND KEEPALIVE") \
_(NEW_HANDSHAKE, "NEW HANDSHAKE") \
_(KEY_ZEROING, "KEY ZEROING") \

WG timers.

Definition at line 24 of file wireguard_timer.h.

Typedef Documentation

◆ wg_peer_t

typedef struct wg_peer wg_peer_t

Definition at line 39 of file wireguard_timer.h.

◆ wg_timers_e

typedef enum _wg_timers wg_timers_e

Function Documentation

◆ wg_birthdate_has_expired()

static bool wg_birthdate_has_expired ( f64  birthday_seconds,
f64  expiration_seconds 
)
inlinestatic

Definition at line 54 of file wireguard_timer.h.

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

◆ wg_timer_wheel_init()

void wg_timer_wheel_init ( )

Definition at line 330 of file wireguard_timer.c.

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

◆ wg_timers_any_authenticated_packet_received()

void wg_timers_any_authenticated_packet_received ( wg_peer_t peer)

Definition at line 271 of file wireguard_timer.c.

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

◆ wg_timers_any_authenticated_packet_sent()

void wg_timers_any_authenticated_packet_sent ( wg_peer_t peer)

Definition at line 210 of file wireguard_timer.c.

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

◆ wg_timers_any_authenticated_packet_traversal()

void wg_timers_any_authenticated_packet_traversal ( wg_peer_t peer)

Definition at line 199 of file wireguard_timer.c.

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

◆ wg_timers_data_received()

void wg_timers_data_received ( wg_peer_t peer)

Definition at line 249 of file wireguard_timer.c.

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

◆ wg_timers_data_sent()

void wg_timers_data_sent ( wg_peer_t peer)

Definition at line 237 of file wireguard_timer.c.

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

◆ wg_timers_handshake_complete()

void wg_timers_handshake_complete ( wg_peer_t peer)

Definition at line 264 of file wireguard_timer.c.

+ Here is the caller graph for this function:

◆ wg_timers_handshake_initiated()

void wg_timers_handshake_initiated ( wg_peer_t peer)

Definition at line 216 of file wireguard_timer.c.

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

◆ wg_timers_session_derived()

void wg_timers_session_derived ( wg_peer_t peer)

Definition at line 227 of file wireguard_timer.c.

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

◆ wg_timers_stop()

void wg_timers_stop ( wg_peer_t peer)

Definition at line 358 of file wireguard_timer.c.

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