mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-20 21:53:12 +00:00
overlay_mdp_bind and overlay_mdp_getmyaddr should be visible in MDP API
This commit is contained in:
parent
2c6a14dd56
commit
4f89a69365
@ -37,8 +37,10 @@ extern int mdp_client_socket;
|
||||
int overlay_mdp_client_init();
|
||||
int overlay_mdp_client_done();
|
||||
int overlay_mdp_client_poll(time_ms_t timeout_ms);
|
||||
int overlay_mdp_getmyaddr(unsigned index, sid_t *sid);
|
||||
int overlay_mdp_bind(const sid_t *localaddr, int port) ;
|
||||
int overlay_mdp_recv(overlay_mdp_frame *mdp, int port, int *ttl);
|
||||
int overlay_mdp_send(overlay_mdp_frame *mdp,int flags,int timeout_ms);
|
||||
int overlay_mdp_relevant_bytes(overlay_mdp_frame *mdp);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
3
serval.h
3
serval.h
@ -668,9 +668,6 @@ int vomp_received_audio(struct vomp_call_state *call, int audio_codec, int time,
|
||||
const unsigned char *audio, int audio_length);
|
||||
void monitor_get_all_supported_codecs(unsigned char *codecs);
|
||||
|
||||
int overlay_mdp_getmyaddr(unsigned index, sid_t *sid);
|
||||
int overlay_mdp_bind(const sid_t *localaddr, int port) ;
|
||||
|
||||
int overlay_route_node_info(overlay_mdp_nodeinfo *node_info);
|
||||
int overlay_interface_register(char *name,
|
||||
struct in_addr addr,
|
||||
|
Loading…
Reference in New Issue
Block a user