Home
last modified time | relevance | path

Searched refs:replay_protect (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/include/net/
H A Dmacsec.h209 * @replay_protect: enable packet number checks on receive
224 bool replay_protect; member
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h500 u32 replay_protect; member
804 * SC Lookup table has replay_protect=1 and the PN of the packet
815 * replay_protect=0 or
817 * replay_protect=1 and the packet is not encrypted and the
820 * replay_protect=1 and the packet is encrypted and integrity
H A Dmacsec_api.c577 packed_record[4] |= (rec->replay_protect & 0x1) << 2; in set_ingress_sc_record()
632 rec->replay_protect = (packed_record[4] >> 2) & 0x1; in get_ingress_sc_record()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h500 u32 replay_protect; member
804 * SC Lookup table has replay_protect=1 and the PN of the packet
815 * replay_protect=0 or
817 * replay_protect=1 and the packet is not encrypted and the
820 * replay_protect=1 and the packet is encrypted and integrity
H A Dmacsec_api.c577 packed_record[4] |= (rec->replay_protect & 0x1) << 2; in set_ingress_sc_record()
632 rec->replay_protect = (packed_record[4] >> 2) & 0x1; in get_ingress_sc_record()
/kernel/linux/linux-6.6/include/net/
H A Dmacsec.h227 * @replay_protect: enable packet number checks on receive
242 bool replay_protect; member
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k_macsec.c277 if (secy->replay_protect) in cn10k_mcs_write_rx_secy()
1135 secy->replay_protect == txsc->last_replay_protect) in cn10k_mcs_sync_stats()
1169 txsc->last_replay_protect = secy->replay_protect; in cn10k_mcs_sync_stats()
1231 txsc->last_replay_protect = secy->replay_protect; in cn10k_mdo_add_secy()
1669 if (secy->replay_protect) in cn10k_mdo_get_rx_sc_stats()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c140 bool replay_protect; member
213 if (!attrs->replay_protect) in macsec_set_replay_protection()
383 obj_attrs.replay_protect = ctx->secy->replay_protect; in mlx5e_macsec_init_sa()
/kernel/linux/linux-5.10/drivers/net/
H A Dmacsec.c762 if (secy->replay_protect && pn < lowest_pn && in macsec_post_decrypt()
1224 if (secy->replay_protect) { in macsec_handle_frame()
3046 nla_put_u8(skb, MACSEC_SECY_ATTR_REPLAY, secy->replay_protect) || in nla_put_secy()
3055 if (secy->replay_protect) { in nla_put_secy()
3792 secy->replay_protect = !!nla_get_u8(data[IFLA_MACSEC_REPLAY_PROTECT]); in macsec_changelink_common()
4012 secy->replay_protect = false; in macsec_add_dev()
4281 nla_put_u8(skb, IFLA_MACSEC_REPLAY_PROTECT, secy->replay_protect) || in macsec_fill_info()
4286 if (secy->replay_protect) { in macsec_fill_info()
/kernel/linux/linux-6.6/drivers/net/
H A Dmacsec.c734 if (secy->replay_protect && pn < lowest_pn && in macsec_post_decrypt()
1207 if (secy->replay_protect) { in macsec_handle_frame()
3009 nla_put_u8(skb, MACSEC_SECY_ATTR_REPLAY, secy->replay_protect) || in nla_put_secy()
3018 if (secy->replay_protect) { in nla_put_secy()
3767 secy->replay_protect = !!nla_get_u8(data[IFLA_MACSEC_REPLAY_PROTECT]); in macsec_changelink_common()
4009 secy->replay_protect = false; in macsec_add_dev()
4297 nla_put_u8(skb, IFLA_MACSEC_REPLAY_PROTECT, secy->replay_protect) || in macsec_fill_info()
4303 if (secy->replay_protect) { in macsec_fill_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c755 if (secy->replay_protect) { in aq_set_rxsc()
756 sc_record.replay_protect = 1; in aq_set_rxsc()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c731 if (secy->replay_protect) { in aq_set_rxsc()
732 sc_record.replay_protect = 1; in aq_set_rxsc()
/kernel/linux/linux-5.10/drivers/net/phy/mscc/
H A Dmscc_macsec.c429 if (priv->secy->replay_protect) in vsc8584_macsec_flow()
/kernel/linux/linux-6.6/drivers/net/phy/mscc/
H A Dmscc_macsec.c429 if (priv->secy->replay_protect) in vsc8584_macsec_flow()

Completed in 32 milliseconds