| 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 848 #define WG_PEER_READER_FOREACH(wgp, wg) \ 849 PSLIST_READER_FOREACH((wgp), &(wg)->wg_peers, struct wg_peer, \ 851 #define WG_PEER_WRITER_FOREACH(wgp, wg) \ 852 PSLIST_WRITER_FOREACH((wgp), &(wg)->wg_peers, struct wg_peer, \ 854 #define WG_PEER_WRITER_INSERT_HEAD(wgp, wg) \ 855 PSLIST_WRITER_INSERT_HEAD(&(wg)->wg_peers, (wgp), wgp_peerlist_entry) 865 wg_rnh(struct wg_softc *wg, const int family) 871 return wg->wg_rtable_ipv4 3729 struct wg_softc *wg = wgp->wgp_sc; local 3760 struct wg_softc *wg = container_of(job, struct wg_softc, wg_job); local 3820 struct wg_softc *wg = cookie; local 3855 struct wg_softc *wg = arg; local 3927 inpcb_register_overudp_cb(sotoinpcb(so), wg_overudp_cb, wg); local 4103 struct wg_softc *wg = wgp->wgp_sc; local 4297 struct wg_softc *wg; local 4396 struct wg_softc *wg = container_of(ifp, struct wg_softc, wg_if); local 4499 struct wg_softc *wg = ifp->if_softc; local 4637 struct wg_softc *wg = wgp->wgp_sc; local 5374 struct wg_softc *wg = ifp->if_softc; local 5655 struct wg_softc *wg = wgp->wgp_sc; local 5727 struct wg_softc *wg = ifp->if_softc; local [all...] |