@@ -7,7 +7,7 @@ use uefi_macros::{unsafe_guid, Protocol};
77
88use crate :: { CStr8 , Char8 , Result , Status } ;
99
10- use super :: { IpAddress , MacAddr } ;
10+ use super :: { IpAddress , MacAddress } ;
1111
1212/// PXE Base Code protocol
1313#[ repr( C ) ]
@@ -67,7 +67,7 @@ pub struct BaseCode {
6767 arp : extern "efiapi" fn (
6868 this : & Self ,
6969 ip_addr : & IpAddress ,
70- mac_addr : Option < & mut MacAddr > ,
70+ mac_addr : Option < & mut MacAddress > ,
7171 ) -> Status ,
7272 set_parameters : extern "efiapi" fn (
7373 this : & Self ,
@@ -585,7 +585,7 @@ impl BaseCode {
585585 }
586586
587587 /// 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 {
589589 ( self . arp ) ( self , ip_addr, mac_addr) . into ( )
590590 }
591591
@@ -1194,7 +1194,7 @@ pub struct ArpEntry {
11941194 /// The ip address.
11951195 pub ip_addr : IpAddress ,
11961196 /// The mac address of the device that is addressed by [`Self::ip_addr`].
1197- pub mac_addr : MacAddr ,
1197+ pub mac_addr : MacAddress ,
11981198}
11991199
12001200/// An entry for the route table found in [`Mode::route_table`]
0 commit comments