- Add version 4 structure (statsvar) in rstat.x. The new added structure has the similar members like the version 3 structure (statstime). The only difference is statsvar use len and pointer to represent the origin array member (cp_time and dk_xfer).
Also because of this, I can continue use union in "rstat_proc.c" because the member is not same as before. So I add stats_all_s4 variable.
- Use "netpath" with RPC function in rup and add version 4 RPC call.
Copmile
- cd /usr/src/include/rpcsvc && make all install // Header file
- cd /usr/src/lib/librpcsvc && make all install // Linker
- cd /usr/src/libexec/rpc.rstatd && make all install // RPC server
- cd /usr/src/usr.bin/rup && make all install // RPC client