On Fri, 12 Jul 2002, Andrei Boros wrote:
>
> Couldn't try the same thing under 2.4 because I have no machine with 2.4
> at my disposal.
>
fair enough.
BTW, now that i am actually thinking, another very stupid question -- if you
are trying to ingress police, do you have policing compiled in under QoS?
double check this. Infact the more i think about the more i believe this
may be your problem.
> How do I turn on debugging in the ingress code?
>
If you edit net/sched/sch_ingress.c at the very top you should see:
----------
#undef DEBUG_INGRESS
#ifdef DEBUG_INGRESS /* control */
#define DPRINTK(format,args...) printk(KERN_DEBUG format,##args)
#else
#define DPRINTK(format,args...)
#endif
#if 0 /* data */
#define D2PRINTK(format,args...) printk(KERN_DEBUG format,##args)
#else
#define D2PRINTK(format,args...)
#endif
-----------
convert to:
---
#if 1
#define DPRINTK(format,args...) printk(KERN_DEBUG format,##args)
#else
#define DPRINTK(format,args...)
#endif
#if 1 /* data */
#define D2PRINTK(format,args...) printk(KERN_DEBUG format,##args)
#else
#define D2PRINTK(format,args...)
#endif
-----------
run your tests and look at dmesg.
cheers,
jamal
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/