We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f42c2 commit 885b3ffCopy full SHA for 885b3ff
uefi-raw/src/protocol/network/pxe.rs
@@ -1,8 +1,23 @@
1
// SPDX-License-Identifier: MIT OR Apache-2.0
2
3
-use crate::Char8;
+use crate::{Char8, IpAddress, MacAddress};
4
use core::fmt::{self, Debug, Formatter};
5
6
+#[derive(Clone, Copy, Debug)]
7
+#[repr(C)]
8
+pub struct PxeBaseCodeArpEntry {
9
+ pub ip_addr: IpAddress,
10
+ pub mac_addr: MacAddress,
11
+}
12
+
13
14
15
+pub struct PxeBaseCodeRouteEntry {
16
17
+ pub subnet_mask: IpAddress,
18
+ pub gw_addr: IpAddress,
19
20
21
#[derive(Clone, Debug)]
22
#[repr(C)]
23
pub struct PxeBaseCodeIcmpError {
0 commit comments