Lines Matching refs:rp
180 register const struct rip *rp; in rip_print() local
191 if (i < sizeof(*rp)) { in rip_print()
195 i -= sizeof(*rp); in rip_print()
197 rp = (struct rip *)dat; in rip_print()
201 rp->rip_vers); in rip_print()
203 switch (rp->rip_vers) { in rip_print()
216 print_unknown_data((u_int8_t *)&rp->rip_cmd,"\n\t",length); in rip_print()
223 rp->rip_cmd), in rip_print()
229 switch (rp->rip_cmd) { in rip_print()
233 printf(", routes: %u%s", j, rp->rip_vers == 2 ? " or less" : ""); in rip_print()
234 ni = (struct rip_netinfo *)(rp + 1); in rip_print()
236 if (rp->rip_vers == 1) in rip_print()
241 else if (rp->rip_vers == 2) in rip_print()
259 if(!print_unknown_data((u_int8_t *)rp,"\n\t",length)) in rip_print()
266 if(!print_unknown_data((u_int8_t *)rp,"\n\t",length)) in rip_print()