Commit 50233e20 authored by 's avatar

Added support for Napatech NT-series cards


git-svn-id: file:///home/svn/mapi/trunk@1447 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 18335c4c
This diff is collapsed.
#ifndef MAPINAPATECHDRV_H_
#define MAPINAPATECHDRV_H_
typedef struct napatech_adapterinfo {
char *name; /* /dev/dag0 */
// int dagfd, dagstream;
uint16_t device_code; /* PCI device ID */
// dag_card_ref_t card;
// dag_component_t root;
int portcnt; /* number of ports on the card */
// int is_dsm_filtering; /* DSM filtering available */
// int dsm_filter_count; /* Number of DSM hardware filters */
// DsmConfigH dsm_config; /* handle to DAG DSM configuration */
/* allocated array of counters for ports and kinds (bytes, packets) */
// dag_counter_t *port_counters;
/* array for hardware DSM filter counters */
// dag_counter_t dsm_counters[DSM_FILTER_COUNT];
} napatech_adapterinfo_t;
#endif /*MAPINAPATECHDRV_H_*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment