Lines Matching refs:nsim_secy
11 if (ns->macsec.nsim_secy[i].sci == sci) in nsim_macsec_find_secy()
18 static int nsim_macsec_find_rxsc(struct nsim_secy *ns_secy, sci_t sci) in nsim_macsec_find_rxsc()
39 if (!ns->macsec.nsim_secy[idx].used) in nsim_macsec_add_secy()
51 ns->macsec.nsim_secy[idx].used = true; in nsim_macsec_add_secy()
52 ns->macsec.nsim_secy[idx].nsim_rxsc_count = 0; in nsim_macsec_add_secy()
53 ns->macsec.nsim_secy[idx].sci = ctx->secy->sci; in nsim_macsec_add_secy()
92 ns->macsec.nsim_secy[idx].used = false; in nsim_macsec_del_secy()
93 memset(&ns->macsec.nsim_secy[idx], 0, sizeof(ns->macsec.nsim_secy[idx])); in nsim_macsec_del_secy()
102 struct nsim_secy *secy; in nsim_macsec_add_rxsc()
111 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_add_rxsc()
137 struct nsim_secy *secy; in nsim_macsec_upd_rxsc()
146 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_upd_rxsc()
164 struct nsim_secy *secy; in nsim_macsec_del_rxsc()
173 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_del_rxsc()
195 struct nsim_secy *secy; in nsim_macsec_add_rxsa()
204 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_add_rxsa()
222 struct nsim_secy *secy; in nsim_macsec_upd_rxsa()
231 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_upd_rxsa()
249 struct nsim_secy *secy; in nsim_macsec_del_rxsa()
258 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_del_rxsa()