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)  

decode_postgresql.c File Reference
#include "config.h"
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include "decode.h"
Include dependency graph for decode_postgresql.c:

Go to the source code of this file.

Macros

#define STARTUP_PKTLEN   296
 

Functions

int decode_postgresql (u_char *buf, int len, u_char *obuf, int olen)
 

Macro Definition Documentation

◆ STARTUP_PKTLEN

#define STARTUP_PKTLEN   296

Definition at line 22 of file decode_postgresql.c.

Function Documentation

◆ decode_postgresql()

int decode_postgresql ( u_char *  buf,
int  len,
u_char *  obuf,
int  olen 
)

Definition at line 25 of file decode_postgresql.c.

References db, obuf, pntohl, and STARTUP_PKTLEN.