diff options
author | Patrick McHardy <kaber@trash.net> | 2007-05-03 06:28:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-05-03 06:28:49 -0400 |
commit | dc1f6bff6a9d6733a07b9b97905bc824c055e8f4 (patch) | |
tree | 09c0ee7f91354b7d68ac2c0d6f53da6738530fdc /fs/afs/internal.h | |
parent | 4e9cac2ba437fcb093c7417b1cd91a77ebd1756a (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.h | 1 |
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 | */ |
351 | struct afs_interface { | 351 | struct 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 */ |