Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/sntp/
Dsntp.c224 static u8_t sntp_opmode; variable
452 if (((sntp_opmode != SNTP_OPMODE_POLL) || ip_addr_cmp(addr, &sntp_last_server_address)) && in sntp_recv()
463 if (((sntp_opmode == SNTP_OPMODE_POLL) && (mode == SNTP_MODE_SERVER)) || in sntp_recv()
464 ((sntp_opmode == SNTP_OPMODE_LISTENONLY) && (mode == SNTP_MODE_BROADCAST))) { in sntp_recv()
514 if (sntp_opmode == SNTP_OPMODE_POLL) { in sntp_recv()
529 if (sntp_opmode == SNTP_OPMODE_POLL) { in sntp_recv()
673 if (sntp_opmode == SNTP_OPMODE_POLL) { in sntp_init()
680 } else if (sntp_opmode == SNTP_OPMODE_LISTENONLY) { in sntp_init()
730 sntp_opmode = operating_mode; in sntp_setoperatingmode()
740 return sntp_opmode; in sntp_getoperatingmode()