Skip to contentSkip to conversation

Adding multicast routes using Netlink sockets

DISCUSSION Naveen Kumar 2 participants 2 messages Jul 8, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I was trying to check if you can add multicast routes to kernel using netlink sockets in a way similar to unicast routes. As netlink sockets can be used to add unicast routes to FIB, can you add multicast routes to Multicast Forwarding Cache so that kernel can support Multicast Forwarding?

If this is possible, how would you go about giving
options to the netlink sockets?

Please inform me by CCing your answers/suggestions to me.

Thanks,
Naveen.

__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

#1 lore raw
Quoted 6 lines · Naveen Kumar

I was trying to check if you can add multicast routes to kernel using netlink sockets in a way similar to unicast routes.

If this is possible, how would you go about giving
options to the netlink sockets?

The fastest way to figure this out is to see whether it can be done with the "ip" command. If so, then look at the iproute2 source code.

Chris