Using ebtables to replace the TC mechanism of linux kernel
"YUNG-CHANG WANG <王勇璋>" <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
Recently I'm taking a survey on Linux packet QoS mechanisms, using some parameters such as packet type, MAC, IP addr...etc, to replace original Linux TC. However, I found the Linux QoS mechanism didn't provide me a good solution. Here are the requirements: on the target machine, the packets from input should be parsed to be examined their layer 2 (this is why I need ebtableds) and layer 3 header, checking if these incoming packets match the rules I defined. These rules decide which kinds of packets should be put to different priority queues. What I mentioned here "different priority queues" are quite different from the queues defined in Linux kernel. They are HW queues. Don't worry about the HW queues, they are implemented in the HW driver, so all I need is to classify all the packets incoming, dispatch them to their proper queues before they're forwarding (maybe encapsulate one more tag to specify their priority). My problem is, I traced both userspace program and kernel space source code, and it seemed there's no functions like what classification do. What it was done is by parse, compare, and match to filter the packets. If I would like to add the feature as I just mentioned, how or where should I start? The ebtables seems to have less direct connection with Linux RX and TX. If there's anyone who can give me some clue or advice, I will be very appreciated. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Ebtables-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ebtables-devel