Lines Matching refs:pim
24 __RCSID("$NetBSD: print-pim.c,v 1.12 2024/09/02 16:15:32 christos Exp $");
27 /* \summary: Protocol Independent Multicast (PIM) printer */
143 * but PIM dependent definitions should be independent of IPv6...
146 struct pim {
148 /* upper 4bit: PIM version number; 2 for PIMv2 */
149 /* lower 4bit: the PIM message type, currently they are:
151 * Bootstrap, Assert, Graft (PIM-DM only),
152 * Graft-Ack (PIM-DM only), C-RP-Adv
347 * ftp://ftpeng.cisco.com/ipmulticast/specs/pim-autorp-spec01.txt
396 * 2 bits: PIM version supported, bit 0 is "supports v1", 1 is "v2".
460 const struct pim *pim = (const struct pim *)bp;
463 ndo->ndo_protocol = "pim";
465 pim_typever = GET_U_1(pim->pim_typever);
493 * The last PIM-SM I-D before RFC2117 was published specified the
691 const struct pim *pim = (const struct pim *)bp;
704 pim_typever = GET_U_1(pim->pim_typever);
706 pimv2_addr_len = GET_U_1(pim->pim_rsv) & 0x0f;
715 ND_PRINT(", cksum 0x%04x ", GET_BE_U_2(pim->pim_cksum));
716 if (GET_BE_U_2(pim->pim_cksum) == 0) {
729 * calculated over the entire PIM Register
944 * |PIM Ver| Type | Addr length | Checksum |
1184 subtype = PIM_SUBTYPE(GET_U_1(pim->pim_rsv));