Lines Matching refs:Index
193 short Index = ifID->ifDefZone;
195 if (Index <= 0 || Index >= ZT_MAXEDOUT) {
198 Index, ifID->ifPort));
203 Index--;
205 if ((len = zt_get_zmcast(ifID, &ZT_table[Index].Zone, &GNIReply[8+zname->len])))
218 GNIReply[packet_length + 1] = ZT_table[Index].Zone.len;
219 bcopy(&ZT_table[Index].Zone.str, &GNIReply[packet_length + 2],
220 ZT_table[Index].Zone.len);
221 packet_length = packet_length +2 + ZT_table[Index].Zone.len;
333 short i, j, reply_length, Index, zone_count, status;
370 Index = i*8 + j; /* zone index in zone table */
372 if (reply_length + 3 + ZT_table[Index].Zone.len > DDP_DATA_SIZE) {
396 if (ZT_table[Index].Zone.len) {
400 *ReplyBuff++ = ZT_table[Index].Zone.len;
402 bcopy(&ZT_table[Index].Zone.str, ReplyBuff,
403 ZT_table[Index].Zone.len);
405 ReplyBuff += ZT_table[Index].Zone.len;
406 reply_length += ZT_table[Index].Zone.len +3;
446 short i, reply_length, Index, status;
500 if ( (Index = zt_ent_zindex(Entry->ZoneBitMap)) == 0)
503 Index--;
505 if (reply_length + 3 + ZT_table[Index].Zone.len > DDP_DATA_SIZE) {
535 if (ZT_table[Index].Zone.len) {
539 *ReplyBuff++ = ZT_table[Index].Zone.len;
540 bcopy(&ZT_table[Index].Zone.str, ReplyBuff,
541 ZT_table[Index].Zone.len);
543 ReplyBuff += ZT_table[Index].Zone.len;
545 reply_length += ZT_table[Index].Zone.len + 3;
1583 register int size, Index, status;
1642 Index = zt_ent_zindex(Entry->ZoneBitMap) -1;
1644 *data_ptr = ZT_table[Index].Zone.len;
1645 bcopy((caddr_t) &ZT_table[Index].Zone.str, (caddr_t) ++data_ptr,
1646 ZT_table[Index].Zone.len);
1680 register short Index=0, StartPoint, ZLength, PacketLen=0;
1732 while ((Index < ZT_maxentry) && StartPoint > 0) {
1733 if (ZT_table[Index].Zone.len)
1735 Index++;
1739 dPrintf(D_M_ZIP_LOW, D_L_OUTPUT, ("zip_reply_to_GZL: Index=%d\n", Index));
1744 while (Index < ZT_maxentry) {
1746 ZLength = ZT_table[Index].Zone.len;
1748 if (ZT_table[Index].ZoneCount && ZLength) {
1755 bcopy((caddr_t) &ZT_table[Index].Zone.str,
1761 Index++;
1764 if (Index >= ZT_maxentry) /* this is the end of the list */
1806 short Index, Index_wanted, ZLength;
1815 Index = Index_wanted = ZLength = i = j = packet_len = zCount = ZoneCount =
1902 Index = i*8 + j; /* get the index in ZT */
1904 ZLength = ZT_table[Index].Zone.len;
1906 if (ZT_table[Index].ZoneCount && ZLength) {
1912 bcopy((caddr_t) &ZT_table[Index].Zone.str,
1919 Index, packet_len));
1924 Index));