In Kernel Traffic Control

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

 



Hello
        I am porting a module from 2.6.11 to 2.6.25. This module needs
an in kernel support for traffic control. While the rtnetlink.c file
gives me hooks to do traffic controlling from user space, it is
inefficient to use netlink messages for traffic control inside a
kernel module. Besides, when I try to send netlink messages via
rtnl_unicast from a module it just blocks for ever! I have tried a lot
of hacks but all of them hit the road block of some data variable
being a static one or the structure definition being in a '.c' file. I
have tried mocking the doit and dumpit functions defined in sch_api.c
and sch_htb.c etc in net/sched but as I have said it hits the road
block of something being static or a data structure definition being
in a '.c' file. Is there is a route around this problem?
      I am using the 2.6.25 kernel.

Regards
Anirudh Badam

-- 
Like Marvin the paranoid android says, "Whats the point?"!!!
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux