Logo Search packages:      
Sourcecode: uapevent version File versions  Download package

void print_eapol_state ( u8  state )

Prints EAPOL state.

Parameters:
stateeapol state
Returns:
N/A

Definition at line 472 of file uapevent.c.

References EAPOL_END, EAPOL_START, EAPOL_WAIT_GTK2, EAPOL_WAIT_PWK2, and EAPOL_WAIT_PWK4.

Referenced by print_event_debug().

{
    switch (state) {
    case EAPOL_START:
        printf("Eapol state: EAPOL_START\n");
        break;
    case EAPOL_WAIT_PWK2:
        printf("Eapol state: EAPOL_WAIT_PWK2\n");
        break;
    case EAPOL_WAIT_PWK4:
        printf("Eapol state: EAPOL_WAIT_PWK4\n");
        break;
    case EAPOL_WAIT_GTK2:
        printf("Eapol state: EAPOL_WAIT_GTK2\n");
        break;
    case EAPOL_END:
        printf("Eapol state: EAPOL_END\n");
        break;
    default:
        printf("ERR: unknow eapol state%d\n", state);
        break;
    }
    return;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index