Lines Matching defs:pim
50 #include <linux/pim.h>
614 struct pimreghdr *pim;
625 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap)))
628 pim = (struct pimreghdr *)skb_transport_header(skb);
629 if (pim->type != ((PIM_VERSION << 4) | PIM_REGISTER) ||
630 (pim->flags & PIM_NULL_REGISTER) ||
632 sizeof(*pim), IPPROTO_PIM,
633 csum_partial((void *)pim, sizeof(*pim), 0)) &&
639 sizeof(*pim));
643 ntohs(encap->payload_len) + sizeof(*pim) > skb->len)
1678 * Control PIM assert (to activate pim will activate assert)