aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-05-03 06:28:49 -0400
committerDavid S. Miller <davem@davemloft.net>2007-05-03 06:28:49 -0400
commitdc1f6bff6a9d6733a07b9b97905bc824c055e8f4 (patch)
tree09c0ee7f91354b7d68ac2c0d6f53da6738530fdc /fs/afs/internal.h
parent4e9cac2ba437fcb093c7417b1cd91a77ebd1756a (diff)
[AFS]: Replace rtnetlink client by direct dev_base walking
Replace the large and complicated rtnetlink client by two simple functions for getting the MAC address for the first ethernet device and building a list of IPv4 addresses. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r--fs/afs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 3363e311a2f7..551db896afc9 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -349,7 +349,6 @@ struct afs_permits {
349 * record of one of a system's set of network interfaces 349 * record of one of a system's set of network interfaces
350 */ 350 */
351struct afs_interface { 351struct afs_interface {
352 unsigned index; /* interface index */
353 struct in_addr address; /* IPv4 address bound to interface */ 352 struct in_addr address; /* IPv4 address bound to interface */
354 struct in_addr netmask; /* netmask applied to address */ 353 struct in_addr netmask; /* netmask applied to address */
355 unsigned mtu; /* MTU of interface */ 354 unsigned mtu; /* MTU of interface */