Home
last modified time | relevance | path

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

/linux-2.6.39/net/netrom/
Dnr_subr.c62 nrom->va = (nrom->va + 1) % NR_MODULUS; in nr_frames_acked()
96 vc = (vc + 1) % NR_MODULUS; in nr_validate_nr()
109 unsigned short vt = (nr->vl + nr->window) % NR_MODULUS; in nr_in_rx_window()
113 vc = (vc + 1) % NR_MODULUS; in nr_in_rx_window()
Dnr_out.c142 end = (nr->va + nr->window) % NR_MODULUS; in nr_kick()
172 nr->vs = (nr->vs + 1) % NR_MODULUS; in nr_kick()
Dnr_in.c241 nrom->vr = (nrom->vr + 1) % NR_MODULUS; in nr_state3_machine()
259 if (((nrom->vl + nrom->window) % NR_MODULUS) == nrom->vr) { in nr_state3_machine()
/linux-2.6.39/include/net/
Dnetrom.h59 #define NR_MODULUS 256 macro