
1.13 RIPng Protocol Operation 91
1259–1260 The metric rip6_metric is set to 16 (HOPCNT_INFINITY6) if its value becomes
larger than 16, effectively invalidating the advertised prefix.
Listing 1-42
route6d.c
1262 applyplen(&np->rip6_dest, np->rip6_plen);
1263 if ((rrt = rtsearch(np, NULL)) != NULL) {
route6d.c
1262–1263 The destination prefix is extracted according to the advertised prefix length. The
local function rtsearch() is called to search route6d’s routing table for the given prefix.
If found, information in the routing entry is updated.
Figure 1-52 depicts how an advertised route is processed when it is already in
route6d’s routing table. Each number ...