mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 09:01:24 +03:00
Add UUID to DHCP request as option 97 (if available).
This commit is contained in:
10
src/arch/i386/include/bits/uuid.h
Normal file
10
src/arch/i386/include/bits/uuid.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef _I386_UUID_H
|
||||
#define _I386_UUID_H
|
||||
|
||||
#include <smbios.h>
|
||||
|
||||
static inline int get_uuid ( union uuid *uuid ) {
|
||||
return smbios_get_uuid ( uuid );
|
||||
}
|
||||
|
||||
#endif /* _I386_UUID_H */
|
||||
@@ -46,5 +46,6 @@ extern int find_smbios_structure ( unsigned int type,
|
||||
extern int find_smbios_string ( struct smbios_strings *strings,
|
||||
unsigned int index,
|
||||
char *buffer, size_t length );
|
||||
extern int smbios_get_uuid ( union uuid *uuid );
|
||||
|
||||
#endif /* _SMBIOS_H */
|
||||
|
||||
Reference in New Issue
Block a user