Home
last modified time | relevance | path

Searched refs:LLC_2_SEQ_NBR_MODULO (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/llc/
Dllc_conn.c237 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_cmd()
278 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_rsp()
308 pdu_pos = ((int)LLC_2_SEQ_NBR_MODULO + (int)nr - in llc_conn_remove_acked_pdus()
309 (int)LLC_I_GET_NS(pdu)) % LLC_2_SEQ_NBR_MODULO; in llc_conn_remove_acked_pdus()
Dllc_c_ac.c875 if (((llc->vR - llc->first_pdu_Ns + 1 + LLC_2_SEQ_NBR_MODULO) in llc_conn_ac_send_ack_if_needed()
876 % LLC_2_SEQ_NBR_MODULO) >= llc->npta) { in llc_conn_ac_send_ack_if_needed()
1008 if (llc->npta > (u8) ~LLC_2_SEQ_NBR_MODULO) in llc_conn_ac_inc_npta_value()
1009 llc->npta = (u8) ~LLC_2_SEQ_NBR_MODULO; in llc_conn_ac_inc_npta_value()
1099 if (llc->k > (u8) ~LLC_2_SEQ_NBR_MODULO) in llc_conn_ac_inc_tx_win_size()
1100 llc->k = (u8) ~LLC_2_SEQ_NBR_MODULO; in llc_conn_ac_inc_tx_win_size()
1317 llc_sk(sk)->vS = (llc_sk(sk)->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_ac_inc_vs_by_1()
Dllc_c_ev.c62 (vr + rw - 1) % LLC_2_SEQ_NBR_MODULO); in llc_util_ns_inside_rx_window()
94 rc = !llc_circular_between(nr1, nr, (nr2 + 1) % LLC_2_SEQ_NBR_MODULO); in llc_util_nr_inside_tx_window()
/linux-6.1.9/include/net/
Dllc_pdu.h119 #define LLC_2_SEQ_NBR_MODULO ((u8) 128) macro
148 #define PDU_GET_NEXT_Vr(sn) (((sn) + 1) & ~LLC_2_SEQ_NBR_MODULO)