LIBSSDP
 All Classes Files Functions Variables Typedefs Macros
Classes | Macros | Typedefs | Functions
ssdp_common.h File Reference
#include <sys/socket.h>
#include "configuration.h"
Include dependency graph for ssdp_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ssdp_recv_node_s
 

Macros

#define SSDP_RECV_DATA_LEN   2048 /* 2KiB */
 

Typedefs

typedef struct ssdp_recv_node_s ssdp_recv_node_s
 

Functions

void print_forwarder (configuration_s *conf, struct sockaddr_storage *forwarder)
 

Detailed Description

Header file for ssdp_common.s.

Definition in file ssdp_common.h.

Macro Definition Documentation

#define SSDP_RECV_DATA_LEN   2048 /* 2KiB */

Size of the receive-buffer (the buffer we put node responses in).

Definition at line 15 of file ssdp_common.h.

Typedef Documentation

Info about the node that we received a mesage from.

Function Documentation

void print_forwarder ( configuration_s conf,
struct sockaddr_storage *  forwarder 
)

Print forwarding status (after being parsed into a network-order address).

Parameters
confThe global configuration to use.
forwarderThe address of the forward recipient.

Definition at line 14 of file ssdp_common.c.