| 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 3717 struct wg_softc *wg = wgp->wgp_sc; local 3748 struct wg_softc *wg = container_of(job, struct wg_softc, wg_job); local 3808 struct wg_softc *wg = cookie; local 3843 struct wg_softc *wg = arg; local 3915 inpcb_register_overudp_cb(sotoinpcb(so), wg_overudp_cb, wg); local 4091 struct wg_softc *wg = wgp->wgp_sc; local 4285 struct wg_softc *wg; local 4384 struct wg_softc *wg = container_of(ifp, struct wg_softc, wg_if); local 4487 struct wg_softc *wg = ifp->if_softc; local 4625 struct wg_softc *wg = wgp->wgp_sc; local 5362 struct wg_softc *wg = ifp->if_softc; local 5643 struct wg_softc *wg = wgp->wgp_sc; local 5715 struct wg_softc *wg = ifp->if_softc; local [all...] |