Skip to contentSkip to conversation

Missing interface flags in <net/if.h>?

PATCH Michael Kerrisk 1 participant 1 message Jan 13, 2009 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

Hello Ulrich,

I recently made the change below to the netdevice(7) man page. Probably, analogous definitions need to be propagated from <linux/if.h> to <net/if.h>.

Cheers,

Michael

commit 933bd2e6dd0d3f1c4a94cf2c5ccbeaa513d83b98

Author: Michael Kerrisk <[email protected]>
Date:   Tue Jan 13 17:35:42 2009 +1300

netdevice.7: Document recently added interface flags

IFF_LOWER_UP (since Linux 2.6.17)
IFF_DORMANT (since Linux 2.6.17)
IFF_ECHO (since Linux 2.6.25)

Documentation taken from comments in <linux/if.h>

man7/netdevice.7 +6 -1
index 7f7763b..d854722 100644
@@ -9,7 +9,7 @@
 .\"
 .\" Modified, 2004-11-25, mtk, formatting and a few wording fixes
 .\"
-.TH NETDEVICE  7 1999-05-02 "Linux" "Linux Programmer's Manual"
+.TH NETDEVICE  7 2009-01-14 "Linux" "Linux Programmer's Manual"
 .SH NAME
 netdevice \- Low level access to Linux network devices
 .SH SYNOPSIS
@@ -111,6 +111,11 @@ IFF_AUTOMEDIA:Auto media selection active.
 IFF_DYNAMIC:T{
 The addresses are lost when the interface goes down.
 T}
+IFF_LOWER_UP:Driver signals L1 up (since Linux 2.6.17)
+IFF_DORMANT:Driver signals dormant (since Linux 2.6.17)
+IFF_ECHO:Echo sent packets (since Linux 2.6.25)
+
+
 .TE
 Setting the active flag word is a privileged operation, but any
 

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html