Home
last modified time | relevance | path

Searched refs:net_device (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/driver/net/
H A Dsysfs.rs106 let net_device = kobj.cast::<dyn NetDevice>().map_err(|_| { in show() localVariable
110 let addr_assign_type = net_device.addr_assign_type(); in show()
325 let net_device = kobj.cast::<dyn NetDevice>().map_err(|_| { in show() localVariable
329 let mac_addr = net_device.mac(); in show()
376 let net_device = kobj.cast::<dyn NetDevice>().map_err(|_| { in show() localVariable
380 if net_device in show()
383 && !net_device in show()
492 let net_device = _kobj.cast::<dyn NetDevice>().map_err(|_| { in show() localVariable
496 if !net_device in show()
500 net_device.set_operstate(Operstate::IF_OPER_DOWN); in show()
[all …]