@@ -7,7 +7,7 @@ use uefi_macros::{unsafe_guid, Protocol};
7
7
8
8
use crate :: { CStr8 , Char8 , Result , Status } ;
9
9
10
- use super :: { IpAddress , MacAddr } ;
10
+ use super :: { IpAddress , MacAddress } ;
11
11
12
12
/// PXE Base Code protocol
13
13
#[ repr( C ) ]
@@ -67,7 +67,7 @@ pub struct BaseCode {
67
67
arp : extern "efiapi" fn (
68
68
this : & Self ,
69
69
ip_addr : & IpAddress ,
70
- mac_addr : Option < & mut MacAddr > ,
70
+ mac_addr : Option < & mut MacAddress > ,
71
71
) -> Status ,
72
72
set_parameters : extern "efiapi" fn (
73
73
this : & Self ,
@@ -585,7 +585,7 @@ impl BaseCode {
585
585
}
586
586
587
587
/// Uses the ARP protocol to resolve a MAC address.
588
- pub fn arp ( & mut self , ip_addr : & IpAddress , mac_addr : Option < & mut MacAddr > ) -> Result {
588
+ pub fn arp ( & mut self , ip_addr : & IpAddress , mac_addr : Option < & mut MacAddress > ) -> Result {
589
589
( self . arp ) ( self , ip_addr, mac_addr) . into ( )
590
590
}
591
591
@@ -1194,7 +1194,7 @@ pub struct ArpEntry {
1194
1194
/// The ip address.
1195
1195
pub ip_addr : IpAddress ,
1196
1196
/// The mac address of the device that is addressed by [`Self::ip_addr`].
1197
- pub mac_addr : MacAddr ,
1197
+ pub mac_addr : MacAddress ,
1198
1198
}
1199
1199
1200
1200
/// An entry for the route table found in [`Mode::route_table`]
0 commit comments