Lines Matching defs:l2tp_softc
74 struct l2tp_softc *lv_softc;
94 struct l2tp_softc {
108 LIST_ENTRY(l2tp_softc) l2tp_list; /* list of all l2tps */
119 * Get l2tp_variant from l2tp_softc.
128 l2tp_getref_variant(struct l2tp_softc *sc, struct psref *psref)
164 int l2tpattach0(struct l2tp_softc *);
187 * + l2tp_softc->l2tp_var is protected by
188 * - l2tp_softc->l2tp_lock (an adaptive mutex) for writer
190 * l2tp_softc->l2tp_var is used for variant values while the l2tp tunnel
197 * - encap_lock => struct l2tp_softc->l2tp_lock
201 * - l2tp_softc must not have a variant value while the l2tp tunnel exists.
202 * Such variant values must be in l2tp_softc->l2tp_var.
203 * - l2tp_softc->l2tp_var is modified like read-copy-update.
204 * So, once we dereference l2tp_softc->l2tp_var, we must
206 * l2tp_softc->l2tp_var, the l2tp_var may be other one because of