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

void print_mac ( u8 raw )

Prints a MAC address in colon separated form from raw data.

Parameters:
rawA pointer to the hex data buffer
Returns:
N/A

Definition at line 105 of file uapevent.c.

Referenced by print_event_bss_start(), print_event_debug(), print_event_sta_assoc(), print_event_sta_deauth(), and print_mgmt_frame().

{
    printf("%02x:%02x:%02x:%02x:%02x:%02x", (unsigned int) raw[0],
           (unsigned int) raw[1], (unsigned int) raw[2], (unsigned int) raw[3],
           (unsigned int) raw[4], (unsigned int) raw[5]);
    return;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index