#include "lib/bitmap.h"
#include "lib/types.h"
#include <stdio.h>
Go to the source code of this file.
◆ __MOTR_NET_BULK_MEM_PING_H__
#define __MOTR_NET_BULK_MEM_PING_H__ |
◆ PING_ERR
#define PING_ERR |
( |
|
fmt, |
|
|
|
... |
|
) |
| fprintf(stderr, fmt , ## __VA_ARGS__) |
◆ anonymous enum
Enumerator |
---|
PING_PORT1 | |
PING_PORT2 | |
PART3_SERVER_ID | |
Definition at line 69 of file ping.h.
◆ ping_client_fini()
◆ ping_client_init()
◆ ping_client_msg_send_recv()
Test an RPC-like exchange, sending data in a message to the server and getting back a response.
- Parameters
-
ctx | client context |
server_ep | endpoint of the server |
data | data to send, or NULL to send a default "ping" |
- Return values
-
0 | successful test |
-errno | failed to send to server |
Definition at line 1007 of file ping.c.
◆ ping_client_passive_recv()
◆ ping_client_passive_send()
◆ ping_server()
void ping_server |
( |
struct ping_ctx * |
ctx | ) |
|
◆ ping_server_should_stop()
void ping_server_should_stop |
( |
struct ping_ctx * |
ctx | ) |
|