
96 Chapter 1—IPv6 Unicast Routing Protocols
1354–1355 The RRTF_CHANGE flag is cleared for all of the recently updated routes once
ripsend() returns.
1.13.3 riprequest() Function
Function riprequest() is called to generate a r esponse message for a given request.
Listing 1-48
route6d.c
1391 void
1392 riprequest(ifcp, np, nn, sin6)
1393 struct ifc *ifcp;
1394 struct netinfo6 *np;
1395 int nn;
1396 struct sockaddr_in6 *sin6;
1397 {
1398 int i;
1399 struct riprt *rrt;
1400
1401 if (!(nn == 1 && IN6_IS_ADDR_UNSPECIFIED(&np->rip6_dest) &&
1402 np->rip6_plen == 0 && np->rip6_metric == HOPCNT_INFINITY6)) {
1403 /* Specific response, don’t split-horizon */
1404 trace(1, ...