Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dmacsec.c35 u8 tci_an; member
273 } else if ((!(hdr->tci_an & (MACSEC_TCI_ES | MACSEC_TCI_SC))) && in macsec_frame_sci()
309 memset(&h->tci_an, 0, macsec_sectag_len(sci_present)); in macsec_fill_sectag()
313 h->tci_an |= MACSEC_TCI_SC; in macsec_fill_sectag()
318 h->tci_an |= MACSEC_TCI_ES; in macsec_fill_sectag()
320 h->tci_an |= MACSEC_TCI_SCB; in macsec_fill_sectag()
327 h->tci_an |= MACSEC_TCI_CONFID; in macsec_fill_sectag()
329 h->tci_an |= MACSEC_TCI_C; in macsec_fill_sectag()
331 h->tci_an |= tx_sc->encoding_sa; in macsec_fill_sectag()
404 int extra_len = macsec_extra_len(!!(h->tci_an & MACSEC_TCI_SC)) + icv_len; in macsec_validate_skb()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c53 u8 tci_an; member
619 sectag.tci_an |= MACSEC_TCI_SC; in macsec_fs_tx_create_sectag_header()
624 sectag.tci_an |= MACSEC_TCI_ES; in macsec_fs_tx_create_sectag_header()
626 sectag.tci_an |= MACSEC_TCI_SCB; in macsec_fs_tx_create_sectag_header()
631 sectag.tci_an |= MACSEC_TCI_CONFID; in macsec_fs_tx_create_sectag_header()
633 sectag.tci_an |= MACSEC_TCI_C; in macsec_fs_tx_create_sectag_header()
635 sectag.tci_an |= tx_sc->encoding_sa; in macsec_fs_tx_create_sectag_header()
1681 u8 tci_an = (sci_present << MLX5_MACSEC_SECTAG_TCI_SC_FIELD_OFFSET) | attrs->assoc_num; in macsec_fs_rx_setup_fte() local
1697 tci_an << MLX5_MACSEC_SECTAG_TCI_AN_FIELD_OFFSET); in macsec_fs_rx_setup_fte()
/linux/drivers/crypto/caam/
H A Dpdb.h312 u8 tci_an; member