EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the implementation of the mdns mapper utils. More...
Functions | |
int | put_mdns_info (hmap_mdns_conn **imap, uint8_t *ip, struct mdns_list_info *info) |
int | put_mdns_query_mapper (hmap_mdns_conn **imap, uint8_t *ip, struct mdns_query_entry *query) |
Inserts an mDNS query structure into the mdns mapper connection object. More... | |
int | put_mdns_answer_mapper (hmap_mdns_conn **imap, uint8_t *ip, struct mdns_answer_entry *answer) |
Inserts an mDNS answer structure into the mdns mapper connection object. More... | |
void | free_mdns_mapper (hmap_mdns_conn **imap) |
Frees the mDNS mapper connection object. More... | |
int | check_mdns_mapper_req (hmap_mdns_conn **imap, uint8_t *ip, enum MDNS_REQUEST_TYPE request) |
Checks if mDNS mapper has an element with a given request type. More... | |
File containing the implementation of the mdns mapper utils.
int check_mdns_mapper_req | ( | hmap_mdns_conn ** | imap, |
uint8_t * | ip, | ||
enum MDNS_REQUEST_TYPE | request | ||
) |
Checks if mDNS mapper has an element with a given request type.
imap | mDNS mapper object |
ip | The IP |
request | The request type |
void free_mdns_mapper | ( | hmap_mdns_conn ** | imap | ) |
Frees the mDNS mapper connection object.
imap | mDNS mapper connection object |
int put_mdns_answer_mapper | ( | hmap_mdns_conn ** | imap, |
uint8_t * | ip, | ||
struct mdns_answer_entry * | query | ||
) |
Inserts an mDNS answer structure into the mdns mapper connection object.
imap | mDNS mapper object |
ip | The IP |
query | mDNS answer structure |
int put_mdns_info | ( | hmap_mdns_conn ** | imap, |
uint8_t * | ip, | ||
struct mdns_list_info * | info | ||
) |
int put_mdns_query_mapper | ( | hmap_mdns_conn ** | imap, |
uint8_t * | ip, | ||
struct mdns_query_entry * | query | ||
) |
Inserts an mDNS query structure into the mdns mapper connection object.
imap | mDNS mapper object |
ip | The IP |
query | mDNS query structure |