Hi,
In case of configured tunneling in ip6_output() function at what stage the
outgoing interface is found as gif_if. I think the
following line number-646 finds the corresponding default gif_if interface
is found.
/*code taken from ip6_output*/
644 if (ifp == NULL) {
645 if (ro->ro_rt == 0) {
646 ro->ro_rt = rtalloc1((struct sockaddr *)&ro->ro_dst, 0, 0UL);
648 }
649 if (ro->ro_rt == 0) {
650 ip6stat.ip6s_noroute++;
651 error = EHOSTUNREACH;
652 /* XXX in6_ifstat_inc(ifp, ifs6_out_discard) */
653 goto bad;
654 }
655 ia = ifatoia6(ro->ro_rt->rt_ifa);
656 ifp = ro->ro_rt->rt_ifp;
657 ro->ro_rt->rt_use++;
658 }
--
And pls explain me when the gif_output() is called
thanks,
FreeBSDlover
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message