mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
a02d692611
Introduce a set of functions in the kernel's RPC implementation for converting between a socket address and either a standard presentation address string or an RPC universal address. The universal address functions will be used to encode and decode RPCB_FOO and NFSv4 SETCLIENTID arguments. The other functions are part of a previous promise to deliver shared functions that can be used by upper-layer protocols to display and manipulate IP addresses. The kernel's current address printf formatters were designed specifically for kernel to user-space APIs that require a particular string format for socket addresses, thus are somewhat limited for the purposes of sunrpc.ko. The formatter for IPv6 addresses, %pI6, does not support short-handing or scope IDs. Also, these printf formatters are unique per address family, so a separate formatter string is required for printing AF_INET and AF_INET6 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
18 lines
541 B
Makefile
18 lines
541 B
Makefile
#
|
|
# Makefile for Linux kernel SUN RPC
|
|
#
|
|
|
|
|
|
obj-$(CONFIG_SUNRPC) += sunrpc.o
|
|
obj-$(CONFIG_SUNRPC_GSS) += auth_gss/
|
|
obj-$(CONFIG_SUNRPC_XPRT_RDMA) += xprtrdma/
|
|
|
|
sunrpc-y := clnt.o xprt.o socklib.o xprtsock.o sched.o \
|
|
auth.o auth_null.o auth_unix.o auth_generic.o \
|
|
svc.o svcsock.o svcauth.o svcauth_unix.o \
|
|
addr.o rpcb_clnt.o timer.o xdr.o \
|
|
sunrpc_syms.o cache.o rpc_pipe.o \
|
|
svc_xprt.o
|
|
sunrpc-$(CONFIG_NFS_V4_1) += backchannel_rqst.o bc_svc.o
|
|
sunrpc-$(CONFIG_PROC_FS) += stats.o
|
|
sunrpc-$(CONFIG_SYSCTL) += sysctl.o
|