|
Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
|
Network Management event information structure Used to pass information on network event NET_EVENT_VPN_PEER_ADD when CONFIG_NET_MGMT_EVENT_INFO enabled and event generator pass the information. More...
#include <zephyr/net/wireguard.h>
Data Fields | |
| uint32_t | id |
| VPN peer identifier. | |
| const char * | public_key |
| VPN peer public key. | |
| struct net_sockaddr * | endpoint |
| VPN peer endpoint. | |
| struct wireguard_allowed_ip * | allowed_ip [WIREGUARD_MAX_SRC_IPS+1] |
| VPN peer allowed IP address (null terminated list). | |
| int | keepalive_interval |
| VPN peer keepalive interval. | |
Network Management event information structure Used to pass information on network event NET_EVENT_VPN_PEER_ADD when CONFIG_NET_MGMT_EVENT_INFO enabled and event generator pass the information.
The network event NET_EVENT_VPN_PEER_DEL will pass the peer id only as a pointer in the event info. Note that the pointers to the peer information are only valid during the event handling and should not be used after the event is processed.
| struct wireguard_allowed_ip* net_event_vpn_peer::allowed_ip[WIREGUARD_MAX_SRC_IPS+1] |
VPN peer allowed IP address (null terminated list).
| struct net_sockaddr* net_event_vpn_peer::endpoint |
VPN peer endpoint.
| uint32_t net_event_vpn_peer::id |
VPN peer identifier.
| int net_event_vpn_peer::keepalive_interval |
VPN peer keepalive interval.
| const char* net_event_vpn_peer::public_key |
VPN peer public key.