|
Monero
|
#include "config.h"#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <net/if.h>#include <net/route.h>#include <syslog.h>#include <inttypes.h>#include "openssdpsocket.h"#include "upnputils.h"#include "minissdpdtypes.h"
Macros | |
| #define | SALIGN (sizeof(int32_t) - 1) |
| #define | SA_RLEN(sa) (SA_LEN(sa) ? ((SA_LEN(sa) + SALIGN) & ~SALIGN) : (SALIGN + 1)) |
Functions | |
| int | OpenAndConfInterfaceWatchSocket (void) |
| int | ProcessInterfaceWatch (int s, int s_ssdp, int s_ssdp6) |
Variables | |
| struct lan_addr_list | lan_addrs |
| #define SALIGN (sizeof(int32_t) - 1) |
| int OpenAndConfInterfaceWatchSocket | ( | void | ) |
| int ProcessInterfaceWatch | ( | int | s, |
| int | s_ssdp, | ||
| int | s_ssdp6 | ||
| ) |
Process the message and add/drop multicast membership if needed
| struct lan_addr_list lan_addrs |
1.8.14