Ok thanks, I understand this case.
But the problem is that we perform a lot of unnecessary mforward calls from 
ip_input.

The mrt route cache lookup is performed thanks to the src/dst addresse couple.
The interface of the cached route does not match the current interface and that 
is what prevents "infinite" loops.

Is that really how it is meant to be done?

Emeric

----- Mail original -----
De: "Andrey V. Elsukov" <bu7c...@yandex.ru>
À: "Emeric POUPON" <emeric.pou...@stormshield.eu>, freebsd-net@freebsd.org
Envoyé: Jeudi 25 Juin 2015 07:48:44
Objet: Re: Multicast routing questions

On 24.06.2015 18:13, Emeric POUPON wrote:
> Hi,
> 
> Actually, I don't really understand why imo.imo_multicast_loop is set
> to 1 in send_packet, ip_mroute.c
> 
> It seems we don't need to loop the packet once it is mrouted? 

I think this can be used for the case, when on the router some app has
been joined to multicast group on the specific interface used as
outgoing in send_packet.

-- 
WBR, Andrey V. Elsukov
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to