Home
last modified time | relevance | path

Searched refs:replay_window (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_replay.c22 bottom = replay_esn->seq - replay_esn->replay_window + 1; in xfrm_replay_seqhi()
24 if (likely(replay_esn->seq >= replay_esn->replay_window - 1)) { in xfrm_replay_seqhi()
113 if (!x->props.replay_window) in xfrm_replay_check()
123 if (diff >= x->props.replay_window) { in xfrm_replay_check()
124 x->stats.replay_window++; in xfrm_replay_check()
144 if (!x->props.replay_window) in xfrm_replay_advance()
149 if (diff < x->props.replay_window) in xfrm_replay_advance()
196 if (!replay_esn->replay_window) in xfrm_replay_check_bmp()
205 if (diff >= replay_esn->replay_window) { in xfrm_replay_check_bmp()
206 x->stats.replay_window++; in xfrm_replay_check_bmp()
[all …]
Dxfrm_user.c142 if (p->replay_window != 0) in verify_replay()
448 if (up->replay_window > up->bmp_len * sizeof(__u32) * 8) in xfrm_replay_verify_len()
504 x->props.replay_window = min_t(unsigned int, p->replay_window, in copy_from_user_state()
802 put_unaligned(x->stats.replay_window, &p->stats.replay_window); in copy_to_user_state()
807 p->replay_window = x->props.replay_window; in copy_to_user_state()
Dxfrm_compat.c40 u8 mode, replay_window, flags; member
Dxfrm_state.c1484 x->props.replay_window = orig->props.replay_window; in xfrm_state_clone()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dxfrm.h87 __u32 replay_window; member
108 __u32 replay_window; member
319 __u8 replay_window; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dxfrm.h74 __u32 replay_window; member
95 __u32 replay_window; member
306 __u8 replay_window; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dxfrm.h98 __u32 replay_window; member
123 __u32 replay_window; member
383 __u8 replay_window; member
/kernel/linux/linux-5.10/include/net/
Dmacsec.h225 u32 replay_window; member
Dxfrm.h176 u8 replay_window; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c123 if (replay_esn->seq >= replay_esn->replay_window) in mlx5e_ipsec_update_esn_state()
124 seq_bottom = replay_esn->seq - replay_esn->replay_window + 1; in mlx5e_ipsec_update_esn_state()
/kernel/linux/linux-5.10/drivers/net/
Dmacsec.c731 if (rx_sa->next_pn_halves.lower >= secy->replay_window) in macsec_post_decrypt()
732 lowest_pn = rx_sa->next_pn_halves.lower - secy->replay_window; in macsec_post_decrypt()
1191 late = rx_sa->next_pn_halves.lower >= secy->replay_window && in macsec_handle_frame()
1192 hdr_pn < (rx_sa->next_pn_halves.lower - secy->replay_window); in macsec_handle_frame()
3016 if (nla_put_u32(skb, MACSEC_SECY_ATTR_WINDOW, secy->replay_window)) in nla_put_secy()
3781 secy->replay_window = nla_get_u32(data[IFLA_MACSEC_WINDOW]); in macsec_changelink_common()
3786 secy->replay_window > MACSEC_XPN_MAX_REPLAY_WINDOW) in macsec_changelink_common()
4246 if (nla_put_u32(skb, IFLA_MACSEC_WINDOW, secy->replay_window)) in macsec_fill_info()
/kernel/linux/linux-5.10/drivers/net/phy/mscc/
Dmscc_macsec.c583 priv->secy->replay_window); in vsc8584_macsec_transformation()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c757 sc_record.anti_replay_window = secy->replay_window; in aq_set_rxsc()
/kernel/linux/linux-5.10/net/key/
Daf_key.c843 sa->sadb_sa_replay = x->props.replay_window; in __pfkey_xfrm_state2msg()
1132 x->props.replay_window = min_t(unsigned int, sa->sadb_sa_replay, in pfkey_msg2xfrm_state()