Lines Matching defs:ip_hdr
116 struct ip *ip_hdr;
134 if (len < sizeof(*ip_hdr)) {
136 len, sizeof(*ip_hdr));
140 ip_hdr = (struct ip *) buf;
142 pim_inet4_dump("<src?>", ip_hdr->ip_src, src_str, sizeof(src_str));
143 pim_inet4_dump("<dst?>", ip_hdr->ip_dst, dst_str, sizeof(dst_str));
145 ip_hlen = ip_hdr->ip_hl << 2; /* ip_hl gives length in 4-byte words */
149 src_str, dst_str, ifp->name, len, ip_hlen, ip_hdr->ip_p);
152 if (ip_hdr->ip_p != PIM_IP_PROTO_PIM) {
154 ip_hdr->ip_p, PIM_IP_PROTO_PIM);
206 src_str, dst_str, ifp->name, ip_hdr->ip_ttl,
212 ip_hdr->ip_src,
221 neigh = pim_neighbor_find(ifp, ip_hdr->ip_src);
232 ip_hdr->ip_src,
237 ip_hdr->ip_src,