diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-03-26 15:16:33 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-03-26 15:16:33 +0000 |
commit | 170bbfd4875b2a3479101b5f5892cdedcf857fd0 (patch) | |
tree | 36f5aed7cdabbd80b26925ae729bf33ccf4d2926 /src/include/ipxe/efi | |
parent | dcad73ca5ad3e1fe011c52a24036f67ad69fadc1 (diff) | |
download | ipxe-170bbfd4875b2a3479101b5f5892cdedcf857fd0.zip ipxe-170bbfd4875b2a3479101b5f5892cdedcf857fd0.tar.gz ipxe-170bbfd4875b2a3479101b5f5892cdedcf857fd0.tar.bz2 |
[efi] Add efi_path_mac() to parse a MAC address from an EFI device path
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi')
-rw-r--r-- | src/include/ipxe/efi/efi_path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h index 503bd43..57fce40 100644 --- a/src/include/ipxe/efi/efi_path.h +++ b/src/include/ipxe/efi/efi_path.h @@ -43,6 +43,7 @@ efi_path_prev ( EFI_DEVICE_PATH_PROTOCOL *path, extern EFI_DEVICE_PATH_PROTOCOL * efi_path_end ( EFI_DEVICE_PATH_PROTOCOL *path ); extern size_t efi_path_len ( EFI_DEVICE_PATH_PROTOCOL *path ); +extern void * efi_path_mac ( EFI_DEVICE_PATH_PROTOCOL *path ); extern unsigned int efi_path_vlan ( EFI_DEVICE_PATH_PROTOCOL *path ); extern int efi_path_guid ( EFI_DEVICE_PATH_PROTOCOL *path, union uuid *uuid ); extern struct uri * efi_path_uri ( EFI_DEVICE_PATH_PROTOCOL *path ); |