Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet/ip_output.c
Show First 20 Lines • Show All 506 Lines • ▼ Show 20 Lines | #endif | ||||
if (ro->ro_nh->nh_flags & NHF_HOST) | if (ro->ro_nh->nh_flags & NHF_HOST) | ||||
mtu = ro->ro_nh->nh_mtu; | mtu = ro->ro_nh->nh_mtu; | ||||
else | else | ||||
mtu = ifp->if_mtu; | mtu = ifp->if_mtu; | ||||
src = IA_SIN(ia)->sin_addr; | src = IA_SIN(ia)->sin_addr; | ||||
} else { | } else { | ||||
struct nhop_object *nh; | struct nhop_object *nh; | ||||
nh = fib4_lookup(M_GETFIB(m), ip->ip_dst, 0, NHR_NONE, 0); | nh = fib4_lookup(M_GETFIB(m), ip->ip_dst, 0, NHR_NONE, | ||||
m->m_pkthdr.flowid); | |||||
if (nh == NULL) { | if (nh == NULL) { | ||||
#if defined(IPSEC) || defined(IPSEC_SUPPORT) | #if defined(IPSEC) || defined(IPSEC_SUPPORT) | ||||
/* | /* | ||||
* There is no route for this packet, but it is | * There is no route for this packet, but it is | ||||
* possible that a matching SPD entry exists. | * possible that a matching SPD entry exists. | ||||
*/ | */ | ||||
no_route_but_check_spd = 1; | no_route_but_check_spd = 1; | ||||
goto sendit; | goto sendit; | ||||
▲ Show 20 Lines • Show All 1,068 Lines • Show Last 20 Lines |