summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_script.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-04-27 00:58:17 +0200
committerDavid S. Miller <davem@davemloft.net>2007-04-27 00:58:17 +0200
commitb908fe6b2d1294d93b0d0badf6bf4f9a2cd7d729 (patch)
treea0ccc4a21752f69991f762faea7c1b40510dbb4c /fs/binfmt_script.c
parent[AFS]: Update the AFS fs documentation. (diff)
downloadlinux-b908fe6b2d1294d93b0d0badf6bf4f9a2cd7d729.tar.xz
linux-b908fe6b2d1294d93b0d0badf6bf4f9a2cd7d729.zip
[AFS]: Add support for the CB.GetCapabilities operation.
Add support for the CB.GetCapabilities operation with which the fileserver can ask the client for the following information: (1) The list of network interfaces it has available as IPv4 address + netmask plus the MTUs. (2) The client's UUID. (3) The extended capabilities of the client, for which the only current one is unified error mapping (abort code interpretation). To support this, the patch adds the following routines to AFS: (1) A function to iterate through all the network interfaces using RTNETLINK to extract IPv4 addresses and MTUs. (2) A function to iterate through all the network interfaces using RTNETLINK to pull out the MAC address of the lowest index interface to use in UUID construction. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions