Re: [RTnet-developers] multicast support
Brought to you by:
bet-frogger,
kiszka
|
From: Jan K. <ki...@rt...> - 2005-06-14 09:05:45
|
Hi Amine, sorry for the late reply. >>What are you actually planning? Likely there is a different way to >>achieve it > > TO send an IGMP request to join a multicast goup ,the only information i had > is the rt_socket ,and i need to send directly the igmp packet without passing > by the ip level , that mean to use directly the xmit_start function ,to use > it i need rtnet_device pointer. you see the problem i had ? > So I have resolved the problem by adding a new function in "rtdev.c", its > role is to get rtnet_device by local_ip adress.it work well. The only > constrain that we must specify the local ip adress when using multicast. > What about rt_ip_route_output()? Doesn't it exactly do what you need? It fills a dest_route structure which then contains a pointer to the output rtdev. Take a look at rt_udp_sendmsg() for a usage example. Jan |