Lines Matching refs:nsim_secy
16 if (ns->macsec.nsim_secy[i].sci == sci) in nsim_macsec_find_secy()
23 static int nsim_macsec_find_rxsc(struct nsim_secy *ns_secy, sci_t sci) in nsim_macsec_find_rxsc()
44 if (!ns->macsec.nsim_secy[idx].used) in nsim_macsec_add_secy()
56 ns->macsec.nsim_secy[idx].used = true; in nsim_macsec_add_secy()
57 ns->macsec.nsim_secy[idx].nsim_rxsc_count = 0; in nsim_macsec_add_secy()
58 ns->macsec.nsim_secy[idx].sci = ctx->secy->sci; in nsim_macsec_add_secy()
97 ns->macsec.nsim_secy[idx].used = false; in nsim_macsec_del_secy()
98 memset(&ns->macsec.nsim_secy[idx], 0, sizeof(ns->macsec.nsim_secy[idx])); in nsim_macsec_del_secy()
107 struct nsim_secy *secy; in nsim_macsec_add_rxsc()
116 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_add_rxsc()
142 struct nsim_secy *secy; in nsim_macsec_upd_rxsc()
151 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_upd_rxsc()
169 struct nsim_secy *secy; in nsim_macsec_del_rxsc()
178 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_del_rxsc()
200 struct nsim_secy *secy; in nsim_macsec_add_rxsa()
209 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_add_rxsa()
227 struct nsim_secy *secy; in nsim_macsec_upd_rxsa()
236 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_upd_rxsa()
254 struct nsim_secy *secy; in nsim_macsec_del_rxsa()
263 secy = &ns->macsec.nsim_secy[idx]; in nsim_macsec_del_rxsa()