H A D | if_wg.c | 753 WG_PEER_READER_FOREACH(wgp,wg) global() argument 756 WG_PEER_WRITER_FOREACH(wgp,wg) global() argument 759 WG_PEER_WRITER_INSERT_HEAD(wgp,wg) global() argument 770 wg_rnh(struct wg_softc * wg,const int family) wg_rnh() argument 1217 wg_destroy_session(struct wg_softc * wg,struct wg_session * wgs) wg_destroy_session() argument 1252 wg_get_session_index(struct wg_softc * wg,struct wg_session * wgs) wg_get_session_index() argument 1286 wg_put_session_index(struct wg_softc * wg,struct wg_session * wgs) wg_put_session_index() argument 1322 wg_fill_msg_init(struct wg_softc * wg,struct wg_peer * wgp,struct wg_session * wgs,struct wg_msg_init * wgmi) wg_fill_msg_init() argument 1415 wg_handle_msg_init(struct wg_softc * wg,const struct wg_msg_init * wgmi,const struct sockaddr * src) wg_handle_msg_init() argument 1618 wg_get_so_by_af(struct wg_softc * wg,const int af) wg_get_so_by_af() argument 1680 wg_send_handshake_msg_init(struct wg_softc * wg,struct wg_peer * wgp) wg_send_handshake_msg_init() argument 1741 wg_fill_msg_resp(struct wg_softc * wg,struct wg_peer * wgp,struct wg_session * wgs,struct wg_msg_resp * wgmr,const struct wg_msg_init * wgmi) wg_fill_msg_resp() argument 1853 wg_handle_msg_resp(struct wg_softc * wg,const struct wg_msg_resp * wgmr,const struct sockaddr * src) wg_handle_msg_resp() argument 2057 wg_send_handshake_msg_resp(struct wg_softc * wg,struct wg_peer * wgp,struct wg_session * wgs,const struct wg_msg_init * wgmi) wg_send_handshake_msg_resp() argument 2084 wg_lookup_peer_by_pubkey(struct wg_softc * wg,const uint8_t pubkey[WG_STATIC_KEY_LEN],struct psref * psref) wg_lookup_peer_by_pubkey() argument 2099 wg_fill_msg_cookie(struct wg_softc * wg,struct wg_peer * wgp,struct wg_msg_cookie * wgmc,const uint32_t sender,const uint8_t mac1[WG_MAC_LEN],const struct sockaddr * src) wg_fill_msg_cookie() argument 2160 wg_send_cookie_msg(struct wg_softc * wg,struct wg_peer * wgp,const uint32_t sender,const uint8_t mac1[WG_MAC_LEN],const struct sockaddr * src) wg_send_cookie_msg() argument 2186 wg_is_underload(struct wg_softc * wg,struct wg_peer * wgp,int msgtype) wg_is_underload() argument 2275 wg_lookup_session_by_index(struct wg_softc * wg,const uint32_t index,struct psref * psref) wg_lookup_session_by_index() argument 2414 wg_validate_route(struct wg_softc * wg,struct wg_peer * wgp_expected,int af,char * packet) wg_validate_route() argument 2522 wg_handle_msg_data(struct wg_softc * wg,struct mbuf * m,const struct sockaddr * src) wg_handle_msg_data() argument 2754 wg_handle_msg_cookie(struct wg_softc * wg,const struct wg_msg_cookie * wgmc) wg_handle_msg_cookie() argument 2808 wg_validate_msg_header(struct wg_softc * wg,struct mbuf * m) wg_validate_msg_header() argument 2868 wg_handle_packet(struct wg_softc * wg,struct mbuf * m,const struct sockaddr * src) wg_handle_packet() argument 2903 wg_receive_packets(struct wg_softc * wg,const int af) wg_receive_packets() argument 2948 wg_task_send_init_message(struct wg_softc * wg,struct wg_peer * wgp) wg_task_send_init_message() argument 2976 wg_task_retry_handshake(struct wg_softc * wg,struct wg_peer * wgp) wg_task_retry_handshake() argument 3015 wg_task_establish_session(struct wg_softc * wg,struct wg_peer * wgp) wg_task_establish_session() argument 3072 wg_task_endpoint_changed(struct wg_softc * wg,struct wg_peer * wgp) wg_task_endpoint_changed() argument 3092 wg_task_send_keepalive_message(struct wg_softc * wg,struct wg_peer * wgp) wg_task_send_keepalive_message() argument 3108 wg_task_destroy_prev_session(struct wg_softc * wg,struct wg_peer * wgp) wg_task_destroy_prev_session() argument 3126 struct wg_softc *wg = wgp->wgp_sc; wg_peer_work() local 3157 struct wg_softc *wg = container_of(job, struct wg_softc, wg_job); wg_job() local 3177 wg_bind_port(struct wg_softc * wg,const uint16_t port) wg_bind_port() argument 3215 struct wg_softc *wg = cookie; wg_so_upcall() local 3232 struct wg_softc *wg = arg; wg_overudp_cb() local 3283 wg_socreate(struct wg_softc * wg,int af,struct socket ** sop) wg_socreate() argument 3385 wg_alloc_peer(struct wg_softc * wg) wg_alloc_peer() argument 3445 struct wg_softc *wg = wgp->wgp_sc; wg_destroy_peer() local 3517 wg_destroy_all_peers(struct wg_softc * wg) wg_destroy_all_peers() argument 3559 wg_destroy_peer_name(struct wg_softc * wg,const char * name) wg_destroy_peer_name() argument 3596 wg_if_attach(struct wg_softc * wg) wg_if_attach() argument 3628 wg_if_detach(struct wg_softc * wg) wg_if_detach() argument 3639 struct wg_softc *wg; wg_clone_create() local 3733 struct wg_softc *wg = container_of(ifp, struct wg_softc, wg_if); wg_clone_destroy() local 3783 wg_pick_peer_by_sa(struct wg_softc * wg,const struct sockaddr * sa,struct psref * psref) wg_pick_peer_by_sa() argument 3819 wg_fill_msg_data(struct wg_softc * wg,struct wg_peer * wgp,struct wg_session * wgs,struct wg_msg_data * wgmd) wg_fill_msg_data() argument 3836 struct wg_softc *wg = ifp->if_softc; wg_output() local 3993 struct wg_softc *wg = wgp->wgp_sc; wg_send_data_msg() local 4125 wg_rtable_add_route(struct wg_softc * wg,struct wg_allowedip * wga) wg_rtable_add_route() argument 4145 wg_handle_prop_peer(struct wg_softc * wg,prop_dictionary_t peer,struct wg_peer ** wgpp) wg_handle_prop_peer() argument 4342 wg_ioctl_set_private_key(struct wg_softc * wg,struct ifdrv * ifd) wg_ioctl_set_private_key() argument 4380 wg_ioctl_set_listen_port(struct wg_softc * wg,struct ifdrv * ifd) wg_ioctl_set_listen_port() argument 4405 wg_ioctl_add_peer(struct wg_softc * wg,struct ifdrv * ifd) wg_ioctl_add_peer() argument 4455 wg_ioctl_delete_peer(struct wg_softc * wg,struct ifdrv * ifd) wg_ioctl_delete_peer() argument 4482 wg_is_authorized(struct wg_softc * wg,u_long cmd) wg_is_authorized() argument 4493 wg_ioctl_get(struct wg_softc * wg,struct ifdrv * ifd) wg_ioctl_get() argument 4666 struct wg_softc *wg = ifp->if_softc; wg_ioctl() local 4885 wg_user_mode(struct wg_softc * wg) wg_user_mode() argument 4892 wg_ioctl_linkstr(struct wg_softc * wg,struct ifdrv * ifd) wg_ioctl_linkstr() argument 4935 struct wg_softc *wg = wgp->wgp_sc; wg_send_user() local 4956 struct wg_softc *wg = ifp->if_softc; wg_input_user() local 4994 wg_bind_port_user(struct wg_softc * wg,const uint16_t port) wg_bind_port_user() argument 5012 rumpkern_wg_recv_user(struct wg_softc * wg,struct iovec * iov,size_t iovlen) rumpkern_wg_recv_user() argument 5038 rumpkern_wg_recv_peer(struct wg_softc * wg,struct iovec * iov,size_t iovlen) rumpkern_wg_recv_peer() argument [all...] |