Skip to content

Commit aaed567

Browse files
committed
Correct and improve comments for IFF_* constants.
1 parent 251eb1d commit aaed567

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/net/if_.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ libc_bitflags!(
192192
IFF_PRIVATE;
193193

194194
// bitmask: 0x010000
195-
/// FIIXME: what's this?!?
195+
/// Driver signals L1 up. Volatile.
196196
#[cfg(any(target_os = "fuchsia", target_os = "linux"))]
197197
IFF_LOWER_UP;
198-
/// FIIXME: what's this?!?
198+
/// Interface is in polling mode.
199199
#[cfg(any(target_os = "dragonfly"))]
200200
IFF_POLLING_COMPAT;
201201
/// Unconfigurable using ioctl(2).
@@ -206,6 +206,7 @@ libc_bitflags!(
206206
IFF_NOXMIT;
207207

208208
// bitmask: 0x020000
209+
/// Driver signals dormant. Volatile.
209210
#[cfg(any(target_os = "fuchsia", target_os = "linux"))]
210211
IFF_DORMANT;
211212
/// User-requested promisc mode.
@@ -216,6 +217,7 @@ libc_bitflags!(
216217
IFF_NOLOCAL;
217218

218219
// bitmask: 0x040000
220+
/// Echo sent packets. Volatile.
219221
#[cfg(any(target_os = "fuchsia", target_os = "linux"))]
220222
IFF_ECHO;
221223
/// User-requested monitor mode.

0 commit comments

Comments
 (0)