#include <linux/socket.h>
#include <sys/socket.h>
#include <linux/inet.h>
#include <linux/in.h>
Go to the source code of this file.
|
int | o2net_send_message (u32 msg_type, u32 key, void *data, u32 len, u8 target_node, int *status) |
|
int | o2net_send_message_vec (u32 msg_type, u32 key, struct kvec *vec, size_t veclen, u8 target_node, int *status) |
|
int | o2net_register_handler (u32 msg_type, u32 key, u32 max_len, o2net_msg_handler_func *func, void *data, o2net_post_msg_handler_func *post_func, struct list_head *unreg_list) |
|
void | o2net_unregister_handler_list (struct list_head *list) |
|
void | o2net_fill_node_map (unsigned long *map, unsigned bytes) |
|
int | o2net_register_hb_callbacks (void) |
|
void | o2net_unregister_hb_callbacks (void) |
|
int | o2net_start_listening (struct o2nm_node *node) |
|
void | o2net_stop_listening (struct o2nm_node *node) |
|
void | o2net_disconnect_node (struct o2nm_node *node) |
|
int | o2net_num_connected_peers (void) |
|
int | o2net_init (void) |
|
void | o2net_exit (void) |
|
#define O2NET_IDLE_TIMEOUT_MS_DEFAULT 30000 |
Definition at line 64 of file tcp.h.
#define O2NET_KEEPALIVE_DELAY_MS_DEFAULT 2000 |
Definition at line 63 of file tcp.h.
Definition at line 58 of file tcp.h.
#define O2NET_RECONNECT_DELAY_MS_DEFAULT 2000 |
Definition at line 61 of file tcp.h.
Definition at line 53 of file tcp.h.
Definition at line 55 of file tcp.h.
- Enumerator:
O2NET_DRIVER_UNINITED |
|
O2NET_DRIVER_READY |
|
Definition at line 93 of file tcp.h.
void o2net_fill_node_map |
( |
unsigned long * |
map, |
|
|
unsigned |
bytes |
|
) |
| |
int o2net_num_connected_peers |
( |
void |
| ) |
|
int o2net_register_hb_callbacks |
( |
void |
| ) |
|
void o2net_unregister_hb_callbacks |
( |
void |
| ) |
|