#[repr(C)]pub struct eoe_param {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub mac: eoe_ethaddr_t,
pub ip: eoe_ip4_addr_t,
pub subnet: eoe_ip4_addr_t,
pub default_gateway: eoe_ip4_addr_t,
pub dns_ip: eoe_ip4_addr_t,
pub dns_name: [c_char; 32],
}
Expand description
EoE IP request structure, storage only, no need to pack
Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
§mac: eoe_ethaddr_t
§ip: eoe_ip4_addr_t
§subnet: eoe_ip4_addr_t
§default_gateway: eoe_ip4_addr_t
§dns_ip: eoe_ip4_addr_t
§dns_name: [c_char; 32]
Implementations§
Source§impl eoe_param
impl eoe_param
pub fn mac_set(&self) -> u8
pub fn set_mac_set(&mut self, val: u8)
pub fn ip_set(&self) -> u8
pub fn set_ip_set(&mut self, val: u8)
pub fn subnet_set(&self) -> u8
pub fn set_subnet_set(&mut self, val: u8)
pub fn default_gateway_set(&self) -> u8
pub fn set_default_gateway_set(&mut self, val: u8)
pub fn dns_ip_set(&self) -> u8
pub fn set_dns_ip_set(&mut self, val: u8)
pub fn dns_name_set(&self) -> u8
pub fn set_dns_name_set(&mut self, val: u8)
pub fn new_bitfield_1( mac_set: u8, ip_set: u8, subnet_set: u8, default_gateway_set: u8, dns_ip_set: u8, dns_name_set: u8, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for eoe_param
impl RefUnwindSafe for eoe_param
impl Send for eoe_param
impl Sync for eoe_param
impl Unpin for eoe_param
impl UnwindSafe for eoe_param
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more