Applications that use the Endace API's and tools ================================================ Overview -------- Here are shown different examples. The following applications are simple and not intended for a production systems. Some of the examples can be used with or without their own Make files. Status ------ Details ------- 1. simpleopen.c Demonstrates a simple open and close of the dag card device. It is Operation System independent. Compile instructions for gcc not using makefile: gcc simpleopen.c -ldag -o simpleopen 2. open_setup_card1.c Demonstrates a Configuation and Status API initialization, and switching between the Firmware images. Compile instructions: gcc open_setup_card1.c -ldagconf -ldag -o open_setup_card1 3. example_cs_api_get_autoneg_speed.c Demonstrates Configuation and Status API usage - For getting the auto-negotiated line rate Compile instructions: gcc example_cs_api_get_autoneg_speed.c -ldagconf -ldag -o line_rate_example 4. simple_capture_example.c Demostrates a simple program for capture. Compile instructions: gcc simple_capture_example.c -o simple_capture -ldag 5. simple_transmit_example.c Demonstrates a simple program for transmit using dag_tx_stream_copy_bytes. Compile instructions: gcc simple_transmit_example.c -o simple_transmit -ldag 6. receive_transmit_example.c Demonstrates a program for capture and transmit using dag_rx_stream_next_record and dag_tx_stream_copy_bytes. Compile instructions: gcc receive_transmit_example.c -o test_rxtx -ldag Disclaimer ---------- Endace has made best effort to check the above examples. The examples are not for use on production systems. They are meant as a starting point from which to develop your own applications. .