Lines Matching refs:pim
2189 struct igmphdr *pim; in pim_rcv_v1() local
2193 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv_v1()
2196 pim = igmp_hdr(skb); in pim_rcv_v1()
2202 pim->group != PIM_V1_VERSION || pim->code != PIM_V1_REGISTER) in pim_rcv_v1()
2205 if (__pim_rcv(mrt, skb, sizeof(*pim))) { in pim_rcv_v1()
2216 struct pimreghdr *pim; in pim_rcv() local
2220 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr))) in pim_rcv()
2223 pim = (struct pimreghdr *)skb_transport_header(skb); in pim_rcv()
2224 if (pim->type != ((PIM_VERSION << 4) | (PIM_TYPE_REGISTER)) || in pim_rcv()
2225 (pim->flags & PIM_NULL_REGISTER) || in pim_rcv()
2226 (ip_compute_csum((void *)pim, sizeof(*pim)) != 0 && in pim_rcv()
2233 if (__pim_rcv(mrt, skb, sizeof(*pim))) { in pim_rcv()