#include "config.h"
#include <sys/types.h>
#include <netinet/in.h>
#include <rpc/rpc.h>
#include <stdio.h>
#include <time.h>
#include <md5.h>
#include <db_185.h>
#include <libnet.h>
#include "options.h"
#include "record.h"
Go to the source code of this file.
◆ DB_LIBRARY_COMPATIBILITY_API
#define DB_LIBRARY_COMPATIBILITY_API |
◆ record()
int record |
( |
u_int32_t |
src, |
|
|
u_int32_t |
dst, |
|
|
int |
proto, |
|
|
u_short |
sport, |
|
|
u_short |
dport, |
|
|
char * |
name, |
|
|
u_char * |
buf, |
|
|
int |
len |
|
) |
| |
Definition at line 177 of file record.c.
References buf, rec::data, rec::dport, rec::dst, rec::name, Opt_read, Opt_write, rec::proto, record_print(), record_save(), rec::sport, rec::src, and rec::time.
Referenced by grep_passwords(), mitm_child(), trigger_ip(), trigger_tcp_half(), trigger_tcp_raw(), trigger_tcp_raw_callback(), and trigger_udp().
◆ record_close()
void record_close |
( |
void |
| ) |
|
◆ record_dump()
void record_dump |
( |
void |
| ) |
|
◆ record_hash()
static DBT* record_hash |
( |
struct rec * |
rec | ) |
|
|
static |
◆ record_init()
int record_init |
( |
char * |
file | ) |
|
◆ record_print()
static void record_print |
( |
struct rec * |
rec | ) |
|
|
static |
◆ record_save()
static int record_save |
( |
struct rec * |
rec | ) |
|
|
static |
◆ xdr_rec()
static int xdr_rec |
( |
XDR * |
xdrs, |
|
|
struct rec * |
rec |
|
) |
| |
|
static |
◆ db