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