Lines Matching refs:rp
181 register const struct rip *rp; in rip_print() local
192 if (i < sizeof(*rp)) { in rip_print()
196 i -= sizeof(*rp); in rip_print()
198 rp = (const struct rip *)dat; in rip_print()
202 rp->rip_vers)); in rip_print()
204 switch (rp->rip_vers) { in rip_print()
217 print_unknown_data(ndo, (const uint8_t *)&rp->rip_cmd, "\n\t", length); in rip_print()
224 rp->rip_cmd), in rip_print()
230 switch (rp->rip_cmd) { in rip_print()
234 ND_PRINT((ndo, ", routes: %u%s", j, rp->rip_vers == 2 ? " or less" : "")); in rip_print()
235 ni = (const struct rip_netinfo *)(rp + 1); in rip_print()
237 if (rp->rip_vers == 1) in rip_print()
242 else if (rp->rip_vers == 2) in rip_print()
260 if(!print_unknown_data(ndo, (const uint8_t *)rp, "\n\t", length)) in rip_print()
267 if(!print_unknown_data(ndo, (const uint8_t *)rp, "\n\t", length)) in rip_print()