LIBSSDP
 All Classes Files Functions Variables Typedefs Macros
ssdp_common.h
Go to the documentation of this file.
1 
7 #ifndef __SSDP_COMMON_H__
8 #define __SSDP_COMMON_H__
9 
10 #include <sys/socket.h>
11 
12 #include "configuration.h"
13 
15 #define SSDP_RECV_DATA_LEN 2048 /* 2KiB */
16 
18 typedef struct ssdp_recv_node_s {
28 
36  struct sockaddr_storage *forwarder);
37 
38 #endif /* __SSDP_COMMON_H__ */
#define IPv6_STR_MAX_SIZE
char from_ip[IPv6_STR_MAX_SIZE]
Definition: ssdp_common.h:20
char from_mac[MAC_STR_MAX_SIZE]
Definition: ssdp_common.h:22
char recv_data[SSDP_RECV_DATA_LEN]
Definition: ssdp_common.h:26
static configuration_s conf
Definition: main.c:73
void print_forwarder(configuration_s *conf, struct sockaddr_storage *forwarder)
Definition: ssdp_common.c:14
#define MAC_STR_MAX_SIZE
struct ssdp_recv_node_s ssdp_recv_node_s
#define SSDP_RECV_DATA_LEN
Definition: ssdp_common.h:15