Lines Matching refs:radvert
155 struct nd_router_advert *radvert;
170 radvert = (struct nd_router_advert *) msg;
172 if (!edefs || DFLT_AdvManagedFlag != (ND_RA_FLAG_MANAGED == (radvert->nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)))
174 (radvert->nd_ra_flags_reserved & ND_RA_FLAG_MANAGED)?"on":"off");
176 if (!edefs || DFLT_AdvOtherConfigFlag != (ND_RA_FLAG_OTHER == (radvert->nd_ra_flags_reserved & ND_RA_FLAG_OTHER)))
178 (radvert->nd_ra_flags_reserved & ND_RA_FLAG_OTHER)?"on":"off");
180 if (!edefs || DFLT_AdvReachableTime != ntohl(radvert->nd_ra_reachable))
181 printf("\tAdvReachableTime %u;\n", ntohl(radvert->nd_ra_reachable));
183 if (!edefs || DFLT_AdvRetransTimer != ntohl(radvert->nd_ra_retransmit))
184 printf("\tAdvRetransTimer %u;\n", ntohl(radvert->nd_ra_retransmit));
186 if (!edefs || DFLT_AdvCurHopLimit != radvert->nd_ra_curhoplimit)
187 printf("\tAdvCurHopLimit %u;\n", radvert->nd_ra_curhoplimit);
189 if (!edefs || (3*DFLT_MaxRtrAdvInterval) != ntohs(radvert->nd_ra_router_lifetime))
190 printf("\tAdvDefaultLifetime %hu;\n", ntohs(radvert->nd_ra_router_lifetime));
193 if (!edefs || DFLT_AdvHomeAgentFlag != (ND_RA_FLAG_HOME_AGENT == (radvert->nd_ra_flags_reserved & ND_RA_FLAG_HOME_AGENT)))
195 (radvert->nd_ra_flags_reserved & ND_RA_FLAG_HOME_AGENT)?"on":"off");
199 if (!edefs || (((radvert->nd_ra_flags_reserved & 0x18) >> 3) & 0xff) != DFLT_AdvDefaultPreference) {
201 print_preferences(((radvert->nd_ra_flags_reserved & 0x18) >> 3) & 0xff);
386 if (!edefs || (((radvert->nd_ra_flags_reserved & 0x18) >> 3) & 0xff) != DFLT_AdvRoutePreference) {