Add UUID to DHCP request as option 97 (if available).

This commit is contained in:
Michael Brown
2007-11-21 03:29:53 +00:00
parent 899f5b8ab2
commit 26f3a09ccf
5 changed files with 30 additions and 0 deletions

View 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 */

View File

@@ -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 */