Skip to content

Commit 9d62973

Browse files
uefi-raw: Add docstrings to PxeBaseCodeIpFilterFlags
1 parent 9efde25 commit 9d62973

File tree

1 file changed

+8
-0
lines changed
  • uefi-raw/src/protocol/network

1 file changed

+8
-0
lines changed

uefi-raw/src/protocol/network/pxe.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,12 +294,20 @@ pub struct PxeBaseCodeIpFilter {
294294
}
295295

296296
bitflags! {
297+
/// IP receive filters.
297298
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
298299
#[repr(transparent)]
299300
pub struct PxeBaseCodeIpFilterFlags: u8 {
301+
/// Enable the Station IP address.
300302
const STATION_IP = 0x01;
303+
304+
/// Enable IPv4 broadcast addresses.
301305
const BROADCAST = 0x02;
306+
307+
/// Enable all addresses.
302308
const PROMISCUOUS = 0x04;
309+
310+
/// Enable all multicast addresses.
303311
const PROMISCUOUS_MULTICAST = 0x08;
304312
}
305313
}

0 commit comments

Comments
 (0)