Lines Matching defs:pim
24 "@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.49 2006-02-13 01:31:35 hannes Exp $ (LBL)";
105 struct pim {
205 (void)printf("[|pim]");
313 (void)printf("[|pim]");
319 * ftp://ftpeng.cisco.com/ipmulticast/specs/pim-autorp-spec01.txt
421 register struct pim *pim = (struct pim *)bp;
427 TCHECK(pim->pim_rsv);
430 switch (PIM_VER(pim->pim_typever)) {
434 PIM_VER(pim->pim_typever),
435 tok2str(pimv2_type_values,"Unknown Type",PIM_TYPE(pim->pim_typever)),
440 PIM_VER(pim->pim_typever),
442 tok2str(pimv2_type_values,"Unknown Type",PIM_TYPE(pim->pim_typever)));
448 PIM_VER(pim->pim_typever),
626 register struct pim *pim = (struct pim *)bp;
634 TCHECK(pim->pim_rsv);
635 pimv2_addr_len = pim->pim_rsv;
639 printf(", cksum 0x%04x ", EXTRACT_16BITS(&pim->pim_cksum));
640 if (EXTRACT_16BITS(&pim->pim_cksum) == 0) {
646 switch (PIM_TYPE(pim->pim_typever)) {
851 if (PIM_TYPE(pim->pim_typever) != 7) { /*not for Graft-ACK*/
866 if (PIM_TYPE(pim->pim_typever) != 7) { /*not for Graft-ACK*/
1078 (void)printf(" [type %d]", PIM_TYPE(pim->pim_typever));
1085 (void)printf("[|pim]");