Home
last modified time | relevance | path

Searched refs:tci_an (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/
Dmacsec.c34 u8 tci_an; member
294 memset(&h->tci_an, 0, macsec_sectag_len(sci_present)); in macsec_fill_sectag()
298 h->tci_an |= MACSEC_TCI_SC; in macsec_fill_sectag()
303 h->tci_an |= MACSEC_TCI_ES; in macsec_fill_sectag()
305 h->tci_an |= MACSEC_TCI_SCB; in macsec_fill_sectag()
312 h->tci_an |= MACSEC_TCI_CONFID; in macsec_fill_sectag()
314 h->tci_an |= MACSEC_TCI_C; in macsec_fill_sectag()
316 h->tci_an |= tx_sc->encoding_sa; in macsec_fill_sectag()
389 int extra_len = macsec_extra_len(!!(h->tci_an & MACSEC_TCI_SC)) + icv_len; in macsec_validate_skb()
398 if (h->tci_an & MACSEC_TCI_VERSION) in macsec_validate_skb()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.c57 u8 tci_an; member
623 sectag.tci_an |= MACSEC_TCI_SC; in macsec_fs_tx_create_sectag_header()
628 sectag.tci_an |= MACSEC_TCI_ES; in macsec_fs_tx_create_sectag_header()
630 sectag.tci_an |= MACSEC_TCI_SCB; in macsec_fs_tx_create_sectag_header()
635 sectag.tci_an |= MACSEC_TCI_CONFID; in macsec_fs_tx_create_sectag_header()
637 sectag.tci_an |= MACSEC_TCI_C; in macsec_fs_tx_create_sectag_header()
639 sectag.tci_an |= tx_sc->encoding_sa; in macsec_fs_tx_create_sectag_header()
1685 u8 tci_an = (sci_present << MLX5_MACSEC_SECTAG_TCI_SC_FIELD_OFFSET) | attrs->assoc_num; in macsec_fs_rx_setup_fte() local
1701 tci_an << MLX5_MACSEC_SECTAG_TCI_AN_FIELD_OFFSET); in macsec_fs_rx_setup_fte()
/linux-6.6.21/drivers/crypto/caam/
Dpdb.h312 u8 tci_an; member