Changeset a21af3d
- Timestamp:
- 10/09/06 10:54:50 (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:
- 30d4bd3
- Parents:
- e0184a5
- Location:
- lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_rt.c
ra7d1914 ra21af3d 651 651 } 652 652 else { 653 //printf("packet error\n");654 653 event.type = TRACE_EVENT_PACKET; 655 654 } -
lib/pcap_dump_flush.c
re5c2bc4 ra21af3d 6 6 #ifdef HAVE_PCAP_INT_H 7 7 # include <pcap-int.h> 8 #else9 //# error "Need pcap-int.h for declaration of pcap_t"10 8 #endif 11 9 #include <string.h> -
lib/pcap_next_ex.c
re5c2bc4 ra21af3d 6 6 #ifdef HAVE_PCAP_INT_H 7 7 # include <pcap-int.h> 8 #else9 //# error "Need pcap-int.h for declaration of pcap_t"10 8 #endif 11 9 #include <string.h> … … 54 52 return 0; 55 53 56 //*pkt_header = pcap_data.header;57 //*pkt_data = pcap_data.payload;58 59 60 54 return 1; 61 55 } -
lib/pcap_open_dead.c
r916bba7 ra21af3d 18 18 if (p == NULL) 19 19 return NULL; 20 // memset (p, 0, sizeof(*p));21 20 p->snapshot = snaplen; 22 21 p->linktype = linktype; -
lib/protocols.c
r52c7cda ra21af3d 126 126 127 127 /* What kind of wacked out header, has this in host order?! */ 128 //if (type) *type = htons(sll->protocol);129 130 128 if (type) *type = ntohs(sll->hatype); 131 129 -
lib/trace.c
ra605bbe ra21af3d 717 717 } 718 718 719 /*720 typedef struct legacy_framing {721 uint64_t ts;722 uint32_t crc;723 uint32_t header;724 uint32_t data[12]; // pad to 64 bytes725 } legacy_framing_t;726 */727 728 729 719 /* Get the current time in DAG time format 730 720 * @param packet a pointer to a libtrace_packet structure
Note: See TracChangeset
for help on using the changeset viewer.