/* frame_after_eq - is frame a after or equal to frame b  */
static int frame_after_eq(u16 a, u16 b)
/* frame_after_eq - is frame a after or equal to frame b  */
static int frame_after_eq(u16 a, u16 b)
{
	return ((HOST_FRAME_MASK + 1 + a - b) & HOST_FRAME_MASK) <
	    (HOST_FRAME_MASK / 2);
}