Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Accessing TC objects via netlink interface
Date: Thu, 11 Dec 2003 14:39:22 +0000	[thread overview]
Message-ID: <marc-lartc-107115521801303@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107114958526692@msgid-missing>

rajkumars@asianetindia.com wrote:
> Hi,
> 
> While going through the README of Michal's SNMP extension, he collects stats using netlink interface. Is their any howto or other docs to learn how it works? 
> 
> raj
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


The most useful places I can think of are:

- kernel: include/linux/rtnetlink.h, include/linux/pkt_sched.h
- kernel: net/core/sched_api.c, net/core/rtnetlink.c
- iproute2 source, look especially at rtnl_wilddump_request,
   rtnl_dump_filter and rtnl_talk
- netlink man pages
- Jamal Hadi's netlink over IP RFC draft

Best regards,
Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-12-11 14:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 12:23 [LARTC] Accessing TC objects via netlink interface rajkumars
2003-12-11 13:48 ` Lawrence MacIntyre
2003-12-11 14:39 ` Patrick McHardy [this message]
2003-12-11 15:14 ` Michal Charvat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-107115521801303@msgid-missing \
    --to=kaber@trash.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox