Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/ip6_output.c
Show First 20 Lines • Show All 488 Lines • ▼ Show 20 Lines | #endif /* IPSEC */ | ||||
IP6STAT_INC(ip6s_localout); | IP6STAT_INC(ip6s_localout); | ||||
/* | /* | ||||
* Route packet. | * Route packet. | ||||
*/ | */ | ||||
if (ro == NULL) { | if (ro == NULL) { | ||||
ro = &ip6route; | ro = &ip6route; | ||||
bzero((caddr_t)ro, sizeof(*ro)); | bzero((caddr_t)ro, sizeof(*ro)); | ||||
} else | } | ||||
ro->ro_flags |= RT_LLE_CACHE; | |||||
ro_pmtu = ro; | ro_pmtu = ro; | ||||
if (opt && opt->ip6po_rthdr) | if (opt && opt->ip6po_rthdr) | ||||
ro = &opt->ip6po_route; | ro = &opt->ip6po_route; | ||||
dst = (struct sockaddr_in6 *)&ro->ro_dst; | dst = (struct sockaddr_in6 *)&ro->ro_dst; | ||||
#ifdef FLOWTABLE | #ifdef FLOWTABLE | ||||
if (ro->ro_rt == NULL) | if (ro->ro_rt == NULL) | ||||
(void )flowtable_lookup(AF_INET6, m, (struct route *)ro); | (void )flowtable_lookup(AF_INET6, m, (struct route *)ro); | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 2,600 Lines • Show Last 20 Lines |