#define UPNP_FULFIL_SPEC 0
#define UPNP_SERVICE_STACK
#define UPNP_CGI_NAME "upnp.cgi"
#define UPNP_UUID_PART1 "56F9C1D5-5083-4ee5-A6B3-"
#define SSDP_IP 0xfaffffefU
#define SSDP_PORT 1900
#define SSDP_BUFFER_SIZE 512
#define SSDP_NOTIFY_TIMEOUT 300000U
Used in: | LocationCGIHandler() |
NOTIFY_ALIVE
static char NOTIFY_ALIVE[]
Used in: | SendNotifyAliveChunk() |
NOTIFY_BYE
static char NOTIFY_BYE[]
Used in: | SSDPTask() |
MSEARCH_RESPONSE
static char MSEARCH_RESPONSE[]
Used in: | SSDPTask() |
HTML_UPNP
static char HTML_UPNP[]
Used in: | LocationCGIHandler() |
dev
static NUTDEVICE* dev
Used in: | upnp_Init() |
nif
static IFNET* nif
Used in: | LocationCGIHandler() | |
SSDPTask() | ||
SendNotifyAliveChunk() | ||
upnp_Init() |
MyUSN
static char MyUSN[48]
Used in: | SSDPTask() | |
SendNotifyAliveChunk() |
ServerInfo
static char ServerInfo[32]
Used in: | SSDPTask() | |
SendNotifyAliveChunk() |
Prototyped in: | nut/app/httpd_upnp/upnp.c | |
Calls: | SendNotifyAlive() | nut/app/httpd_upnp/upnp.c |
NutSleep(), NutThreadYield(), NutUdpCreateSocket(), malloc() | ||
Used in: | upnp_Init() | nut/app/httpd_upnp/upnp.c |
Prototyped in: | nut/app/httpd_upnp/upnp.c | |
Calls: | GetRand() | nut/app/httpd_upnp/upnp.c |
SendNotifyAlive() | nut/app/httpd_upnp/upnp.c | |
NutSleep(), NutThreadYield(), NutUdpCreateSocket(), NutUdpReceiveFrom(), NutUdpSendTo(), inet_ntoa(), malloc(), sprintf(), strstr(), strtol() | ||
Used in: | upnp_Init() | nut/app/httpd_upnp/upnp.c |
References Variables: | MSEARCH_RESPONSE | nut/app/httpd_upnp/upnp.c |
MyUSN | nut/app/httpd_upnp/upnp.c | |
NOTIFY_BYE | nut/app/httpd_upnp/upnp.c | |
ServerInfo | nut/app/httpd_upnp/upnp.c | |
nif | nut/app/httpd_upnp/upnp.c |
Calls: | NutDeviceLookup(), NutNetIfAddMcastAddr(), NutRegisterCgi(), NutThreadCreate(), printf(), puts() | |
Called by: | NutAppMain() | nut/app/httpd_upnp/httpserv.c |
References Functions: | LocationCGIHandler() | nut/app/httpd_upnp/upnp.c |
NotifyTask() | nut/app/httpd_upnp/upnp.c | |
SSDPTask() | nut/app/httpd_upnp/upnp.c | |
References Variables: | dev | nut/app/httpd_upnp/upnp.c |
nif | nut/app/httpd_upnp/upnp.c |
Calls: | rand() | |
Called by: | SSDPTask() | nut/app/httpd_upnp/upnp.c |
SendNotifyAlive() | nut/app/httpd_upnp/upnp.c |
Calls: | NutHttpSendHeaderBottom(), NutHttpSendHeaderTop(), fprintf(), inet_ntoa() | |
Used in: | upnp_Init() | nut/app/httpd_upnp/upnp.c |
References Variables: | HTML_UPNP | nut/app/httpd_upnp/upnp.c |
HTTP_TEXT_XML | nut/app/httpd_upnp/upnp.c | |
nif | nut/app/httpd_upnp/upnp.c |
Calls: | GetRand() | nut/app/httpd_upnp/upnp.c |
SendNotifyAliveChunk() | nut/app/httpd_upnp/upnp.c | |
NutSleep() | ||
Called by: | NotifyTask() | nut/app/httpd_upnp/upnp.c |
SSDPTask() | nut/app/httpd_upnp/upnp.c |
Calls: | NutSleep(), NutUdpSendTo(), inet_ntoa(), sprintf() | |
Called by: | SendNotifyAlive() | nut/app/httpd_upnp/upnp.c |
References Variables: | MyUSN | nut/app/httpd_upnp/upnp.c |
NOTIFY_ALIVE | nut/app/httpd_upnp/upnp.c | |
ServerInfo | nut/app/httpd_upnp/upnp.c | |
nif | nut/app/httpd_upnp/upnp.c |