mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
Use bootp packet to set prefix and card address.
This commit is contained in:
1 parent
6d5c2ed68a
commit
59b361a2df
4 files changed
+77
-38
No files matched your search
@@ -60,14 +60,10 @@ struct grub_bootp {
|
||||
unsigned char chaddr [16]; /* Client hardware address */
|
||||
char sname [64]; /* Server name */
|
||||
char file [128]; /* Boot filename */
|
||||
// grub_uint32_t filesize ; /*File size (testing)*/
|
||||
unsigned char vend [64];
|
||||
};
|
||||
|
||||
typedef struct grub_bootp* grub_bootp_t;
|
||||
|
||||
char * grub_get_filestr(const char * );
|
||||
char * grub_ip2str (grub_uint32_t ip);
|
||||
void grub_get_netinfo (grub_ofnet_t netinfo,grub_bootp_t packet);
|
||||
grub_bootp_t grub_getbootp (void);
|
||||
extern grub_bootp_t (*EXPORT_VAR (grub_getbootp)) (void);
|
||||
#endif /* ! GRUB_NET_HEADER */
|
||||
Reference in new issue
Block a user