• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/

Lines Matching refs:runtime_vars

572 	runtime_vars.port = 8200;
573 runtime_vars.notify_interval = 895; /* seconds between SSDP announces */
574 runtime_vars.max_connections = 50;
575 runtime_vars.root_container = NULL;
576 runtime_vars.ifaces[0] = NULL;
602 runtime_vars.ifaces[ifaces++] = word;
606 runtime_vars.port = atoi(ary_options[i].value);
612 runtime_vars.notify_interval = atoi(ary_options[i].value);
730 runtime_vars.root_container = NULL;
734 runtime_vars.root_container = BROWSEDIR_ID;
738 runtime_vars.root_container = MUSIC_ID;
742 runtime_vars.root_container = VIDEO_ID;
746 runtime_vars.root_container = IMAGE_ID;
749 runtime_vars.root_container = ary_options[i].value;
777 runtime_vars.max_connections = atoi(ary_options[i].value);
807 runtime_vars.port = -1;
814 runtime_vars.notify_interval = atoi(argv[++i]);
832 runtime_vars.port = atoi(argv[++i]);
871 runtime_vars.ifaces[ifaces++] = argv[i];
880 runtime_vars.port = -1; // triggers help display
932 runtime_vars.port = -1; // triggers help display
936 if (runtime_vars.port <= 0)
1045 children = calloc(runtime_vars.max_connections, sizeof(struct child));
1237 if (SubmitServicesToMiniSSDPD(lan_addr[0].str, runtime_vars.port) < 0)
1241 shttpl = OpenAndConfHTTPSocket(runtime_vars.port);
1244 DPRINTF(E_WARN, L_GENERAL, "HTTP listening on port %d\n", runtime_vars.port);
1267 lastnotifytime.tv_sec = time(NULL) + runtime_vars.notify_interval;
1281 timeout.tv_sec = runtime_vars.notify_interval;
1292 if (timeofday.tv_sec >= (lastnotifytime.tv_sec + runtime_vars.notify_interval))
1302 runtime_vars.port, runtime_vars.notify_interval);
1305 runtime_vars.port, NOTIFY_INTERVAL);
1310 timeout.tv_sec = runtime_vars.notify_interval;
1319 timeout.tv_sec = lastnotifytime.tv_sec + runtime_vars.notify_interval
1419 ProcessSSDPRequest(sssdp, (unsigned short)runtime_vars.port);