Re: Accessing TC objects via netlink interface

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rajkumars@xxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux