Lines Matching defs:encap_ip
3034 * headers ip + pim + u_int32 + encap_ip, to be passed up to the
3043 struct ip *encap_ip;
3074 encap_ip = (struct ip *)(reghdr + 1);
3078 "pim_input[register], encap_ip: %lx -> %lx, encap_ip len %d\n",
3079 (u_long)ntohl(encap_ip->ip_src.s_addr),
3080 (u_long)ntohl(encap_ip->ip_dst.s_addr),
3081 ntohs(encap_ip->ip_len));
3085 if (encap_ip->ip_v != IPVERSION) {
3089 "of the inner packet\n", encap_ip->ip_v);
3096 if (encap_ip->ip_hl != (sizeof(struct ip) >> 2)) {
3103 if (!IN_MULTICAST(encap_ip->ip_dst.s_addr)) {
3109 (u_long)ntohl(encap_ip->ip_dst.s_addr));
3121 if (encap_ip->ip_tos != ip_tos) {
3123 encap_ip->ip_tos = ip_tos;
3130 encap_ip->ip_sum = 0;
3131 encap_ip->ip_sum = in_cksum(m, encap_ip->ip_hl << 2);
3157 pimstat.pims_rcv_registers_bytes += ntohs(encap_ip->ip_len);
3168 (u_long)ntohl(encap_ip->ip_src.s_addr),
3169 (u_long)ntohl(encap_ip->ip_dst.s_addr),