Lines Matching refs:Entry
121 RT_entry *Entry;
150 Entry = rt_blookup(CableStop);
152 if (Entry != NULL && RT_ALL_ZONES_KNOWN(Entry)) { /* this net is well known... */
154 GNIReply[2] = (Entry->NetStart & 0xFF00) >> 8;
155 GNIReply[3] = (Entry->NetStart & 0x00FF);
156 GNIReply[4] = (Entry->NetStop & 0xFF00) >> 8;
157 GNIReply[5] = (Entry->NetStop & 0x00FF);
167 if (ZT_ISIN_ZMAP((znumber), Entry->ZoneBitMap)) {
188 if (zt_ent_zcount(Entry) == 1)
325 static void zip_send_ext_reply_to_query(mreceived, ifID, Entry, NetAsked)
328 RT_entry *Entry; /* info about the network we're looking for */
337 zone_count = zt_ent_zcount(Entry);
338 zmap = Entry->ZoneBitMap;
445 RT_entry *Entry;
493 Entry = rt_blookup(ntohs(*NetAsked));
495 if (Entry != NULL && ((Entry->EntryState & 0x0F) >= RTE_STATE_SUSPECT) &&
496 RT_ALL_ZONES_KNOWN(Entry)) { /* this net is well known... */
498 if (Entry->NetStart == 0) { /* asking for a NON EXTENDED network */
500 if ( (Index = zt_ent_zindex(Entry->ZoneBitMap)) == 0)
556 zip_send_ext_reply_to_query(mreceived, ifID, Entry, ntohs(*NetAsked));
1347 RT_entry *Entry = &RT_table[0];
1407 if (((Entry->EntryState & 0x0F) >= RTE_STATE_SUSPECT) &&
1408 (Entry->NetStop) && (Entry->NetPort == port) &&
1409 (!RT_ALL_ZONES_KNOWN(Entry))){
1413 if (Entry->NetStart) { /* extended net*/
1415 *QueryBuff++ = (Entry->NetStart & 0xFF00) >> 8;
1416 *QueryBuff++ = (Entry->NetStart & 0x00FF);
1420 *QueryBuff++ = (Entry->NetStop & 0xFF00) >> 8;
1421 *QueryBuff++ = (Entry->NetStop & 0x00FF);
1429 Entry++;
1471 RT_entry *Entry = &RT_table[0];
1509 Entry = rt_blookup(Network);
1511 if (Entry != NULL) {
1513 if (Entry->EntryState >= RTE_STATE_SUSPECT) {
1526 zt_set_zmap(result, Entry->ZoneBitMap);
1528 RT_SET_ZONE_KNOWN(Entry);
1534 Entry->NetStart, Entry->NetStop, Entry->EntryState));
1550 if (Entry)
1553 Entry->NetStart, Entry->NetStop));
1560 if (Entry)
1563 Entry->NetStart, Entry->NetStop));
1585 RT_entry *Entry;
1638 Entry = rt_blookup(NET_VALUE(ddp->src_net));
1639 if (Entry != NULL && ((Entry->EntryState & 0x0F) >= RTE_STATE_SUSPECT) &&
1640 RT_ALL_ZONES_KNOWN(Entry)) { /* this net is well known... */
1642 Index = zt_ent_zindex(Entry->ZoneBitMap) -1;
1810 RT_entry *Entry;
1846 Entry = rt_blookup(NET_VALUE(ddp->src_net));
1848 if (Entry != NULL && ((Entry->EntryState & 0x0F) >= RTE_STATE_SUSPECT) &&
1849 RT_ALL_ZONES_KNOWN(Entry)) { /* this net is well known... */
1851 ZoneCount = zt_ent_zcount(Entry) ;
1857 zmap = &Entry->ZoneBitMap[0];