Lines Matching refs:pim
126 struct pim { struct
458 register const struct pim *pim = (const struct pim *)bp; in pim_print() local
461 ND_TCHECK(pim->pim_rsv); in pim_print()
464 ND_TCHECK(pim->pim_typever); in pim_print()
465 switch (PIM_VER(pim->pim_typever)) { in pim_print()
469 PIM_VER(pim->pim_typever), in pim_print()
470 tok2str(pimv2_type_values,"Unknown Type",PIM_TYPE(pim->pim_typever)), in pim_print()
475 PIM_VER(pim->pim_typever), in pim_print()
477 tok2str(pimv2_type_values,"Unknown Type",PIM_TYPE(pim->pim_typever)))); in pim_print()
483 PIM_VER(pim->pim_typever), in pim_print()
697 register const struct pim *pim = (const struct pim *)bp; in pimv2_print() local
704 ND_TCHECK(pim->pim_rsv); in pimv2_print()
705 pimv2_addr_len = pim->pim_rsv; in pimv2_print()
711 ND_TCHECK(pim->pim_cksum); in pimv2_print()
712 ND_PRINT((ndo, ", cksum 0x%04x ", EXTRACT_16BITS(&pim->pim_cksum))); in pimv2_print()
713 if (EXTRACT_16BITS(&pim->pim_cksum) == 0) { in pimv2_print()
716 if (PIM_TYPE(pim->pim_typever) == PIMV2_TYPE_REGISTER) { in pimv2_print()
755 switch (PIM_TYPE(pim->pim_typever)) { in pimv2_print()
969 if (PIM_TYPE(pim->pim_typever) != 7) { /*not for Graft-ACK*/ in pimv2_print()
981 if (PIM_TYPE(pim->pim_typever) != 7) { /*not for Graft-ACK*/ in pimv2_print()
1180 ND_PRINT((ndo, " [type %d]", PIM_TYPE(pim->pim_typever))); in pimv2_print()