rx: Hide struct rx_peer from the rest of the tree
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 5 Dec 2011 18:56:03 +0000 (18:56 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 9 Apr 2012 23:36:45 +0000 (16:36 -0700)
commit9862ac0dbb72d8f5f9f894e567261e52354e0b15
treeb6d4bbb20b9d7354bcd9d716b5fbb00a663db2ca
parentf971a36968bdcb224ff3ffb663929d4febcab5d5
rx: Hide struct rx_peer from the rest of the tree

The peer structure is an internal RX structure, so it shouldn't
be contained in public header files, or used by non-rx modules.

Hide the structure definition in rx_peer.h, and convert the
rx_HostOf and rx_PortOf accessors from macros into functions. This
will also help with adding support for non-IPv4 addresses to RX.

Change-Id: I790fa3193bfa629a2872fc5395d0146e76a2de9e
Reviewed-on: http://gerrit.openafs.org/7002
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
20 files changed:
src/bucoord/server.c
src/kauth/admin_tools.c
src/kauth/kaprocs.c
src/libafs/Makefile.common.in
src/libafsrpc/Makefile.in
src/libafsrpc/NTMakefile
src/libafsrpc/afsrpc.def
src/libuafs/Makefile.common.in
src/rx/Makefile.in
src/rx/NTMakefile
src/rx/rx.c
src/rx/rx.h
src/rx/rx_kcommon.c
src/rx/rx_packet.c
src/rx/rx_peer.c [new file with mode: 0644]
src/rx/rx_peer.h [new file with mode: 0644]
src/rx/rx_user.c
src/shlibafsrpc/Makefile.in
src/shlibafsrpc/libafsrpc.map
src/viced/afsfileprocs.c