Searched refs:nsim_secy (Results 1 – 2 of 2) sorted by relevance
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()[all …]
64 struct nsim_secy { struct72 struct nsim_secy nsim_secy[NSIM_MACSEC_MAX_SECY_COUNT]; member