Changeset 2faa57e for lib/format_dag25.c
- Timestamp:
- 03/14/08 16:50:58 (14 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- e632f2f
- Parents:
- a9a91d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_dag25.c
ra9a91d1 r2faa57e 46 46 47 47 #include <sys/mman.h> 48 /* XXX: Windows doesn't have pthreads, but this code doesn't compile under 49 * Windows anyway so we'll worry about this more later :] */ 50 #include <pthread.h> 48 51 49 52 … … 59 62 # endif 60 63 # include <sys/ioctl.h> 61 # include <pthread.h>62 64 #endif 63 65 … … 97 99 struct dag_dev_t *open_dags = NULL; 98 100 101 /* NOTE: This function assumes the open_dag_mutex is held by the caller */ 99 102 static struct dag_dev_t *dag_find_open_device(char *dev_name) { 100 103 struct dag_dev_t *dag_dev; … … 117 120 } 118 121 122 /* NOTE: This function assumes the open_dag_mutex is held by the caller */ 119 123 static void dag_close_device(struct dag_dev_t *dev) { 120 124 /* Need to remove from the device list */ … … 138 142 } 139 143 144 /* NOTE: This function assumes the open_dag_mutex is held by the caller */ 140 145 static struct dag_dev_t *dag_open_device(libtrace_t *libtrace, char *dev_name) { 141 146 struct stat buf;
Note: See TracChangeset
for help on using the changeset viewer.