Searched refs:oip (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dip_icmp.c200 struct ip *oip = mtod(n, struct ip *), *nip; local
209 oiplen = IP_VHL_HL(oip->ip_vhl) << 2;
213 printf("icmp_error(%p, %x, %d)\n", oip, type, code);
222 if (oip->ip_off &~ (IP_MF|IP_DF))
224 if (oip->ip_p == IPPROTO_ICMP && type != ICMP_REDIRECT &&
226 !ICMP_INFOTYPE(((struct icmp *)(void *)((caddr_t)oip + oiplen))->
249 icmplen = min(oiplen + 8, oip->ip_len);
301 bcopy((caddr_t)oip, (caddr_t)nip, sizeof(struct ip));
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipsec.c2214 struct ip *oip; local
2272 oip = mtod(n, struct ip *);
2277 oip = mtod(m->m_next, struct ip *);
2280 ovbcopy((caddr_t)ip, (caddr_t)oip, hlen);
2286 ip_ecn_ingress(ip4_ipsec_ecn, &ip->ip_tos, &oip->ip_tos);
2379 // ip_ecn_ingress(ip4_ipsec_ecn, &ip->ip_tos, &oip->ip_tos);
2554 // ip_ecn_ingress(ip4_ipsec_ecn, &ip->ip_tos, &oip->ip_tos);
3942 struct ip *oip; local
3958 oip = mtod(m, struct ip *);
3960 hlen = _IP_VHL_HL(oip
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c2212 u_int16_t oip = *ip; local
2219 *pc = pf_cksum_fixup(*pc, oip, *ip, u);
2220 *ic = pf_cksum_fixup(*ic, oip, *ip, 0);

Completed in 36 milliseconds