File: record.h

package info (click to toggle)
dsniff 2.4b1+debian-29
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,020 kB
  • sloc: ansic: 10,803; sh: 152; makefile: 126
file content (24 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * record.h
 *
 * Record interface.
 *
 * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
 *
 * $Id: record.h,v 1.3 2001/03/15 08:33:06 dugsong Exp $
 */

#ifndef RECORD_H
#define RECORD_H

int	record_init(char *file);

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);

void	record_dump(void);

void	record_close(void);

#endif /* RECORD_H */