Searched refs:iModemEvent (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_jjy.c227 short iModemEvent ; member in struct:jjyunit
3693 /* struct jjyunit.iModemEvent */
3803 #define DEBUG_MODEM_PRINTF(sFunc) { if ( debug ) { printf ( "refclock_jjy.c : %s : iModemState=%d iModemEvent=%d iModemSilentTimer=%d iModemStateTimer=%d\n", sFunc, up->iModemState, up->iModemEvent, up->iModemSilentTimer, up->iModemStateTimer ) ; } }
3853 up->iModemEvent = MODEM_EVENT_INITIALIZE ;
3872 up->iModemEvent = MODEM_EVENT_DISCONNECT ;
3908 if ( iLen == 2 && strncmp( pBuf, "OK" , 2 ) == 0 ) { up->iModemEvent = MODEM_EVENT_RESP_OK ; }
3909 else if ( iLen == 7 && strncmp( pBuf, "CONNECT" , 7 ) == 0 ) { up->iModemEvent = MODEM_EVENT_RESP_CONNECT ; }
3910 else if ( iLen == 4 && strncmp( pBuf, "RING" , 4 ) == 0 ) { up->iModemEvent = MODEM_EVENT_RESP_RING ; }
3911 else if ( iLen == 10 && strncmp( pBuf, "NO CARRIER" , 10 ) == 0 ) { up->iModemEvent
[all...]

Completed in 178 milliseconds