Home | History | Annotate | Download | only in netmpls

Lines Matching refs:oip

162 	struct ip *oip = mtod(n, struct ip *), *nip;
163 unsigned oiplen = oip->ip_hl << 2;
191 if (oip->ip_off &~ htons(IP_MF|IP_DF))
193 if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT &&
195 !ICMP_INFOTYPE(((struct icmp *)((char *)oip + oiplen))->icmp_type))
208 if (icmp_ratelimit(&oip->ip_src, type, code))
215 icmplen = uimin(ICMP_EXT_OFFSET, ntohs(oip->ip_len));
218 * Defend against mbuf chains shorter than oip->ip_len - oiplen:
307 nip->ip_src = oip->ip_src;
308 nip->ip_dst = oip->ip_dst;