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)  

pcaputil.c File Reference
#include "config.h"
#include <sys/param.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <err.h>
#include <pcap.h>
#include "pcaputil.h"
Include dependency graph for pcaputil.c:

Go to the source code of this file.


int pcap_dloff (pcap_t *pd)
pcap_t * pcap_init (char *intf, char *filter, int snaplen)
char * copy_argv (char **argv)

Function Documentation

◆ copy_argv()

char* copy_argv ( char **  argv)

Definition at line 101 of file pcaputil.c.

References buf, and err().

Referenced by main().

◆ pcap_dloff()

int pcap_dloff ( pcap_t *  pd)

Definition at line 35 of file pcaputil.c.

References warnx().

Referenced by main().

◆ pcap_init()

pcap_t* pcap_init ( char *  intf,
char *  filter,
int  snaplen 

Definition at line 63 of file pcaputil.c.

References intf, and warnx().

Referenced by main().