Searched refs:ip6forward_rt (Results 1 - 2 of 2) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | route6.c | 147 struct route_in6 ip6forward_rt; local 220 bzero(&ip6forward_rt, sizeof (ip6forward_rt)); 224 ip6_forward(m, &ip6forward_rt, IPV6_SRCRT_NEIGHBOR, 0); 226 ip6_forward(m, &ip6forward_rt, IPV6_SRCRT_NOTNEIGHBOR, 0); 228 ip6_forward(m, &ip6forward_rt, 1, 0); 232 if (ip6forward_rt.ro_rt != NULL) { 233 rtfree(ip6forward_rt.ro_rt); 234 ip6forward_rt.ro_rt = NULL;
|
H A D | ip6_forward.c | 90 ip6_forward(struct mbuf *m, struct route_in6 *ip6forward_rt, argument 305 dst = (struct sockaddr_in6 *)&ip6forward_rt->ro_dst; 308 * ip6forward_rt->ro_dst.sin6_addr is equal to ip6->ip6_dst 310 if (ip6forward_rt->ro_rt == 0 || 311 (ip6forward_rt->ro_rt->rt_flags & RTF_UP) == 0) { 312 if (ip6forward_rt->ro_rt) { 313 rtfree(ip6forward_rt->ro_rt); 314 ip6forward_rt->ro_rt = 0; 317 rtalloc_ign((struct route *)ip6forward_rt, 321 if (ip6forward_rt [all...] |
Completed in 28 milliseconds