Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/if_wg/include/sys/if_wg_session_vars.h
Show First 20 Lines • Show All 268 Lines • ▼ Show 20 Lines | struct wg_tag { | ||||
struct wg_endpoint t_endpoint; | struct wg_endpoint t_endpoint; | ||||
struct wg_peer *t_peer; | struct wg_peer *t_peer; | ||||
struct mbuf *t_mbuf; | struct mbuf *t_mbuf; | ||||
sa_family_t t_family; | sa_family_t t_family; | ||||
int t_done; | int t_done; | ||||
int t_mtu; | int t_mtu; | ||||
}; | }; | ||||
int wg_route_add(struct wg_route_table *tbl, struct wg_peer *peer, | |||||
const struct wg_allowedip *cidr_); | |||||
struct wg_peer *wg_route_lookup(struct wg_route_table *, struct mbuf *, | struct wg_peer *wg_route_lookup(struct wg_route_table *, struct mbuf *, | ||||
enum route_direction); | enum route_direction); | ||||
void wg_peer_remove_all(struct wg_softc *); | void wg_peer_remove_all(struct wg_softc *); | ||||
struct wg_peer *wg_peer_alloc(struct wg_softc *); | struct wg_peer *wg_peer_alloc(struct wg_softc *); | ||||
void wg_peer_destroy(struct wg_peer *); | void wg_peer_destroy(struct wg_peer *); | ||||
void wg_hashtable_init(struct wg_hashtable *); | void wg_hashtable_init(struct wg_hashtable *); | ||||
Show All 35 Lines |