Lines Matching refs:ovpn_softc
141 struct ovpn_softc;
148 struct ovpn_softc *sc;
187 struct ovpn_softc { struct
207 static struct ovpn_kpeer *ovpn_find_peer(struct ovpn_softc *, uint32_t); argument
212 static int ovpn_encap(struct ovpn_softc *, uint32_t, struct mbuf *);
335 ovpn_find_peer(struct ovpn_softc *sc, uint32_t peerid) in ovpn_find_peer()
347 ovpn_find_only_peer(struct ovpn_softc *sc) in ovpn_find_only_peer()
484 ovpn_notify_del_peer(struct ovpn_softc *sc, struct ovpn_kpeer *peer) in ovpn_notify_del_peer()
514 ovpn_notify_key_rotation(struct ovpn_softc *sc, struct ovpn_kpeer *peer) in ovpn_notify_key_rotation()
536 ovpn_notify_float(struct ovpn_softc *sc, uint32_t peerid, in ovpn_notify_float()
565 struct ovpn_softc *sc; in ovpn_peer_release_ref()
616 struct ovpn_softc *sc = ifp->if_softc; in ovpn_new_peer()
803 _ovpn_del_peer(struct ovpn_softc *sc, struct ovpn_kpeer *peer) in _ovpn_del_peer()
825 struct ovpn_softc *sc = ifp->if_softc; in ovpn_del_peer()
946 struct ovpn_softc *sc = ifp->if_softc; in ovpn_set_key()
1010 ovpn_check_key(struct ovpn_softc *sc, struct ovpn_kpeer *peer, enum ovpn_key_slot slot) in ovpn_check_key()
1026 struct ovpn_softc *sc = ifp->if_softc; in ovpn_start()
1042 struct ovpn_softc *sc = ifp->if_softc; in ovpn_swap_keys()
1082 struct ovpn_softc *sc = ifp->if_softc; in ovpn_del_key()
1130 struct ovpn_softc *sc = peer->sc; in ovpn_send_ping()
1157 struct ovpn_softc *sc = peer->sc; in ovpn_timeout()
1188 struct ovpn_softc *sc = ifp->if_softc; in ovpn_set_peer()
1225 struct ovpn_softc *sc = ifp->if_softc; in ovpn_set_ifmode()
1264 struct ovpn_softc *sc = ifp->if_softc; in ovpn_ioctl_set()
1344 ovpn_get_stats(struct ovpn_softc *sc, nvlist_t **onvl) in ovpn_get_stats()
1383 ovpn_get_peer_stats(struct ovpn_softc *sc, nvlist_t **nvl) in ovpn_get_peer_stats()
1434 ovpn_poll_pkt(struct ovpn_softc *sc, nvlist_t **onvl) in ovpn_poll_pkt()
1476 opvn_get_pkt(struct ovpn_softc *sc, nvlist_t **onvl) in opvn_get_pkt()
1534 struct ovpn_softc *sc = ifp->if_softc; in ovpn_ioctl_get()
1636 struct ovpn_softc *sc = peer->sc; in ovpn_encrypt_tx_cb()
1673 ovpn_finish_rx(struct ovpn_softc *sc, struct mbuf *m, in ovpn_finish_rx()
1769 ovpn_find_key(struct ovpn_softc *sc, struct ovpn_kpeer *peer, in ovpn_find_key()
1791 struct ovpn_softc *sc = crp->crp_opaque; in ovpn_decrypt_rx_cb()
1885 ovpn_find_peer_by_ip(struct ovpn_softc *sc, const struct in_addr addr) in ovpn_find_peer_by_ip()
1903 ovpn_find_peer_by_ip6(struct ovpn_softc *sc, const struct in6_addr *addr) in ovpn_find_peer_by_ip6()
1920 ovpn_route_peer(struct ovpn_softc *sc, struct mbuf **m0, in ovpn_route_peer()
2023 struct ovpn_softc *sc; in ovpn_transmit_to_peer()
2164 ovpn_encap(struct ovpn_softc *sc, uint32_t peerid, struct mbuf *m) in ovpn_encap()
2303 struct ovpn_softc *sc; in ovpn_output()
2397 ovpn_peer_from_mbuf(struct ovpn_softc *sc, struct mbuf *m, int off) in ovpn_peer_from_mbuf()
2419 struct ovpn_softc *sc = ctx; in ovpn_udp_input()
2589 ovpn_flush_rxring(struct ovpn_softc *sc) in ovpn_flush_rxring()
2606 struct ovpn_softc *sc = ifp->if_softc; in ovpn_reassign()
2639 struct ovpn_softc *sc; in ovpn_clone_create()
2672 sc = malloc(sizeof(struct ovpn_softc), M_OVPN, M_WAITOK | M_ZERO); in ovpn_clone_create()
2710 struct ovpn_softc *sc; in ovpn_clone_destroy_cb()
2713 sc = __containerof(ctx, struct ovpn_softc, epoch_ctx); in ovpn_clone_destroy_cb()
2736 struct ovpn_softc *sc; in ovpn_clone_destroy()