dsniff  2.4b2
About: A collection of tools for network auditing
  Fossies Dox: dsniff-2.4b2.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

rpc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  xid_map
 

Macros

#define FRAGLEN(x)   (x & 0x7fffffff)
 
#define LASTFRAG(x)   (x & (1 << 31))
 

Functions

int rpc_decode (u_char *buf, int len, struct rpc_msg *msg)
 
void xid_map_enter (u_int32_t xid, u_int32_t prog, u_int32_t vers, u_int32_t proc, void *data)
 
struct xid_mapxid_map_find (int xid)
 

Macro Definition Documentation

◆ FRAGLEN

#define FRAGLEN (   x)    (x & 0x7fffffff)

Definition at line 14 of file rpc.h.

◆ LASTFRAG

#define LASTFRAG (   x)    (x & (1 << 31))

Definition at line 15 of file rpc.h.

Function Documentation

◆ rpc_decode()

int rpc_decode ( u_char *  buf,
int  len,
struct rpc_msg *  msg 
)

Definition at line 70 of file rpc.c.

References buf, FRAGLEN, LASTFRAG, and pntohl.

Referenced by decode_mountd(), decode_nfs(), decode_portmap(), decode_yppasswd(), and decode_ypserv().

◆ xid_map_enter()

void xid_map_enter ( u_int32_t  xid,
u_int32_t  prog,
u_int32_t  vers,
u_int32_t  proc,
void *  data 
)

◆ xid_map_find()

struct xid_map* xid_map_find ( int  xid)

Definition at line 48 of file rpc.c.

References xid_map::xid, xid_map_hint, xid_maps, and XIDMAPSIZE.

Referenced by decode_mountd(), decode_nfs(), decode_portmap(), and decode_ypserv().