Lines Matching refs:pim
120 * but PIM dependent defintions should be independent of IPv6...
123 struct pim {
125 /* upper 4bit: PIM version number; 2 for PIMv2 */
126 /* lower 4bit: the PIM message type, currently they are:
128 * Bootstrap, Assert, Graft (PIM-DM only),
129 * Graft-Ack (PIM-DM only), C-RP-Adv
222 ND_PRINT((ndo, "[|pim]"));
311 ND_PRINT((ndo, "[|pim]"));
317 * ftp://ftpeng.cisco.com/ipmulticast/specs/pim-autorp-spec01.txt
366 * 2 bits: PIM version supported, bit 0 is "supports v1", 1 is "v2".
421 register struct pim *pim = (struct pim *)bp;
427 ND_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),
458 * The last PIM-SM I-D before RFC2117 was published specified the
628 register struct pim *pim = (struct pim *)bp;
636 ND_TCHECK(pim->pim_rsv);
637 pimv2_addr_len = pim->pim_rsv;
641 ND_PRINT((ndo, ", cksum 0x%04x ", EXTRACT_16BITS(&pim->pim_cksum)));
642 if (EXTRACT_16BITS(&pim->pim_cksum) == 0) {
648 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 ND_PRINT((ndo, " [type %d]", PIM_TYPE(pim->pim_typever)));
1085 ND_PRINT((ndo, "[|pim]"));