mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-10 03:56:49 +00:00
uevent should be format Enum of smoltcp socket should be optimized. need to add interface for routing subsys actix is still not abled to run. clean some casual added code to other places
10 lines
297 B
Rust
10 lines
297 B
Rust
use super::skbuff::SkBuff;
|
|
use crate::libs::rwlock::RwLock;
|
|
use alloc::sync::Arc;
|
|
use core::fmt::Debug;
|
|
pub trait NetlinkCallback: Send + Sync + Debug {
|
|
/// 接收到netlink数据包时的回调函数
|
|
fn netlink_rcv(&self, skb: Arc<RwLock<SkBuff>>) -> i32;
|
|
}
|
|
struct NetlinkCallbackData {}
|