Lines Matching refs:pim
420 struct pimreghdr *pim;
425 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap)))
428 //pim = (struct pimreghdr*)skb->h.raw;
429 pim = (struct pimreghdr *)skb_transport_header(skb);
430 if (pim->type != ((PIM_VERSION<<4)|(PIM_REGISTER)) ||
431 (pim->flags&PIM_NULL_REGISTER) ||
432 (ip_compute_csum((void *)pim, sizeof(*pim)) != 0 &&
438 encap = (struct ipv6hdr *)(skb_transport_header(skb) + sizeof(*pim));
442 ntohs(encap->payload_len) + sizeof(*pim) > skb->len)
1347 * Control PIM assert (to activate pim will activate assert)