Home
last modified time | relevance | path

Searched refs:syslog_watcher_fd (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/ulog/src/
A Dulog_session_udp.c17 static int32_t syslog_watcher_fd = -1; variable
75 if (syslog_watcher_fd != -1) { in on_tcpip_service_on()
76 close(syslog_watcher_fd); in on_tcpip_service_on()
77 syslog_watcher_fd = -1; in on_tcpip_service_on()
86 if (syslog_watcher_fd != -1) { in on_tcpip_service_on()
89 syslog_watcher_fd = socket(AF_INET, SOCK_DGRAM, 0); in on_tcpip_service_on()
90 SESSION_UDP_INFO("ulog sys log socket %d\n", syslog_watcher_fd); in on_tcpip_service_on()
110 if (tcpip_service_on && syslog_watcher_fd >= 0) { in pop_out_on_udp()
111 …ret = sendto(syslog_watcher_fd, data, len, 0, (struct sockaddr *)syslog_watcher_addr, sizeof(struc… in pop_out_on_udp()

Completed in 3 milliseconds