Go to the source code of this file.
|
int | add_epoll_fd (int epfd, int fd, uint32_t events) |
|
int | mod_epoll_fd (int epfd, int fd, uint32_t events) |
|
int | del_epoll_fd (int epfd, int fd) |
|
static int | control_fd_update (int fd, uint8_t events, void *private_ctx) |
|
static int | on_connect (memif_conn_handle_t conn, void *private_ctx) |
|
static int | on_disconnect (memif_conn_handle_t conn, void *private_ctx) |
|
static int | on_interrupt (memif_conn_handle_t conn, void *private_ctx, uint16_t qid) |
|
int | poll_event (memif_per_thread_main_handle_t pt_main, int pcfd, int epfd, int timeout) |
|
static void * | icmpr_thread_fn (void *data) |
|
static void | icmpr_print_help () |
|
static void | icmpr_show_memifs () |
|
int | main (int argc, char **argv) |
|
◆ APP_NAME
#define APP_NAME "ICMP_Responder_mt_v3.1" |
◆ DBG
◆ ICMPR_BUFFER_LENGTH
#define ICMPR_BUFFER_LENGTH 32 |
◆ ICMPR_MEMIF_BUFFER_NUM
#define ICMPR_MEMIF_BUFFER_NUM 256 |
◆ ICMPR_SOCKET_FILENAME_LEN
#define ICMPR_SOCKET_FILENAME_LEN 256 |
◆ IF_NAME
#define IF_NAME "memif_connection" |
◆ add_epoll_fd()
int add_epoll_fd |
( |
int |
epfd, |
|
|
int |
fd, |
|
|
uint32_t |
events |
|
) |
| |
◆ control_fd_update()
static int control_fd_update |
( |
int |
fd, |
|
|
uint8_t |
events, |
|
|
void * |
private_ctx |
|
) |
| |
|
static |
◆ del_epoll_fd()
int del_epoll_fd |
( |
int |
epfd, |
|
|
int |
fd |
|
) |
| |
◆ icmpr_print_help()
static void icmpr_print_help |
( |
| ) |
|
|
static |
◆ icmpr_show_memifs()
static void icmpr_show_memifs |
( |
| ) |
|
|
static |
◆ icmpr_thread_fn()
static void* icmpr_thread_fn |
( |
void * |
data | ) |
|
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ mod_epoll_fd()
int mod_epoll_fd |
( |
int |
epfd, |
|
|
int |
fd, |
|
|
uint32_t |
events |
|
) |
| |
◆ on_connect()
◆ on_disconnect()
◆ on_interrupt()
◆ poll_event()
◆ icmpr_main
◆ options
Initial value:= {
{"threads", required_argument, 0, 't'},
{"if_num", required_argument, 0, 'i'}
}
Definition at line 52 of file main.c.