if_wg.c | 134 * - struct wg_softc is an instance of wg interfaces 158 * - Each wg has a mutex(9) wg_lock, and a rwlock(9) wg_rwlock 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) 857 wg_rnh(struct wg_softc *wg, const int family) 863 return wg->wg_rtable_ipv4 3568 struct wg_softc *wg = wgp->wgp_sc; local in function:wg_peer_work 3599 struct wg_softc *wg = container_of(job, struct wg_softc, wg_job); local in function:wg_job 3659 struct wg_softc *wg = cookie; local in function:wg_so_upcall 3694 struct wg_softc *wg = arg; local in function:wg_overudp_cb 3939 struct wg_softc *wg = wgp->wgp_sc; local in function:wg_destroy_peer 4132 struct wg_softc *wg; local in function:wg_clone_create 4227 struct wg_softc *wg = container_of(ifp, struct wg_softc, wg_if); local in function:wg_clone_destroy 4330 struct wg_softc *wg = ifp->if_softc; local in function:wg_output 4468 struct wg_softc *wg = wgp->wgp_sc; local in function:wg_send_data_msg 5185 struct wg_softc *wg = ifp->if_softc; local in function:wg_ioctl 5466 struct wg_softc *wg = wgp->wgp_sc; local in function:wg_send_user 5509 struct wg_softc *wg = ifp->if_softc; local in function:wg_input_user [all...] |