if_wg.c | 163 * - Each peer (struct wg_peer, wgp) has a mutex wgp_lock, which can be taken 840 #define WG_PEER_READER_FOREACH(wgp, wg) \ 841 PSLIST_READER_FOREACH((wgp), &(wg)->wg_peers, struct wg_peer, \ 843 #define WG_PEER_WRITER_FOREACH(wgp, wg) \ 844 PSLIST_WRITER_FOREACH((wgp), &(wg)->wg_peers, struct wg_peer, \ 846 #define WG_PEER_WRITER_INSERT_HEAD(wgp, wg) \ 847 PSLIST_WRITER_INSERT_HEAD(&(wg)->wg_peers, (wgp), wgp_peerlist_entry) 848 #define WG_PEER_WRITER_REMOVE(wgp) \ 849 PSLIST_WRITER_REMOVE((wgp), wgp_peerlist_entry) 1285 * wg_get_stable_session(wgp, psref 1323 struct wg_peer *wgp = wgs->wgs_peer; local in function:wg_destroy_session 1600 struct wg_peer *wgp; local in function:wg_handle_msg_init 2204 struct wg_peer *wgp; local in function:wg_handle_msg_resp 2423 struct wg_peer *wgp; local in function:wg_lookup_peer_by_pubkey 2769 struct wg_peer *wgp; local in function:wg_validate_route 2814 struct wg_peer *wgp = arg; local in function:wg_session_dtor_timer 2900 struct wg_peer *wgp; local in function:wg_handle_msg_data 3154 struct wg_peer *wgp; local in function:wg_handle_msg_cookie 3567 struct wg_peer *wgp = container_of(wk, struct wg_peer, wgp_work); local in function:wg_peer_work 3798 struct wg_peer *wgp; local in function:wgintr 3873 struct wg_peer *wgp = arg; local in function:wg_handshake_timeout_timer 3883 struct wg_peer *wgp; local in function:wg_alloc_peer 4012 struct wg_peer *wgp, *wgp0 __diagused; local in function:wg_destroy_all_peers 4054 struct wg_peer *wgp, *wgp0 __diagused; local in function:wg_destroy_peer_name 4282 struct wg_peer *wgp = NULL; local in function:wg_pick_peer_by_sa 4331 struct wg_peer *wgp = NULL; local in function:wg_output 4687 struct wg_peer *wgp = wg_alloc_peer(wg); local in function:wg_handle_prop_peer 4927 struct wg_peer *wgp = NULL, *wgp0 __diagused; local in function:wg_ioctl_add_peer 5016 struct wg_peer *wgp; local in function:wg_ioctl_get [all...] |