def unshift_flags(tcp_flags):
    """
    De-shift the TCP flags to a string repr
    """
    return (tcp_flags & 1, tcp_flags >> 1 & 1, tcp_flags >> 2 & 1, 
        tcp_flags >> 3 & 1, tcp_flags >> 4 & 1, tcp_flags >> 5 & 1)
