- Timestamp:
- 08/03/05 14:35:23 (17 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:
- 40ba6ad
- Parents:
- 283acce
- Location:
- lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format.h
r91ebc50 rdd22d84 216 216 int (*get_wire_length)(const struct libtrace_packet_t *packet); 217 217 size_t (*truncate_packet)(const struct libtrace_packet_t *packet,size_t size); 218 void (*help)(); 218 219 }; 219 220 -
lib/format_erf.c
r91ebc50 rdd22d84 646 646 } 647 647 648 static void dag_help() { 649 650 } 651 652 static void erf_help() { 653 654 } 655 656 static void rtclient_help() { 657 658 } 659 660 648 661 static struct format_t erf = { 649 662 "erf", … … 666 679 erf_get_capture_length, /* get_capture_length */ 667 680 erf_get_wire_length, /* get_wire_length */ 668 erf_set_capture_length /* set_capture_length */ 681 erf_set_capture_length, /* set_capture_length */ 682 erf_help /* help */ 669 683 }; 670 684 … … 689 703 erf_get_capture_length, /* get_capture_length */ 690 704 erf_get_wire_length, /* get_wire_length */ 691 erf_set_capture_length /* set_capture_length */ 705 erf_set_capture_length, /* set_capture_length */ 706 dag_help /* help */ 692 707 }; 693 708 … … 712 727 erf_get_capture_length, /* get_capture_length */ 713 728 erf_get_wire_length, /* get_wire_length */ 714 erf_set_capture_length /* set_capture_length */ 729 erf_set_capture_length, /* set_capture_length */ 730 rtclient_help /* help */ 715 731 }; 716 732 -
lib/format_pcap.c
r91ebc50 rdd22d84 257 257 } 258 258 259 static void pcap_help() { 260 } 261 static void pcapint_help() { 262 } 259 263 static struct format_t pcap = { 260 264 "pcap", … … 277 281 pcap_get_capture_length, /* get_capture_length */ 278 282 pcap_get_wire_length, /* get_wire_length */ 279 pcap_set_capture_length /* set_capture_length */ 283 pcap_set_capture_length, /* set_capture_length */ 284 pcap_help /* help */ 280 285 }; 281 286 … … 300 305 pcap_get_capture_length, /* get_capture_length */ 301 306 pcap_get_wire_length, /* get_wire_length */ 302 pcap_set_capture_length /* set_capture_length */ 307 pcap_set_capture_length, /* set_capture_length */ 308 pcapint_help /* help */ 303 309 }; 304 310 -
lib/format_template.c
r91ebc50 rdd22d84 105 105 } 106 106 107 static void template_help() { 108 return; 109 } 107 110 static struct format_t template = { 108 111 "template", … … 125 128 template_get_capture_length, /* get_capture_length */ 126 129 template_get_wire_length, /* get_wire_length */ 127 template_set_capture_length /* set_capture_length */ 130 template_set_capture_length, /* set_capture_length */ 131 template_help /* help */ 128 132 }; 129 133 -
lib/format_wag.c
r91ebc50 rdd22d84 265 265 return (wagptr->hdr.size); 266 266 //return ntohs(wagptr->hdr.size); 267 } 268 269 static int wag_help() { 270 267 271 } 268 272 … … 287 291 wag_get_capture_length, /* get_capture_length */ 288 292 wag_get_wire_length, /* get_wire_length */ 289 NULL /* set_capture_length */ 293 NULL, /* set_capture_length */ 294 wag_help /* help */ 290 295 }; 291 296
Note: See TracChangeset
for help on using the changeset viewer.