Lines Matching refs:ct
116 int ct = 0; in ax25cmp() local
118 while (ct < 6) { in ax25cmp()
119 if ((a->ax25_call[ct] & 0xFE) != (b->ax25_call[ct] & 0xFE)) /* Clean off repeater bits */ in ax25cmp()
121 ct++; in ax25cmp()
124 if ((a->ax25_call[ct] & 0x1E) == (b->ax25_call[ct] & 0x1E)) /* SSID without control bit */ in ax25cmp()
219 int ct = 0; in ax25_addr_build() local
252 while (ct < d->ndigi) { in ax25_addr_build()
253 memcpy(buf, &d->calls[ct], AX25_ADDR_LEN); in ax25_addr_build()
255 if (d->repeated[ct]) in ax25_addr_build()
265 ct++; in ax25_addr_build()
286 int ct; in ax25_digi_invert() local
292 for (ct = 0; ct < in->ndigi; ct++) { in ax25_digi_invert()
293 out->calls[ct] = in->calls[in->ndigi - ct - 1]; in ax25_digi_invert()
295 if (ct <= out->lastrepeat) { in ax25_digi_invert()
296 out->calls[ct].ax25_call[6] |= AX25_HBIT; in ax25_digi_invert()
297 out->repeated[ct] = 1; in ax25_digi_invert()
299 out->calls[ct].ax25_call[6] &= ~AX25_HBIT; in ax25_digi_invert()
300 out->repeated[ct] = 0; in ax25_digi_invert()