| version 1.98.2.4, 2007/07/02 13:46:08 |
version 1.98.2.5, 2007/08/20 21:28:05 |
| Line 490 ip6_input(struct mbuf *m) |
|
| Line 490 ip6_input(struct mbuf *m) |
|
| else |
else |
| ip6stat.ip6s_forward_cachemiss++; |
ip6stat.ip6s_forward_cachemiss++; |
| |
|
| #define rt6_key(r) ((struct sockaddr_in6 *)((r)->rt_nodes->rn_key)) |
#define rt6_getkey(__rt) satocsin6(rt_getkey(__rt)) |
| |
|
| /* |
/* |
| * Accept the packet if the forwarding interface to the destination |
* Accept the packet if the forwarding interface to the destination |
| Line 510 ip6_input(struct mbuf *m) |
|
| Line 510 ip6_input(struct mbuf *m) |
|
| * the destination and the key of the rtentry has |
* the destination and the key of the rtentry has |
| * already done through looking up the routing table. |
* already done through looking up the routing table. |
| */ |
*/ |
| IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &rt6_key(rt)->sin6_addr) && |
IN6_ARE_ADDR_EQUAL(&ip6->ip6_dst, &rt6_getkey(rt)->sin6_addr) && |
| #endif |
#endif |
| rt->rt_ifp->if_type == IFT_LOOP) { |
rt->rt_ifp->if_type == IFT_LOOP) { |
| struct in6_ifaddr *ia6 = (struct in6_ifaddr *)rt->rt_ifa; |
struct in6_ifaddr *ia6 = (struct in6_ifaddr *)rt->rt_ifa; |