Skip to content

Commit 2bfc87c

Browse files
committed
uefi: SNP: demystify protocol parameter
1 parent 8da2acf commit 2bfc87c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

uefi/src/proto/network/snp.rs

+3
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ impl SimpleNetwork {
214214
}
215215

216216
/// Place a packet in the transmit queue of a network interface.
217+
///
218+
/// # Arguments
219+
/// - `protocol`: Ether Type as of RFC 3232. See https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml#ieee-802-numbers-1 for examples.
217220
pub fn transmit(
218221
&self,
219222
header_size: usize,

0 commit comments

Comments
 (0)