EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of mDNS service structures. More...
#include "../utils/iface_mapper.h"
#include "command_mapper.h"
#include "dns_config.h"
#include "mdns_mapper.h"
#include "reflection_list.h"
Go to the source code of this file.
Data Structures | |
struct | mdns_context |
The mDNS context. More... | |
Functions | |
int | run_mdns (struct mdns_context *context) |
Runs the mDNS forwarder service. More... | |
int | run_mdns_thread (struct mdns_conf *mdns_config, char *supervisor_control_path, hmap_vlan_conn *vlan_mapper, pthread_t *id) |
Runs the mDNS forwarder service thread. More... | |
int | close_mdns (struct mdns_context *context) |
Closes mDNS service. More... | |
File containing the definition of mDNS service structures.
int close_mdns | ( | struct mdns_context * | context | ) |
Closes mDNS service.
context | The mDNS context structure |
int run_mdns | ( | struct mdns_context * | context | ) |
Runs the mDNS forwarder service.
context | The mDNS context structure. |
int run_mdns_thread | ( | struct mdns_conf * | mdns_config, |
char * | supervisor_control_path, | ||
hmap_vlan_conn * | vlan_mapper, | ||
pthread_t * | id | ||
) |
Runs the mDNS forwarder service thread.
mdns_config | The mDNS config structure |
supervisor_control_path | The UNIX domain supervisor control path |
vlan_mapper | The VLAN mapper object |
id | The returned thread id |