| 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 3599 struct wg_softc *wg = container_of(job, struct wg_softc, wg_job); local 3659 struct wg_softc *wg = cookie; local 3694 struct wg_softc *wg = arg; local 3763 inpcb_register_overudp_cb(sotoinpcb(so), wg_overudp_cb, wg); local 3939 struct wg_softc *wg = wgp->wgp_sc; local 4132 struct wg_softc *wg; local 4227 struct wg_softc *wg = container_of(ifp, struct wg_softc, wg_if); local 4330 struct wg_softc *wg = ifp->if_softc; local 4468 struct wg_softc *wg = wgp->wgp_sc; local 5185 struct wg_softc *wg = ifp->if_softc; local 5466 struct wg_softc *wg = wgp->wgp_sc; local 5509 struct wg_softc *wg = ifp->if_softc; local [all...] |