]> The Tcpdump Group git mirrors - tcpdump/commit
Have our own headers to declare the format of ONC (Sun) RPC messages on
authorguy <guy>
Mon, 27 Dec 2004 00:41:29 +0000 (00:41 +0000)
committerguy <guy>
Mon, 27 Dec 2004 00:41:29 +0000 (00:41 +0000)
commitaf0a0390800cfa503d499b77a1545639284ebbc6
treebaf46552e1af0202f779610380b739ec74c4b3bc
parent5561f2117cbcadfa9f82ea5f7e44cf789203df26
Have our own headers to declare the format of ONC (Sun) RPC messages on
the wire; the definitions in many systems use u_long, which is 64 bits
long on many platforms - that's OK for in-memory structures, but it
doesn't match what's on the wire.  Use headers based on the Sun ones,
but use u_int32_t for fields, and otherwise make the structures match
what's on the wire, and change some names to avoid collision with
<rpc/rpc.h>, which print-sunrpc.c includes to declare "getrpcbynumber()"
and the structure it returns.

Record whether "getrpcbynumber()" is found, and use it only if it's
found, rather than basing the decisison on whether we're building for
Win32 or not.
12 files changed:
FILES
INSTALL
acconfig.h
configure.in
pmap_prot.h [new file with mode: 0644]
print-nfs.c
print-sunrpc.c
print-tcp.c
print-udp.c
rpc_auth.h [new file with mode: 0644]
rpc_msg.h [new file with mode: 0644]
win32/Include/Rpc/rpc.h [deleted file]