Added a bunch of network protocols
This commit is contained in:
parent
075ed7cac3
commit
83afc73363
5 changed files with 776 additions and 3 deletions
17
efi_types.h
17
efi_types.h
|
@ -80,6 +80,23 @@ typedef VOID *EFI_HII_HANDLE;
|
|||
// LBA
|
||||
typedef UINT64 EFI_LBA;
|
||||
|
||||
// EFI IPv4 Address
|
||||
typedef struct {
|
||||
UINT8 Addr[4];
|
||||
} EFI_IPv4_ADDRESS;
|
||||
|
||||
// EFI IPv6 Address
|
||||
typedef struct {
|
||||
UINT8 Addr[16];
|
||||
} EFI_IPv6_ADDRESS;
|
||||
|
||||
// EFI IP Address
|
||||
typedef union {
|
||||
UINT32 Addr[4];
|
||||
EFI_IPv4_ADDRESS v4;
|
||||
EFI_IPv6_ADDRESS v6;
|
||||
} EFI_IP_ADDRESS;
|
||||
|
||||
// EFI Mac Address
|
||||
typedef struct {
|
||||
UINT8 Addr[32];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue