Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

rtnetlink: add partial support of tc qdisc & class and bpf filter#288

Open
wineway wants to merge 14 commits intolittle-dude:masterfrom
wineway:master
Open

rtnetlink: add partial support of tc qdisc & class and bpf filter#288
wineway wants to merge 14 commits intolittle-dude:masterfrom
wineway:master

Conversation

@wineway
Copy link
Copy Markdown

@wineway wineway commented Aug 25, 2022

Any comments are welcome🥵

Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
@wineway wineway changed the title rtnetlink: add partial support of qdisc & class and bpf filter rtnetlink: add partial support of tc qdisc & class and bpf filter Aug 25, 2022
wineway added 10 commits August 30, 2022 10:17
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
Signed-off-by: wineway <wangyuweihx@gmail.com>
@wineway wineway marked this pull request as ready for review October 15, 2022 13:03
@JohnTitor
Copy link
Copy Markdown
Collaborator

Sorry but we're going to deprecate this repo in favor of https://github.com/rust-netlink, could you submit a new PR there?

@@ -0,0 +1,441 @@
use std::fs::File;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add License or copyright notice on the first line.

use anyhow::Context;
use std::mem::size_of;

// SPDX-License-Identifier: MIT
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The license needs to be moved to the file header.

@@ -0,0 +1,107 @@
pub mod tc_htb {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add License or copyright notice on the first line.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants