Page 1 of 1

Kernel - problem

Posted: Tue Jan 06, 2004 12:45 am
by ramtulasi
Hi Every One,

I am using Linux 2.4 with 8390 Network driver. For configuring rshaper i need to insert the following line in Global space of Kernel.

int (*net_shaper_rx_hook)(struct sk_buff *skb) = NULL;

Can you suggest me anyone steps to insert the line and where. I am very new to kernel part.

I am very greatful to you if any one help me in this regard.

Thanks in Advance

Tulasi

Posted: Tue Jan 06, 2004 2:51 pm
by Pyrite
Do you know what file it goes in?

Does it go in drivers/net/8390.c ?

Might be better off asking in the Kernel mailing list.