Lines Matching defs:pim
1922 struct igmphdr *pim;
1926 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr)))
1929 pim = igmp_hdr(skb);
1935 pim->group != PIM_V1_VERSION || pim->code != PIM_V1_REGISTER)
1938 if (__pim_rcv(mrt, skb, sizeof(*pim))) {
1949 struct pimreghdr *pim;
1953 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(struct iphdr)))
1956 pim = (struct pimreghdr *)skb_transport_header(skb);
1957 if (pim->type != ((PIM_VERSION<<4)|(PIM_REGISTER)) ||
1958 (pim->flags&PIM_NULL_REGISTER) ||
1959 (ip_compute_csum((void *)pim, sizeof(*pim)) != 0 &&
1966 if (__pim_rcv(mrt, skb, sizeof(*pim))) {