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

static void hexdump ( void *  p,
s32  len,
s8  delim 
) [static]

Dump hex data.

pA pointer to data buffer
lenThe len of data buffer
delimDeliminator character
Hex integer

Definition at line 84 of file uapevent.c.

Referenced by main(), print_event(), print_event_debug(), print_event_sta_assoc(), print_mgmt_frame(), and read_event_netlink_socket().

    s32 i;
    u8 *s = p;
    for (i = 0; i < len; i++) {
        if (i != len - 1)
            printf("%02x%c", *s++, delim);
            printf("%02x\n", *s);
        if ((i + 1) % 16 == 0)

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index