Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/ip6_forward.c
Context not available. | |||||
goto pass; | goto pass; | ||||
odst = ip6->ip6_dst; | odst = ip6->ip6_dst; | ||||
/* Run through list of hooks for output packets. */ | /* Run through list of hooks for forwarded packets. */ | ||||
error = pfil_run_hooks(&V_inet6_pfil_hook, &m, rt->rt_ifp, PFIL_OUT, NULL); | error = pfil_run_hooks(&V_inet6_pfil_hook, &m, rt->rt_ifp, PFIL_FWD, NULL); | ||||
if (error != 0 || m == NULL) | if (error != 0 || m == NULL) | ||||
goto freecopy; /* consumed by filter */ | goto freecopy; /* consumed by filter */ | ||||
ip6 = mtod(m, struct ip6_hdr *); | ip6 = mtod(m, struct ip6_hdr *); | ||||
Context not available. |