Home | History | Annotate | Download | only in tcpdump

Lines Matching full:pim

24     "@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.45.2.4 2006/02/13 01:32:34 hannes Exp $ (LBL)";
94 * but PIM dependent defintions should be independent of IPv6...
97 struct pim {
99 /* upper 4bit: PIM version number; 2 for PIMv2 */
100 /* lower 4bit: the PIM message type, currently they are:
102 * Bootstrap, Assert, Graft (PIM-DM only),
103 * Graft-Ack (PIM-DM only), C-RP-Adv
207 (void)printf("[|pim]");
315 (void)printf("[|pim]");
321 * ftp://ftpeng.cisco.com/ipmulticast/specs/pim-autorp-spec01.txt
369 * 2 bits: PIM version supported, bit 0 is "supports v1", 1 is "v2".
419 register struct pim *pim = (struct pim *)bp;
425 TCHECK(pim->pim_rsv);
428 switch (PIM_VER(pim->pim_typever)) {
432 PIM_VER(pim->pim_typever),
433 tok2str(pimv2_type_values,"Unknown Type",PIM_TYPE(pim->pim_typever)),
438 PIM_VER(pim->pim_typever),
440 tok2str(pimv2_type_values,"Unknown Type",PIM_TYPE(pim->pim_typever)));
446 PIM_VER(pim->pim_typever),
456 * The last PIM-SM I-D before RFC2117 was published specified the
624 register struct pim *pim = (struct pim *)bp;
632 TCHECK(pim->pim_rsv);
633 pimv2_addr_len = pim->pim_rsv;
637 printf(", cksum 0x%04x ", EXTRACT_16BITS(&pim->pim_cksum));
638 if (EXTRACT_16BITS(&pim->pim_cksum) == 0) {
646 switch (PIM_TYPE(pim->pim_typever)) {
812 * |PIM Ver| Type | Addr length | Checksum |
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]");