Re: [LARTC] Data collection in Linux TC queue

2004-07-13 Thread Sipat Triukose
Dear Catalin BOIE,

Thank you very much for your advice. I might want to collect pkt size of
all pkt ever enqueue during a period of time. Would you mind please give
me more detail regarding how to use "libnetlink" or direct me to any
helpful sources. Thank you very much.


On Tue, 2004-07-13 at 06:13, Catalin BOIE wrote:
> > Dear All,
> >
> > Would you guy have any advices concerning how to get some data like
> > queue length, pkt size, and so forth, from the running queue.
> 
> Queue len, bytes, bps, pps, packets can be obtain by using libnetlink.
> What do you mean by "pkt size"? An average or something for every packet?
> 
> >
> > Right now, I modified the queue disc to print out some info I want using
> > printk() and use syslogd to catch those info up. The problem is, in
> > burst, syslogd can't catch all the msg the queue sent out.
> >
> > Are there any standard or better way to collect those info from the
> > queue disc ?
> >
> > Thank you very much in advance for every advices.
> >
> > --
> > Sipat Triukose <[EMAIL PROTECTED]>
> > Case Western Reserve University
> >
> > ___
> > LARTC mailing list / [EMAIL PROTECTED]
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
> 
> ---
> Catalin(ux aka Dino) BOIE
> catab at deuroconsult.ro
> http://kernel.umbrella.ro/
-- 
Sipat Triukose <[EMAIL PROTECTED]>
Case Western Reserve University

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] Data collection in Linux TC queue

2004-07-13 Thread Sipat Triukose
Dear All,

Would you guy have any advices concerning how to get some data like
queue length, pkt size, and so forth, from the running queue. 

Right now, I modified the queue disc to print out some info I want using
printk() and use syslogd to catch those info up. The problem is, in
burst, syslogd can't catch all the msg the queue sent out. 

Are there any standard or better way to collect those info from the
queue disc ? 

Thank you very much in advance for every advices.

-- 
Sipat Triukose <[EMAIL PROTECTED]>
Case Western Reserve University

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] kernel message logging

2004-05-19 Thread Sipat Triukose
Dear All,

I'm writing a Kernal module. The module is a network queue. I'm
debugging my module by print some variables and activities into
KERN_ALERT and using syslogd to catch those message. 
The problem is, on the burst, syslogd can't catch all of them. It
neglect many of them actually and I kinda need those missing message.
Any suggestions are very welcome. Thank you in advance for you guys help
:)

By the way, I'm using Redhat Linux 9 with Kernel 2.4.25

Thanks,

Sipat Triukose

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] How to get src and dest IP from packet

2004-03-25 Thread Sipat Triukose
Dear All,

I am trying to get src and dest IP from packet send from IP to TC via
struct sk_buff *skb;

In enqueue function in sch_myqueue, I get my IP like this

struct iphdr* iph=skb->nh.iph;
printk(KERN_ALERT "%u::%u\n",iph->saddr,iph->daddr);

but it turned out to be that I always get the same number and it's not
an IP. The following are some of my result

Mar 25 04:07:26 darth kernel: 1250891393::1194021458
Mar 25 04:07:26 darth kernel: 1250891393::1194021458
Mar 25 04:07:26 darth kernel: 1250891393::1194021458

Please feel free to contribute any ideas you guys have got. Any sources
should I consult? Thank you very much in advance for your help.

Sincerely,

Sipat Triukose
-- 

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] Linux TC implementation Overview kernel 2.4 update

2004-02-20 Thread Sipat Triukose
Dear All,

I am trying to download the kernel 2.4 update version of Linux TC
implementation overview paper. However, I can't access the ftp link.
Would you please kindly suggest me where should I get the paper.

Thank a lot,

Sipat Triukose



___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] how to implement new queue discipline

2004-02-18 Thread Sipat Triukose
Hi,

I am a newbie for linux routing. Now, I have an idea about new qdisc
(queue discipline) and I would like to try to implement it as a module
for linux TC. Can you guys give me some advices concerning how should I
start. Where should I learn how qdisc module interface with others? and
things should I know. Thank you very much in advance for your kindly
advices :)

Thank you,

Sipat Triukose

-- 


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/