Help on Kernel-Application Programme Communication

zam_ustc@263.net
Mon, 3 Jan 2000 15:07:00 +0200


Hi,everyone!
I am writing a IPv6 packet scheduling algorithm for the Linux
kernel.I want to schedule the packets according to the priority
assigned to them by a Priority Server. My thoughts goes as follows:
The kernel maitains a priority table for each packet-flow(the
packets who share the same src and dst addr, and the same ports,and
so on.) Before the output of a IPv6 packet, the kernel searches its
priority table,if it finds a priority for the packet,it then queues
the packet in the according queue; otherwise, it sends part of the
packet to a daemon programme running at the application layer.
The daemon programme then transfers the packet to the Priority
Server(usually not the same machine with the daemon programme)
for priority. The Server respones with the priority assigned
to the packet-flow. Then the daemon programme update the kernel's
priority table by some mechanism(how?).
The difficulty comes when I want the kernel wants to communicate
with the daemon. I don't know how to implement this. Maybe it is a
bad idea.But how can I? I'd really appreciate any assistance--I have
been thinking on it for such a long time.

Thanks a lot.

Mikel

_____________________________________________
首都在线--先进中国人的网上家园 http://www.263.net
免费邮箱 邮件杂志 签名邮件 邮件加密 邮件追身呼
搜索引擎 个人站点 在线游戏 网上聊天 网上挂号
金融王国 在线杀毒 跳蚤市场 软件下载 休闲娱乐
诺方安全,助您e路平安

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/