Home
last modified time | relevance | path

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

/linux-2.6.39/net/llc/
Dllc_conn.c256 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_cmd()
297 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_rsp()
327 pdu_pos = ((int)LLC_2_SEQ_NBR_MODULO + (int)nr - in llc_conn_remove_acked_pdus()
328 (int)LLC_I_GET_NS(pdu)) % LLC_2_SEQ_NBR_MODULO; in llc_conn_remove_acked_pdus()
Dllc_c_ac.c872 if (((llc->vR - llc->first_pdu_Ns + 1 + LLC_2_SEQ_NBR_MODULO) in llc_conn_ac_send_ack_if_needed()
873 % LLC_2_SEQ_NBR_MODULO) >= llc->npta) { in llc_conn_ac_send_ack_if_needed()
1001 if (llc->npta > (u8) ~LLC_2_SEQ_NBR_MODULO) in llc_conn_ac_inc_npta_value()
1002 llc->npta = (u8) ~LLC_2_SEQ_NBR_MODULO; in llc_conn_ac_inc_npta_value()
1092 if (llc->k > (u8) ~LLC_2_SEQ_NBR_MODULO) in llc_conn_ac_inc_tx_win_size()
1093 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-2.6.39/include/net/
Dllc_pdu.h117 #define LLC_2_SEQ_NBR_MODULO ((u8) 128) macro
146 #define PDU_GET_NEXT_Vr(sn) (++sn & ~LLC_2_SEQ_NBR_MODULO)