Go to the source code of this file.
|
void | user_signal_handler (int sig) |
|
static void | print_memif_details () |
|
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) |
|
void * | memif_rx_poll (void *ptr) |
|
void * | memif_rx_interrupt (void *ptr) |
|
int | on_connect (memif_conn_handle_t conn, void *private_ctx) |
|
int | on_disconnect (memif_conn_handle_t conn, void *private_ctx) |
|
int | control_fd_update (int fd, uint8_t events, void *ctx) |
|
int | icmpr_memif_create (long index) |
|
int | icmpr_memif_delete (long index) |
|
void | print_help () |
|
int | icmpr_free () |
|
int | icmpr_set_ip (long index, char *ip) |
|
int | user_input_handler () |
|
int | poll_event (int timeout) |
|
int | main () |
|
#define APP_NAME "ICMP_Responder" |
#define IF_NAME "memif_connection" |
Value:do { \
printf ("INFO: "__VA_ARGS__); \
printf ("\n"); \
} while (0)
Definition at line 65 of file main.c.
#define MAX_MEMIF_BUFS 256 |
int add_epoll_fd |
( |
int |
epfd, |
|
|
int |
fd, |
|
|
uint32_t |
events |
|
) |
| |
int control_fd_update |
( |
int |
fd, |
|
|
uint8_t |
events, |
|
|
void * |
ctx |
|
) |
| |
int del_epoll_fd |
( |
int |
epfd, |
|
|
int |
fd |
|
) |
| |
int icmpr_memif_create |
( |
long |
index | ) |
|
int icmpr_memif_delete |
( |
long |
index | ) |
|
int icmpr_set_ip |
( |
long |
index, |
|
|
char * |
ip |
|
) |
| |
void* memif_rx_interrupt |
( |
void * |
ptr | ) |
|
void* memif_rx_poll |
( |
void * |
ptr | ) |
|
int mod_epoll_fd |
( |
int |
epfd, |
|
|
int |
fd, |
|
|
uint32_t |
events |
|
) |
| |
int poll_event |
( |
int |
timeout | ) |
|
static void print_memif_details |
( |
| ) |
|
|
static |
int user_input_handler |
( |
| ) |
|
void user_signal_handler |
( |
int |
sig | ) |
|