Go to the source code of this file.
|
__BEGIN_DECLS u_int | __rpc_get_a_size (int) |
|
int | __rpc_dtbsize (void) |
|
int | _rpc_dtablesize (void) |
|
struct netconfig * | __rpcgettp (int) |
|
int | __rpc_get_default_domain (char **) |
|
char * | __rpc_taddr2uaddr_af (int, const struct netbuf *) |
|
struct netbuf * | __rpc_uaddr2taddr_af (int, const char *) |
|
int | __rpc_fixup_addr (struct netbuf *, const struct netbuf *) |
|
int | __rpc_sockinfo2netid (struct __rpc_sockinfo *, const char **) |
|
int | __rpc_seman2socktype (int) |
|
int | __rpc_socktype2seman (int) |
|
void * | rpc_nullproc (CLIENT *) |
|
int | __rpc_sockisbound (SOCKET) |
|
struct netbuf * | __rpcb_findaddr (rpcprog_t, rpcvers_t, const struct netconfig *, const char *, CLIENT **) |
|
bool_t | rpc_control (int, void *) |
|
char * | _get_next_token (char *, int) |
|
◆ __RPC_GETXID
Value:
_CRTIMP int __cdecl getpid(void)
Definition at line 59 of file rpc_com.h.
◆ RPC_MAXADDRSIZE
◆ RPC_MAXDATASIZE
◆ __rpc_dtbsize()
Definition at line 110 of file rpc_generic.c.
122 if (getrlimit(RLIMIT_NOFILE, &rl) == 0) {
123 return (tbsize = (
int)rl.rlim_max);
#define WINSOCK_HANDLE_HASH_SIZE
◆ __rpc_fixup_addr()
Definition at line 883 of file rpc_generic.c.
889 sa_svc = (
struct sockaddr *)svc->buf;
890 sa_new = (
struct sockaddr *)
new->buf;
#define new(TYPE, numElems)
WS2TCPIP_INLINE BOOLEAN IN6_IS_ADDR_SITELOCAL(CONST IN6_ADDR *a)
WS2TCPIP_INLINE BOOLEAN IN6_IS_ADDR_LINKLOCAL(CONST IN6_ADDR *a)
◆ __rpc_get_a_size()
◆ __rpc_get_default_domain()
int __rpc_get_default_domain |
( |
char ** |
| ) |
|
Definition at line 72 of file rpcdname.c.
static char * get_default_domain()
◆ __rpc_seman2socktype()
int __rpc_seman2socktype |
( |
int |
| ) |
|
◆ __rpc_sockinfo2netid()
Definition at line 580 of file rpc_generic.c.
588 if (
na_cvt[
i].af == sip->si_af &&
589 na_cvt[
i].protocol == sip->si_proto) {
void freenetconfigent(struct netconfig *netconfigp)
struct netconfig * getnetconfigent(char *netid) const
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static const struct netid_af na_cvt[]
int strcmp(const char *String1, const char *String2)
Referenced by __rpcgettp().
◆ __rpc_sockisbound()
Definition at line 909 of file rpc_generic.c.
925 switch (
ss.ss_family) {
927 memcpy(&u_addr.sin, &
ss,
sizeof(u_addr.sin));
928 return (u_addr.sin.sin_port != 0);
931 memcpy(&u_addr.sin6, &
ss,
sizeof(u_addr.sin6));
932 return (u_addr.sin6.sin6_port != 0);
937 memcpy(&u_addr.usin, &
ss,
sizeof(u_addr.usin));
938 return (u_addr.usin.sun_path[0] != 0);
#define memcpy(s1, s2, n)
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &)
INT WSAAPI getsockname(IN SOCKET s, OUT LPSOCKADDR name, IN OUT INT FAR *namelen)
◆ __rpc_socktype2seman()
int __rpc_socktype2seman |
( |
int |
| ) |
|
◆ __rpc_taddr2uaddr_af()
Definition at line 663 of file rpc_generic.c.
682 #ifdef __REACTOS__ // CVE-2017-8779 683 if (nbuf->len <
sizeof(*
sin)) {
688 if (
inet_ntop(af, &
sin->sin_addr, namebuf,
sizeof namebuf)
698 #ifdef __REACTOS__ // CVE-2017-8779 699 if (nbuf->len <
sizeof(*sin6)) {
int asprintf(char **str, const char *fmt,...)
#define offsetof(TYPE, MEMBER)
const char *WSAAPI inet_ntop(int af, const void *src, char *dst, size_t cnt)
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &)
Referenced by taddr2uaddr().
◆ __rpc_uaddr2taddr_af()
Definition at line 734 of file rpc_generic.c.
738 unsigned short port, portlo, porthi;
749 #ifdef __REACTOS__ // CVE-2017-8779 761 if (*addrstr !=
'/') {
773 port = (porthi << 8) | portlo;
807 memset(sin6, 0,
sizeof *sin6);
816 ret->maxlen =
ret->len =
sizeof *sin6;
825 memset(sun, 0,
sizeof *sun);
ADDRESS_FAMILY sin6_family
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
_Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strrchr(_In_z_ const char *_Str, _In_ int _Ch)
_Check_return_ _CRTIMP char *__cdecl strdup(_In_opt_z_ const char *_Src)
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
WINSOCK_API_LINKAGE INT WSAAPI inet_pton(_In_ INT Family, _In_ PCSTR pszAddrString, _Out_writes_bytes_(sizeof(IN6_ADDR)) PVOID pAddrBuf)
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &)
static unsigned(__cdecl *hash_bstr)(bstr_t s)
Referenced by uaddr2taddr().
◆ __rpcb_findaddr()
◆ __rpcgettp()
◆ _get_next_token()
Definition at line 228 of file getnetpath.c.
242 if ((
cp > npp) && (
cp[-1] ==
'\\')) {
244 if ((
cp > npp + 1) && (
cp[-2] !=
'\\')) {
258 while ((np =
strchr(ep,
'\\')) != 0) {
261 strcpy(np, (ep = &np[1]));
char * _get_next_token(char *, int)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
char * strchr(const char *String, int ch)
char * strcpy(char *DstString, const char *SrcString)
Referenced by _get_next_token(), getnetpath(), and parse_ncp().
◆ _rpc_dtablesize()
◆ rpc_control()
Definition at line 784 of file svc.c.
#define RPC_SVC_CONNMAXREC_GET
#define RPC_SVC_CONNMAXREC_SET
◆ rpc_nullproc()
Definition at line 447 of file rpc_generic.c.
456 return ((
void *) clnt);
bool_t(* xdrproc_t)(XDR *,...)
#define clnt_call(rh, proc, xargs, argsp, xres, resp, secs)