Lines Matching defs:ZT_table
85 ZT_entry *ZT_table; /* the Zone Information Protocol table */
453 if ((ZT_table = (ZT_entry *)_MALLOC(sizeof(ZT_entry)*ZT_maxentry,
456 ("rtmptable: Can't allocate ZT_table\n"));
472 bzero(&ZT_table[0], sizeof(ZT_entry)* ZT_maxentry);
506 if (ZT_table[i].ZoneCount == 0 && ZT_table[i].Zone.len == 0) {/* free entry */
507 ZT_table[i].Zone = *zname;
509 i, ZT_table[i].Zone.str, ZT_table[i].Zone.len));
534 zmap bits beyond ZT_table size got set somehow.
545 ZT_table[Index].Zone.str, ZT_table[Index].ZoneCount));
546 if (ZT_table[Index].ZoneCount > 0)
547 ZT_table[Index].ZoneCount--;
548 if (ZT_table[Index].ZoneCount == 0)
549 ZT_table[Index].Zone.len = 0;
746 if (!ZT_table[i].ZoneCount || zname->len != ZT_table[i].Zone.len)
753 c2 = ZT_table[i].Zone.str[j];
787 ZT_table[num].ZoneCount++;
804 ZT_table[num].ZoneCount--;
932 the ZT_table, if first != TRUE, then then each call returns the
941 if (!ZT_table)
948 if (ZT_table[i].ZoneCount)
953 zte.zt = ZT_table[i];
1020 for (i=ZT_maxentry,zt = &ZT_table[ZT_maxentry-1]; i; i--,zt--)
1051 bcopy(&ZT_table[s], d, c*sizeof(ZT_entry));
1086 ifz->zone_name = ZT_table[index].Zone;
1091 return(&ZT_table[index].Zone);