}
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
return;
}
{
u_char type;
+ ndo->ndo_protocol = "pimv1";
ND_TCHECK_1(bp + 1);
type = EXTRACT_U_1(bp + 1);
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
return;
}
u_int numrps;
u_int hold;
+ ndo->ndo_protocol = "cisco_autorp";
if (len < 8)
goto trunc;
ND_TCHECK_1(bp);
return;
trunc:
- ND_PRINT("[|autorp]");
+ nd_print_trunc(ndo);
return;
}
const struct pim *pim = (const struct pim *)bp;
uint8_t pim_typever;
+ ndo->ndo_protocol = "pim";
#ifdef notyet /* currently we see only version and type */
ND_TCHECK_1(pim->pim_rsv);
#endif
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
return;
}
u_int pim_typever;
u_int pimv2_addr_len;
+ ndo->ndo_protocol = "pimv2";
if (len < 2)
goto trunc;
ND_TCHECK_1(pim->pim_rsv);
case 0: /* Null header */
ND_TCHECK_4(ip->ip_dst);
ND_PRINT("IP-Null-header %s > %s",
- ipaddr_string(ndo, &ip->ip_src),
- ipaddr_string(ndo, &ip->ip_dst));
+ ipaddr_string(ndo, ip->ip_src),
+ ipaddr_string(ndo, ip->ip_dst));
break;
case 4: /* IPv4 */
return;
trunc:
- ND_PRINT("[|pim]");
+ nd_print_trunc(ndo);
}
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */