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

/freebsd-10.3-release/contrib/ntp/ntpd/
H A Drefclock_jjy.c216 short iModemEvent ; member in struct:jjyunit
3649 /* struct jjyunit.iModemEvent */
3759 #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 ) ; } }
3809 up->iModemEvent = MODEM_EVENT_INITIALIZE ;
3828 up->iModemEvent = MODEM_EVENT_DISCONNECT ;
3864 if ( iLen == 2 && strncmp( pBuf, "OK" , 2 ) == 0 ) { up->iModemEvent = MODEM_EVENT_RESP_OK ; }
3865 else if ( iLen == 7 && strncmp( pBuf, "CONNECT" , 7 ) == 0 ) { up->iModemEvent = MODEM_EVENT_RESP_CONNECT ; }
3866 else if ( iLen == 4 && strncmp( pBuf, "RING" , 4 ) == 0 ) { up->iModemEvent = MODEM_EVENT_RESP_RING ; }
3867 else if ( iLen == 10 && strncmp( pBuf, "NO CARRIER" , 10 ) == 0 ) { up->iModemEvent
[all...]

Completed in 122 milliseconds