Rust abstractions for kernel sources

2026-10-08来源 Rust Users ForumEnglish

Hi,

I just got my my kernel Rust enabled and have compiled a working minimal LKM, but see that I now need access to some of the kernel calls under the net framework. Which leads me to believe I need to create some Rust abstractions so that I can call these C calls from within Rust.

Problem is, I'm having difficulty figuring out how to properly build a Rust abstraction for kernel sources (a few functions within the net framework) and was hoping someone might know of a tutorial or some kind of guidance for doing so.

1 post - 1 participant

Read full topic

原文:https://www.a8q9.cn/en/article/rust-abstractions-for-kernel-sources-33815d.html

相关文章