DIRECTORY Arpa USING [Address]; ArpaRouter: CEDAR DEFINITIONS ~ { Hops: TYPE ~ CARD; maxHops: Hops ~ 15; unreachable: Hops ~ Hops.LAST; RoutingTableEntry: TYPE ~ RECORD [ hops: Hops, -- 0 => directly connected immediate: Arpa.Address, -- socket is null time: CARDINAL ]; GetHops: PROC [Arpa.Address] RETURNS [Hops]; GetRouting: PROC [Arpa.Address] RETURNS [RoutingTableEntry]; Enumerate: PROC [ low: Hops _ 0, high: Hops _ unreachable, proc: PROC [Arpa.Address, RoutingTableEntry] ]; Fast: PROC [Arpa.Address] RETURNS [yes: BOOL]; }. ArpaRouter.mesa Copyright c 1986 by Xerox Corporation. All rights reserved. Demers, August 17, 1987 7:22:32 pm PDT Arpa routing using RIP. Routing Anything more than maxHops away is unreachable. Enumerate routine table entries with delay between low and high, inclusive, calling proc on each of them. Client may abort the enumeration by raising an exception in proc and catching it in the caller of Enumerate. It's okay for proc to send/receive packets. Phone lines aren't fast. Directly connected ethernets are. ΚR˜codešœ™Kšœ Οmœ1™