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
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers