|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <sys/time.h>#include <unistd.h>#include <pthread.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <signal.h>#include <errno.h>#include <usrsctp.h>Macros | |
| #define | timersub(tvp, uvp, vvp) |
| #define | DEFAULT_LENGTH 1024 |
| #define | DEFAULT_NUMBER_OF_MESSAGES 1024 |
| #define | DEFAULT_PORT 5001 |
| #define | BUFFERSIZE (1<<16) |
Functions | |
| void | stop_sender (int sig) |
| void | debug_printf (const char *format,...) |
| int | main (int argc, char **argv) |
Variables | |
| uint32_t | optval = 1 |
| struct socket * | psock = NULL |
| unsigned int | runtime = 0 |
| char | Usage [] |
| #define BUFFERSIZE (1<<16) |
| #define DEFAULT_LENGTH 1024 |
| #define DEFAULT_NUMBER_OF_MESSAGES 1024 |
| #define DEFAULT_PORT 5001 |
| #define timersub | ( | tvp, | |
| uvp, | |||
| vvp | |||
| ) |
| void debug_printf | ( | const char * | format, |
| ... | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| void stop_sender | ( | int | sig | ) |
| uint32_t optval = 1 |
| unsigned int runtime = 0 |
| char Usage[] |
1.8.13