[mpls-linux-general] Kernel debugging, multicast capability
Status: Beta
Brought to you by:
jleu
From: Yvan P. <yp...@cs...> - 2001-10-31 20:05:14
|
Hi, I would like to add the capability of your MPLS layer to forward packets on several interfaces (multicast...). I have read the code and found that the best way to do that was to add entries in the mii_instruction array in your mpls_in_info structure. The length of this array would be 2*N where N is the max number of interfaces to send the packet through instead of 2, and I plan to add a loop in the mpls_input routine to duplicate the packet and send it to several interfaces. Do you think this is the correct way to handle the problem ? Also, I have never coded inside the kernel, hence this (obvious) question: what tool do you use to debug your code except printk ? Thanks, Yvan ________________________________________________________________________ yv...@po... University of Virginia http://www.pointurier.org Department of Computer Science |