libpcap  1.10.1
About: libpcap is a packet filter library used by tools like tcpdump.
  Fossies Dox: libpcap-1.10.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

dlpisubs.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  pcap_dlpi
 

Functions

int pcap_stats_dlpi (pcap_t *, struct pcap_stat *)
 
int pcap_process_pkts (pcap_t *, pcap_handler, u_char *, int, u_char *, int)
 
int pcap_process_mactype (pcap_t *, u_int)
 
int pcap_alloc_databuf (pcap_t *)
 
int strioctl (int, int, int, char *)
 

Function Documentation

◆ pcap_alloc_databuf()

int pcap_alloc_databuf ( pcap_t p)

◆ pcap_process_mactype()

◆ pcap_process_pkts()

int pcap_process_pkts ( pcap_t p,
pcap_handler  callback,
u_char *  user,
int  count,
u_char *  bufp,
int  len 
)

◆ pcap_stats_dlpi()

int pcap_stats_dlpi ( pcap_t p,
struct pcap_stat ps 
)

Definition at line 80 of file dlpisubs.c.

References pd, pcap::priv, pcap_stat::ps_drop, and pcap_stat::ps_recv.

Referenced by pcap_activate_dlpi(), and pcap_activate_libdlpi().

◆ strioctl()

int strioctl ( int  fd,
int  cmd,
int  len,
char *  dp 
)

Definition at line 388 of file dlpisubs.c.

References ioctl().

Referenced by nit_setflags(), pcap_activate_dlpi(), pcap_activate_snit(), and pcap_platform_finddevs().