|
IBR-DTNSuite 0.6
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <ibrdtn/api/dtn_api.h>
Go to the source code of this file.
Functions | |
| void | print_usage (char *me) |
| void | bundle_received (const void *data, uint32_t len) |
| int | main (int argc, char *argv[]) |
Variables | |
| DTN_EP | dep = -1 |
| int16_t | waitfor = 0 |
| void bundle_received | ( | const void * | data, |
| uint32_t | len | ||
| ) |
Definition at line 24 of file dtnping_async.c.
References dep, dtn_close_endpoint(), and waitfor.
Referenced by main().

| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main entry
Definition at line 40 of file dtnping_async.c.
References bundle_received(), dep, dtn_register_endpoint(), dtn_send_bundle(), print_usage(), and waitfor.

| void print_usage | ( | char * | me | ) |
DTN endpoint descriptor
Definition at line 11 of file dtnping_async.c.
Referenced by bundle_received(), and main().
| int16_t waitfor = 0 |
Still wait for some byts
Definition at line 14 of file dtnping_async.c.
Referenced by bundle_received(), and main().