Searched refs:tx_sc (Results 1 – 4 of 4) sorted by relevance
246 const struct macsec_tx_sc *tx_sc = &secy->tx_sc; in send_sci() local248 return tx_sc->send_sci || in send_sci()249 (secy->n_rx_sc > 1 && !tx_sc->end_station && !tx_sc->scb); in send_sci()295 const struct macsec_tx_sc *tx_sc = &secy->tx_sc; in macsec_fill_sectag() local305 if (tx_sc->end_station) in macsec_fill_sectag()307 if (tx_sc->scb) in macsec_fill_sectag()314 if (tx_sc->encrypt) in macsec_fill_sectag()319 h->tci_an |= tx_sc->encoding_sa; in macsec_fill_sectag()499 static void macsec_count_tx(struct sk_buff *skb, struct macsec_tx_sc *tx_sc, in macsec_count_tx() argument502 struct pcpu_tx_sc_stats *txsc_stats = this_cpu_ptr(tx_sc->stats); in macsec_count_tx()[all …]
350 if (secy->tx_sc.encrypt) in aq_set_txsc()352 if (secy->tx_sc.scb) in aq_set_txsc()354 if (secy->tx_sc.send_sci) in aq_set_txsc()356 if (secy->tx_sc.end_station) in aq_set_txsc()361 if (!(secy->icv_len == 16 && !secy->tx_sc.encrypt)) in aq_set_txsc()381 sc_rec.curr_an = secy->tx_sc.encoding_sa; in aq_set_txsc()507 struct aq_macsec_txsc *tx_sc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_clear_txsc() local514 for_each_set_bit (sa_num, &tx_sc->tx_sa_idx_busy, AQ_MACSEC_MAX_SA) { in aq_clear_txsc()515 ret = aq_clear_txsa(nic, tx_sc, sa_num, clear_type); in aq_clear_txsc()528 tx_sc->hw_sc_idx); in aq_clear_txsc()[all …]
226 struct macsec_tx_sc tx_sc; member
438 if (priv->secy->tx_sc.encrypt) in vsc8584_macsec_flow()440 if (priv->secy->tx_sc.send_sci) in vsc8584_macsec_flow()546 (CONTROL_TYPE_EGRESS | CONTROL_AN(priv->secy->tx_sc.encoding_sa)) : in vsc8584_macsec_transformation()