10 #ifndef _PROTOCOL_PARSERS_SSDP_
11 #define _PROTOCOL_PARSERS_SSDP_
17 #include <arpa/inet.h>
20 #define SSDP_METHOD_MAX_LEN 8
21 #define SSDP_MULTICAST_ADDR "239.255.255.250"
Utilitaries for payload manipulation and display.
ssdp_message_t ssdp_parse_message(uint8_t *data, uint32_t dst_addr)
Parse the method and URI of SSDP message.
Definition: ssdp.c:52
char * ssdp_method_to_str(ssdp_method_t method)
Converts a SSDP method from enum value to character string.
Definition: ssdp.c:69
void ssdp_print_message(ssdp_message_t message)
Print the method and URI of a SSDP message.
Definition: ssdp.c:87
struct ssdp_message ssdp_message_t
ssdp_method_t
Definition: ssdp.h:26