#include <arpa/inet.h>#include <errno.h>#include <netdb.h>#include <netinet/in.h>#include <stdlib.h>#include <string.h>#include <sys/socket.h>#include <unistd.h>#include "common_definitions.h"#include "configuration.h"#include "log.h"#include "net_definitions.h"#include "net_utils.h"#include "socket_helpers.h"#include "ssdp_cache_output_format.h"#include "ssdp_common.h"#include "ssdp_filter.h"#include "ssdp_listener.h"#include "ssdp_message.h"#include "ssdp_prober.h"#include "ssdp_static_defs.h"
Go to the source code of this file.
Macros | |
| #define | PROBE_MSG |
Functions | |
| const char * | ssdp_probe_message_create (void) |
| int | ssdp_prober_init (ssdp_prober_s *prober, configuration_s *conf) |
| void | ssdp_prober_close (ssdp_prober_s *prober) |
| int | ssdp_prober_start (ssdp_prober_s *prober, configuration_s *conf) |
Create, manage and delete a SSDP prober.
Definition in file ssdp_prober.c.
| #define PROBE_MSG |
A default SSDP probe (SEARCH) message.
Definition at line 31 of file ssdp_prober.c.
| const char* ssdp_probe_message_create | ( | void | ) |
Create a standard SSDP probe message.
Definition at line 38 of file ssdp_prober.c.
| void ssdp_prober_close | ( | ssdp_prober_s * | prober | ) |
Close the passed SSDP prober.
| listener | The SSDP prober to close. |
Definition at line 85 of file ssdp_prober.c.
| int ssdp_prober_init | ( | ssdp_prober_s * | prober, |
| configuration_s * | conf | ||
| ) |
Create a SSDP prober. It is used to probe/scan the network in order to discover the existing SSDP-capable devices on the network.
| prober | The prober to init. |
| conf | the global configuration. |
Definition at line 42 of file ssdp_prober.c.
| int ssdp_prober_start | ( | ssdp_prober_s * | prober, |
| configuration_s * | conf | ||
| ) |
Tells the SSDP prober to probe/scan for SSDP-capable nodes.
| prober | The prober to start. |
| conf | The global configuration to use. |
Definition at line 94 of file ssdp_prober.c.
1.8.8