Lines Matching refs:pim
2182 struct igmphdr *pim; in pim_rcv_v1() local
2186 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv_v1()
2189 pim = igmp_hdr(skb); in pim_rcv_v1()
2195 pim->group != PIM_V1_VERSION || pim->code != PIM_V1_REGISTER) in pim_rcv_v1()
2198 if (__pim_rcv(mrt, skb, sizeof(*pim))) { in pim_rcv_v1()
2209 struct pimreghdr *pim; in pim_rcv() local
2213 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv()
2216 pim = (struct pimreghdr *)skb_transport_header(skb); in pim_rcv()
2217 if (pim->type != ((PIM_VERSION << 4) | (PIM_TYPE_REGISTER)) || in pim_rcv()
2218 (pim->flags & PIM_NULL_REGISTER) || in pim_rcv()
2219 (ip_compute_csum((void *)pim, sizeof(*pim)) != 0 && in pim_rcv()
2226 if (__pim_rcv(mrt, skb, sizeof(*pim))) { in pim_rcv()