Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:pim

24     "@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.49 2006-02-13 01:31:35 hannes Exp $ (LBL)";
102 * but PIM dependent defintions should be independent of IPv6...
105 struct pim {
107 /* upper 4bit: PIM version number; 2 for PIMv2 */
108 /* lower 4bit: the PIM message type, currently they are:
110 * Bootstrap, Assert, Graft (PIM-DM only),
111 * Graft-Ack (PIM-DM only), C-RP-Adv
203 (void)printf("[|pim]");
311 (void)printf("[|pim]");
317 * ftp://ftpeng.cisco.com/ipmulticast/specs/pim-autorp-spec01.txt
365 * 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) {
644 switch (PIM_TYPE(pim->pim_typever)) {
810 * |PIM Ver| Type | Addr length | Checksum |
849 if (PIM_TYPE(pim->pim_typever) != 7) { /*not for Graft-ACK*/
864 if (PIM_TYPE(pim->pim_typever) != 7) { /*not for Graft-ACK*/
1076 (void)printf(" [type %d]", PIM_TYPE(pim->pim_typever));
1083 (void)printf("[|pim]");