Changeset View
Changeset View
Standalone View
Standalone View
head/sys/xdr/xdr.c
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | |||||
typedef u_quad_t u_longlong_t; /* ANSI unsigned long long type */ | typedef u_quad_t u_longlong_t; /* ANSI unsigned long long type */ | ||||
/* | /* | ||||
* constants specific to the xdr "protocol" | * constants specific to the xdr "protocol" | ||||
*/ | */ | ||||
#define XDR_FALSE ((long) 0) | #define XDR_FALSE ((long) 0) | ||||
#define XDR_TRUE ((long) 1) | #define XDR_TRUE ((long) 1) | ||||
MALLOC_DEFINE(M_RPC, "rpc", "Remote Procedure Call"); | |||||
/* | /* | ||||
* for unit alignment | * for unit alignment | ||||
*/ | */ | ||||
static const char xdr_zero[BYTES_PER_XDR_UNIT] = { 0, 0, 0, 0 }; | static const char xdr_zero[BYTES_PER_XDR_UNIT] = { 0, 0, 0, 0 }; | ||||
/* | /* | ||||
* Free a data structure using XDR | * Free a data structure using XDR | ||||
* Not a filter, but a convenient utility nonetheless | * Not a filter, but a convenient utility nonetheless | ||||
▲ Show 20 Lines • Show All 761 Lines • Show Last 20 Lines |