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)  

device Struct Reference

#include <pcap-dos.h>

Collaboration diagram for device:
[legend]

Data Fields

const char * name
 
const char * long_name
 
DWORD base_addr
 
int irq
 
int dma
 
DWORD mem_start
 
DWORD mem_end
 
DWORD rmem_start
 
DWORD rmem_end
 
struct devicenext
 
int(* probe )(struct device *dev)
 
int(* open )(struct device *dev)
 
void(* close )(struct device *dev)
 
int(* xmit )(struct device *dev, const void *buf, int len)
 
void *(* get_stats )(struct device *dev)
 
void(* set_multicast_list )(struct device *dev)
 
int(* copy_rx_buf )(BYTE *buf, int max)
 
BYTE *(* get_rx_buf )(int len)
 
int(* peek_rx_buf )(BYTE **buf)
 
int(* release_rx_buf )(BYTE *buf)
 
WORD flags
 
void * priv
 

Detailed Description

Definition at line 140 of file pcap-dos.h.

Field Documentation

◆ base_addr

DWORD device::base_addr

Definition at line 143 of file pcap-dos.h.

◆ close

void(* device::close) (struct device *dev)

Definition at line 156 of file pcap-dos.h.

Referenced by close_driver(), ndis_probe(), pcap_platform_finddevs(), and pkt_probe().

◆ copy_rx_buf

int(* device::copy_rx_buf) (BYTE *buf, int max)

Definition at line 162 of file pcap-dos.h.

Referenced by first_init(), ndis_probe(), pcap_read_one(), and pkt_probe().

◆ dma

int device::dma

Definition at line 145 of file pcap-dos.h.

◆ flags

WORD device::flags

Definition at line 167 of file pcap-dos.h.

Referenced by ndis_open(), open_driver(), and pkt_open().

◆ get_rx_buf

BYTE*(* device::get_rx_buf) (int len)

Definition at line 163 of file pcap-dos.h.

Referenced by first_init(), ndis_probe(), and pkt_probe().

◆ get_stats

void*(* device::get_stats) (struct device *dev)

Definition at line 158 of file pcap-dos.h.

Referenced by ndis_probe(), pcap_stats_dos(), pcap_stats_ex(), and pkt_probe().

◆ irq

int device::irq

Definition at line 144 of file pcap-dos.h.

◆ long_name

const char* device::long_name

Definition at line 142 of file pcap-dos.h.

Referenced by pcap_platform_finddevs().

◆ mem_end

DWORD device::mem_end

Definition at line 147 of file pcap-dos.h.

◆ mem_start

DWORD device::mem_start

Definition at line 146 of file pcap-dos.h.

◆ name

const char* device::name

◆ next

struct device* device::next

Definition at line 151 of file pcap-dos.h.

Referenced by open_driver(), pcap_lookupdev(), and pcap_platform_finddevs().

◆ open

int(* device::open) (struct device *dev)

Definition at line 155 of file pcap-dos.h.

Referenced by ndis_probe(), open_driver(), and pkt_probe().

◆ peek_rx_buf

int(* device::peek_rx_buf) (BYTE **buf)

Definition at line 164 of file pcap-dos.h.

Referenced by first_init(), ndis_probe(), pcap_read_one(), and pkt_probe().

◆ priv

void* device::priv

Definition at line 168 of file pcap-dos.h.

Referenced by pkt_close(), pkt_probe(), pkt_stats(), and pkt_xmit().

◆ probe

int(* device::probe) (struct device *dev)

Definition at line 154 of file pcap-dos.h.

Referenced by open_driver(), pcap_lookupdev(), and pcap_platform_finddevs().

◆ release_rx_buf

int(* device::release_rx_buf) (BYTE *buf)

Definition at line 165 of file pcap-dos.h.

Referenced by first_init(), ndis_probe(), pcap_read_one(), and pkt_probe().

◆ rmem_end

DWORD device::rmem_end

Definition at line 149 of file pcap-dos.h.

◆ rmem_start

DWORD device::rmem_start

Definition at line 148 of file pcap-dos.h.

◆ set_multicast_list

void(* device::set_multicast_list) (struct device *dev)

Definition at line 159 of file pcap-dos.h.

Referenced by open_driver().

◆ xmit

int(* device::xmit) (struct device *dev, const void *buf, int len)

Definition at line 157 of file pcap-dos.h.

Referenced by ndis_probe(), pcap_sendpacket_dos(), and pkt_probe().


The documentation for this struct was generated from the following file: