'Parse ping output and return all data.'

@staticmethod
def _parsePingFull(pingOutput):

    errorTuple = (1, 0, 0, 0, 0, 0)
    r = '[uU]nreachable'
    m = re.search(r, pingOutput)
    if (m is not None):
        return errorTuple
    r = '(\\d+)    packets    transmitted,    (\\d+)(    packets)?    received'
    m = re.search(r, pingOutput)
    if (m is None):
        error(('***    Error:    could    not    parse    ping    output:    %s\n' % pingOutput))
        return errorTuple
    (sent, received) = (int(m.group(1)), int(m.group(2)))
    r = 'rtt    min/avg/max/mdev    =    '
    r += '(\\d+\\.\\d+)/(\\d+\\.\\d+)/(\\d+\\.\\d+)/(\\d+\\.\\d+)    ms'
    m = re.search(r, pingOutput)
    if (m is None):
        if (received == 0):
            return errorTuple
        error(('***    Error:    could    not    parse    ping    output:    %s\n' % pingOutput))
        return errorTuple
    rttmin = float(m.group(1))
    rttavg = float(m.group(2))
    rttmax = float(m.group(3))
    rttdev = float(m.group(4))
    return (sent, received, rttmin, rttavg, rttmax, rttdev)
