|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Wireguard peer configuration information. More...
#include <zephyr/net/wireguard.h>
Data Fields | |
| const char * | public_key |
| Public key in base64 format. | |
| const uint8_t * | preshared_key |
| Optional pre-shared key (32 bytes), set to NULL if not to be used. | |
| uint8_t | timestamp [(sizeof(uint64_t)+sizeof(uint32_t))] |
| What is the largest timestamp we have seen during handshake in order to avoid replays. | |
| struct net_sockaddr_storage | endpoint_ip |
| End-point address (when connecting). | |
| struct wireguard_allowed_ip | allowed_ip [WIREGUARD_MAX_SRC_IPS] |
| Allowed IP address. | |
| int | keepalive_interval |
| Default keep alive time for this peer in seconds. | |
Wireguard peer configuration information.
Stores the Wireguard VPN peer connection information.
| struct wireguard_allowed_ip wireguard_peer_config::allowed_ip[WIREGUARD_MAX_SRC_IPS] |
Allowed IP address.
| struct net_sockaddr_storage wireguard_peer_config::endpoint_ip |
End-point address (when connecting).
| int wireguard_peer_config::keepalive_interval |
Default keep alive time for this peer in seconds.
Set to 0 to use the default value.
| const uint8_t* wireguard_peer_config::preshared_key |
Optional pre-shared key (32 bytes), set to NULL if not to be used.
| const char* wireguard_peer_config::public_key |
Public key in base64 format.
What is the largest timestamp we have seen during handshake in order to avoid replays.